commit a4dcbb770caa569889b232b99d4017855cc4aad3
parent 12302b2a37332db03948c05beb714bcd66b65386
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sat, 17 Oct 2020 22:58:51 -0400
Indent and autogenerate the main css
Diffstat:
2 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/css/index.css b/css/index.css
@@ -1,10 +1,8 @@
-@charset "UTF-8";
+/* Main SCSS */
:root {
--base-fontfamily: "Lucida Console", Courier, monospace;
--base-fontsize: 16;
--base-lineheight: 1.5;
- --grid-columns: $grid-columns;
- --grid-gutter: calc(1rem * (var(--base-fontsize) / var(--base-fontsize)));
--grid-maxwidth: 1140px; }
:root {
@@ -69,13 +67,12 @@ nav ul {
margin: 0;
padding: 0; }
-/* ↓ targets the intermediary wrapper */
.layout > * {
display: flex;
flex-wrap: wrap; }
-.layout > * > * {
- /* ↓ applies to both elements */ }
+.layout__inner {
+ height: 100%; }
.layout__aside {
background: aqua;
@@ -83,7 +80,6 @@ nav ul {
flex-grow: 1; }
.layout__main {
- /* ↓ grow from nothing */
background: aquamarine;
flex-basis: 0;
flex-grow: 999;
diff --git a/templates/error.html.twig b/templates/error.html.twig
@@ -1,8 +1,9 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
- <div class="lead text-center">
- <h1>Error!</h1>
- {{ page.content }}
- </div>
+ <div class="lead text-center">
+ <h1>Error!</h1>
+
+ {{ page.content }}
+ </div>
{% endblock %}