From 9c7c5c89b9cceb0b0a99bb3548d4cac700a1d9a4 Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Thu, 17 Oct 2024 08:42:28 +0200 Subject: [PATCH] Customise html layout --- _layouts/default.html | 56 +++++++++++++++++++++++++++++++++++++++++++ assets/css/style.scss | 25 +++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 _layouts/default.html diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..5a8efba --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,56 @@ + + + + + + + + + +{% seo %} + {% include head-custom.html %} + + + + + +
+ +
+ {% if site.github.is_project_page %} + + Edit this page + {% endif %} + + +

{{ site.title | default: site.github.repository_name }}

+
+

{{ site.description | default: site.github.project_tagline }}

+ + {% if site.show_downloads %} +
+ Download this project as a .zip file + Download this project as a tar.gz file +
+ {% endif %} +
+
+ + +
+
+ {{ content }} +
+
+ + + + + diff --git a/assets/css/style.scss b/assets/css/style.scss index 8d0172e..ccc7dd1 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -9,3 +9,28 @@ padding: 20px 10px; margin: 0 auto; } + +#header_wrap .inner { + padding: 20px 10px 30px 10px; +} + +#editthispage { + float: right; +} + +.eduxchange_header { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; + background-color: #004c97; +} +.eduxchange_header_link { + flex-grow: 1; + font-size: 1.625rem; + line-height: 2.25rem; + text-decoration: none; + font-family: var(--nunito), sans-serif; + color: #fff; + padding: .375rem .75rem; +}