From 9eeadd1e667d7908b1ffd707662676cee63d1ede Mon Sep 17 00:00:00 2001 From: sptaule Date: Thu, 27 Jan 2022 11:28:21 +0100 Subject: [PATCH] Fix blurry svg logo & misc QoL improvements --- src/input.css | 2 +- static/images/garage-logo.svg | 156 +++++++++++----- templates/base.html | 326 +++++++++++++++++++--------------- templates/documentation.html | 6 +- 4 files changed, 296 insertions(+), 194 deletions(-) mode change 100755 => 100644 static/images/garage-logo.svg diff --git a/src/input.css b/src/input.css index 1a5d06b..b7582f7 100755 --- a/src/input.css +++ b/src/input.css @@ -86,7 +86,7 @@ p > code, p > strong > code, li > code, li > strong > code { @apply text-lg mt-6 mb-4 font-semibold text-gray-800; } -.page-content > p { +.page-content { @apply text-garage-gray; } diff --git a/static/images/garage-logo.svg b/static/images/garage-logo.svg old mode 100755 new mode 100644 index fb02c40..654e25b --- a/static/images/garage-logo.svg +++ b/static/images/garage-logo.svg @@ -1,44 +1,116 @@ - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + diff --git a/templates/base.html b/templates/base.html index bdda7e4..1e44aa7 100755 --- a/templates/base.html +++ b/templates/base.html @@ -4,173 +4,203 @@ - - - - + + + + - {% if config.extra.favicon.webmanifest %} - - {% endif %} - {% if config.extra.favicon.safari_pinned_tab %} - - {% endif %} - {% if config.extra.favicon.favicon_16x16 %} - - {% endif %} - {% if config.extra.favicon.favicon_32x32 %} - - {% endif %} - {% if config.extra.favicon.apple_touch_icon %} - - {% endif %} + {% if config.extra.favicon.webmanifest %} + + {% endif %} + {% if config.extra.favicon.safari_pinned_tab %} + + {% endif %} + {% if config.extra.favicon.favicon_16x16 %} + + {% endif %} + {% if config.extra.favicon.favicon_32x32 %} + + {% endif %} + {% if config.extra.favicon.apple_touch_icon %} + + {% endif %} - {% if config.extra.galleria.enabled %} - - {% endif %} + {% if config.extra.galleria.enabled %} + + {% endif %} - {% if config.extra.mapbox.enabled %} - - {% endif %} + {% if config.extra.mapbox.enabled %} + + {% endif %} - - - + + + - {% block user_custom_stylesheet %} - {% endblock %} + {% block user_custom_stylesheet %} + {% endblock %} - - {% block title %} - {{ config.title }} - {% endblock title %} - + + {% block title %} + {{ config.title }} + {% endblock title %} + - {% if config.extra.katex.enabled %} - - + {% if config.extra.katex.enabled %} + + - - {% if config.extra.katex.auto_render %} - - {% endif %} - {% endif %} + + {% if config.extra.katex.auto_render %} + + {% endif %} + {% endif %} - + +
+ {% block content %}{% endblock %}
- - -
- {% block content %}{% endblock %} -
- {% block pagination %} - {% if paginator.previous or paginator.next %} -
-
- -
-
- {% endif %} - {% endblock %} + {% block pagination %} + {% if paginator.previous or paginator.next %} +
+
+ +
+
+ {% endif %} + {% endblock %} - {% block comment %} - {% endblock %} + {% block comment %} + {% endblock %} - + - {% if config.extra.galleria.enabled %} - - - - {% endif %} - {% if config.extra.mermaid.enabled %} - - {% endif %} - {% if config.extra.chart.enabled %} - - {% endif %} - - - {%- if lang != "en" -%} - {%- block other_lang_search_js -%} - {%- endblock -%} - {%- endif -%} - + {% if config.extra.galleria.enabled %} + + + + {% endif %} + {% if config.extra.mermaid.enabled %} + + {% endif %} + {% if config.extra.chart.enabled %} + + {% endif %} + + + {%- if lang != "en" -%} + {%- block other_lang_search_js -%} + {%- endblock -%} + {%- endif -%} + - {% block custom_js %} - {% endblock %} + {% block custom_js %} + {% endblock %} - {% block user_custom_js %} - {% endblock %} + {% block user_custom_js %} + {% endblock %} - + \ No newline at end of file diff --git a/templates/documentation.html b/templates/documentation.html index f425d6d..70ef6a3 100644 --- a/templates/documentation.html +++ b/templates/documentation.html @@ -9,11 +9,11 @@
{% include "partials/doc/global_toc.html" %} -
-
+
+
-

+

{{ page.title }}

{% if page.description %}