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

@@ -29,4 +29,6 @@ defaults:
scope:
path: "_pages"
values:
permalink: "/:title:output_ext"
permalink: "/:title:output_ext"
sass:
sourcemap: development

View File

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

View File

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

View File

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