mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-09 00:08:58 -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"
|
path: "_pages"
|
||||||
values:
|
values:
|
||||||
permalink: "/:title:output_ext"
|
permalink: "/:title:output_ext"
|
||||||
|
sass:
|
||||||
|
sourcemap: development
|
||||||
@@ -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>
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -22,3 +22,7 @@ p {
|
|||||||
border-width: thin 0;
|
border-width: thin 0;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body.wide {
|
||||||
|
max-width: 60rem !important;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user