From a3e4d29930fe0f906bb4845aa55032beae158159 Mon Sep 17 00:00:00 2001 From: Pascal Wilbrink Date: Mon, 12 Feb 2024 15:32:36 +0100 Subject: [PATCH] Feat: Update CSS --- _config.yml | 6 +- _includes/head.html | 1 - _layouts/guide.html | 9 +- _plugins/reading_time_filter.rb | 55 ++++++ assets/css/_syntax.scss | 261 +++++++++++++++++++++++++++ assets/css/components.css | 4 +- assets/css/components/card.css | 46 +++++ assets/css/components/toc.css | 34 ++++ assets/css/github-markdown.css | 2 +- assets/css/layout.css | 17 ++ assets/css/main.css | 9 +- assets/css/pages.css | 3 + assets/css/syntax.css | 70 +++++++ assets/sass/_syntax.scss | 261 +++++++++++++++++++++++++++ collections/_guides/create_plugin.md | 232 ++++++++++++++++++++++++ docker-compose.yml | 2 +- index.html | 4 +- pages/glossary.md | 1 + pages/guides.md | 26 +-- 19 files changed, 1017 insertions(+), 26 deletions(-) create mode 100644 _plugins/reading_time_filter.rb create mode 100644 assets/css/_syntax.scss create mode 100644 assets/css/components/card.css create mode 100644 assets/css/components/toc.css create mode 100644 assets/css/syntax.css create mode 100644 assets/sass/_syntax.scss create mode 100644 collections/_guides/create_plugin.md diff --git a/_config.yml b/_config.yml index 78764c5..bc1cd35 100644 --- a/_config.yml +++ b/_config.yml @@ -11,8 +11,8 @@ description: > # this means to ignore newlines until "baseurl:" Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description. -baseurl: "/Documentation" # the subpath of your site, e.g. /blog -url: "https://openscd.github.io" # the base hostname & protocol for your site +#baseurl: "/Documentation" # the subpath of your site, e.g. /blog +#url: "https://openscd.github.io" # the base hostname & protocol for your site collections_dir: collections # Markdown settings @@ -27,7 +27,7 @@ toc: ordered_list: false no_toc_section_class: no_toc_section list_id: toc - list_class: section-nav + list_class: nav--toc sublist_class: '' item_class: toc-entry item_prefix: toc- diff --git a/_includes/head.html b/_includes/head.html index 0b7f0cb..ed5cfc6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,7 +2,6 @@ - {% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %} diff --git a/_layouts/guide.html b/_layouts/guide.html index 233f935..f8393a9 100644 --- a/_layouts/guide.html +++ b/_layouts/guide.html @@ -20,18 +20,21 @@ {% include header.html %} -
+