From 7607d3628d891ab6306d3c650a9d4e7ca2a2e072 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Wed, 27 May 2020 23:27:15 -0400 Subject: Rewrite the DOM to use CSS grids This also rewrites the CSS to use CSS variables. Currently this isn't done to codeblocks however. --- docs/_templates/layout.html | 166 ++++++++++++++++++++++++++++++-------------- 1 file changed, 113 insertions(+), 53 deletions(-) (limited to 'docs/_templates/layout.html') diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 85a055aa..e507fca6 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,59 +1,118 @@ -{%- extends "basic/layout.html" %} - -{% set show_source = False %} -{% set style = 'style.css' %} - -{%- block extrahead %} - {{ super() }} - -{% endblock %} - -{%- block relbar2 %}{% endblock %} - -{%- block rootrellink %} - {# Perhaps override the relbar() macro to place this on the right side of the link list? #} -
  • - settings{{ reldelim2 }}
  • - {{ super() }} -{% endblock %} - -{% block header %} - {{ super() }} - {% if pagename == 'index' %} -
    - {% endif %} -{% endblock %} - -{%- block content %} -