mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-06 17:16:56 -06:00
Wide page as helper class, disable prod. sourcemaps, reduce header size
Header lineheight reduced slightly
This commit is contained in:
@@ -30,3 +30,5 @@ defaults:
|
||||
path: "_pages"
|
||||
values:
|
||||
permalink: "/:title:output_ext"
|
||||
sass:
|
||||
sourcemap: development
|
||||
@@ -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>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
|
||||
header {
|
||||
max-width: 100vw;
|
||||
line-height: 1;
|
||||
.stack {
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
|
||||
@@ -22,3 +22,7 @@ p {
|
||||
border-width: thin 0;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body.wide {
|
||||
max-width: 60rem !important;
|
||||
}
|
||||
Reference in New Issue
Block a user