From dd4e0586b3344ba2a7455fbdf88f3c5edbb6ca7a Mon Sep 17 00:00:00 2001 From: Aluerie Date: Sun, 7 May 2023 02:56:46 +0300 Subject: [PATCH] GitHub Pages Style --- _config.yml | 4 ++++ _layouts/default.html | 50 +++++++++++++++++++++++++++++++++++++++++++ assets/css/style.scss | 9 ++++++++ 3 files changed, 63 insertions(+) create mode 100644 _config.yml create mode 100644 _layouts/default.html create mode 100644 assets/css/style.scss diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..e8d2923 --- /dev/null +++ b/_config.yml @@ -0,0 +1,4 @@ +remote_theme: godalming123/cayman@patch-1 +future: true +plugins: +- jekyll-remote-theme \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..d9506d9 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,50 @@ +{% case site.color-scheme %} + {% when "", nil, false, 0, empty %} + {% assign ColorScheme = "auto" %} + {% else %} + {% assign ColorScheme = site.color-scheme %} +{% endcase %} + + + + + + +{% seo %} + + + + + + + + {% include head-custom.html %} + + + + Skip to the content. + + + +
+ {{ content }} + + +
+ + diff --git a/assets/css/style.scss b/assets/css/style.scss new file mode 100644 index 0000000..ecf1408 --- /dev/null +++ b/assets/css/style.scss @@ -0,0 +1,9 @@ +--- +--- + +.main-content { + min-width: 96rem; + max-width: 96rem; +} + +@import "{{ site.theme }}"; \ No newline at end of file