Serve extra jss or css from the page frontmatter. Much cleaner.

This commit is contained in:
g_it 2026-02-04 13:45:19 +01:00
commit 12e9d62059
Signed by untrusted user who does not match committer: g_it
GPG key ID: A2B0A7C06A054627
141 changed files with 645 additions and 1849 deletions

View file

@ -1,8 +1,11 @@
@import url(_colours.css);
/*****************************
* INDEX
* Styling for index pages.
*****************************/
/* Hide all the extra space around the content */
.md-content__inner,
.md-main__inner,
.md-grid,
@ -15,6 +18,7 @@ body,
max-width: none;
}
/* Make the content fill the entire viewing space */
article,
.md-container {
min-height: 100%;
@ -23,7 +27,28 @@ article,
padding: 0;
}
nav,
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: white;
width: 100%;
}
.container {
width: 100%;
height: 100%;
}
/* Hide the navigation elements and the title of the page */
header,
.md-content .md-typeset h1 {
display: none !important;
}
/* This was creating an annoying space at the top */
article.md-content__inner.md-typeset:before,
article.md-content__inner.md-typeset:after {
content: none;
}