From 30f4597ffbcff1854a169944f3d7721552833de7 Mon Sep 17 00:00:00 2001 From: James Brundage <+@noreply.github.com> Date: Sun, 27 Oct 2024 13:18:00 -0700 Subject: [PATCH] feat: Updating 4bitcss default layout ( Fixes #104, Fixes #106, Fixes #71, Fixes #90 ) Including htmx, highlight.js. Using includes for icons. Fixing media queries. Removing Pipescript source, as it has become vestigial. --- docs/_layouts/default.html | 51 +++++----- docs/_layouts/default.ps.html | 171 ---------------------------------- 2 files changed, 29 insertions(+), 193 deletions(-) delete mode 100644 docs/_layouts/default.ps.html diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 6db8007fa..67e3a0874 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -12,6 +12,21 @@ gtag('js', new Date()); gtag('config', '{{site.analyticsID}}'); + + + + + + + + + + + + + + + {% endif %} @@ -111,6 +126,10 @@ } } + body > * { margin: 1em; } + @media (max-width: 960px) { + body > * { margin: .5em; } + } body { width: 100%; @@ -141,31 +160,19 @@
-
-
- - - - - - - - 4bit - - - - - css - -
- + + {% include github-icon.svg %} + +
+ + {% include 4bitcss.svg %} + +
{% if page.title %}

{{ page.title }}

{% endif %} -
-
- {{ content }} -
+
+ {{ content }}
diff --git a/docs/_layouts/default.ps.html b/docs/_layouts/default.ps.html deleted file mode 100644 index 89dac7a70..000000000 --- a/docs/_layouts/default.ps.html +++ /dev/null @@ -1,171 +0,0 @@ ---- ---- - - - - {% if site.analyticsID %} - - - - {% endif %} - - - {% if page.stylesheet %} - - {% else %} - - {% endif %} - - {{site.title}}{% if page.title %} - {{page.title}} {% elsif page.stylesheet %} - {{page.stylesheet}}{% endif %} - - {% if page.title %} - - {% elsif page.stylesheet %} - - {% else %} - - {% endif %} - {% if page.description %} - - - {% elsif site.description %} - - {% endif %} - {% if page.date %} - - {% endif %} - {% if page.url %} - - - - {% endif %} - - {% if page.image %} - - - {% endif %} - - - -
- -
-
- -
- - {% if page.title %} -

{{ page.title }}

- {% endif %} -
-
- {{ content }} -
-
- - \ No newline at end of file