Wide page as helper class, disable prod. sourcemaps, reduce header size

Header lineheight reduced slightly
This commit is contained in:
Xevion
2022-09-20 20:14:08 -05:00
parent 13b5e61de2
commit 31bda0f788
4 changed files with 9 additions and 8 deletions

View File

@@ -30,3 +30,5 @@ defaults:
path: "_pages" path: "_pages"
values: values:
permalink: "/:title:output_ext" permalink: "/:title:output_ext"
sass:
sourcemap: development

View File

@@ -45,12 +45,6 @@ layout: compress
html, body { html, body {
visibility: hidden; visibility: hidden;
} }
{% if page.wide or layout.wide %}
body {
max-width: 60em !important;
}
{% endif %}
</style> </style>
<!-- Prevent FireFox from displaying FOUC with fake script tag. --> <!-- Prevent FireFox from displaying FOUC with fake script tag. -->
<script>0</script> <script>0</script>
@@ -58,7 +52,7 @@ layout: compress
<script src="/assets/js/custom.js"></script> <script src="/assets/js/custom.js"></script>
{% endif %} {% endif %}
</head> </head>
<body> <body class="{% if page.wide or layout.wide %}wide{% endif %}">
{{ content }} {{ content }}
</body> </body>
</html> </html>

View File

@@ -1,6 +1,7 @@
header { header {
max-width: 100vw; max-width: 100vw;
line-height: 1;
.stack { .stack {
overflow: hidden; overflow: hidden;
display: grid; display: grid;

View File

@@ -22,3 +22,7 @@ p {
border-width: thin 0; border-width: thin 0;
padding: 10px; padding: 10px;
} }
body.wide {
max-width: 60rem !important;
}