aboutsummaryrefslogtreecommitdiffstats
path: root/templates/main/base.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-05 16:07:35 +0100
committerGravatar GitHub <[email protected]>2018-06-05 16:07:35 +0100
commit13a3c1e29473aa9f563e8db4ad94cb3eee9bdfe6 (patch)
tree290c6d668ec9161a39065456a33ec634215907cc /templates/main/base.html
parentdocumentation metadata API (#57) (diff)
Move from CSS to SCSS (#86)
* Rewrite existing style.css with sass * Add "uses-rst" class for pages that use rendered RST This replaces the previous method of just listing every page in the sass * Remove old debug print * Mixins and error pages * Newly built CSS * Add SASS cache to .gitignore * New error SASS * Slight changes to error template * Add UIKit SCSS to repo This includes the LICENSE and our customizations, which makes life way easier for contributors * Reorganize sass folder; your watchers can avoid uikit now * Sass folder should be called scss * Change variable names * [SCSS] Linting * Fix scss_lint gem name [ci skip] * [SCSS] Now you can compile with just Python! * Temporary hack to make the wiki editor taller * [SCSS] @jchristgit * [SCSS.py] Require specification of include dir to simplify the SCSS imports * [SCSS] All inline styles have been removed * [SCSS] Update UIKit theme to import from our variables * [SCSS] Remove extra newlines in errors/_common.scss
Diffstat (limited to 'templates/main/base.html')
-rw-r--r--templates/main/base.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/main/base.html b/templates/main/base.html
index 8893be01..2a3f295c 100644
--- a/templates/main/base.html
+++ b/templates/main/base.html
@@ -15,9 +15,9 @@
<!-- Stylesheets -->
<link rel="shortcut icon" href="{{ static_file('favicon.ico') }}">
- <link rel="stylesheet" href="{{ static_file('uikit_blurple.css') }}"/>
- <link rel="stylesheet" href="{{ static_file('style.css') }}"/>
- <link rel="stylesheet" href="{{ static_file('css/pygments-monokai.css') }}"/>
+ <link rel="stylesheet" href="{{ static_file('css/uikit_blurple.css') }}"/>
+ <link rel="stylesheet" href="{{ static_file('css/style.css') }}"/>
+ <link rel="stylesheet" href="{{ static_file('css/bundled/pygments-monokai.css') }}"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css">
<!-- OpenGraph metadata -->
@@ -29,7 +29,9 @@
{% endblock %}
</head>
- <body class="page-{{ current_page.replace(".", "-") }}">
+ <body class="{% block page_classes %}{% endblock page_classes %}
+ page-{{ current_page.replace(".", "-") }}
+ blueprint-{{ blueprint.replace(".", "-") }}">
{% if current_page == "main.index" %}
<div class="uk-offcanvas-content uk-section-primary">
{% else %}