2024-02-15 11:36:34 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: Poppins;
|
|
|
|
src: url('/static/fonts/Poppins-Regular.otf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Poppins;
|
|
|
|
src: url('/static/fonts/Poppins-Italic.otf');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Poppins;
|
|
|
|
src: url('/static/fonts/Poppins-Bold.otf');
|
|
|
|
font-weight: 700;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: Poppins;
|
|
|
|
src: url('/static/fonts/Poppins-Black.otf');
|
|
|
|
font-weight: 900;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
2024-02-15 13:20:12 +01:00
|
|
|
@font-face {
|
|
|
|
font-family: Poppins;
|
|
|
|
src: url('/static/fonts/Poppins-LightItalic.otf');
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2024-02-15 11:36:34 +01:00
|
|
|
body {
|
|
|
|
font-family: Poppins, sans-serif;
|
2024-02-15 13:20:12 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2024-02-15 18:35:54 +01:00
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2024-02-15 13:20:12 +01:00
|
|
|
h1 {
|
|
|
|
font-weight: 900;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 small {
|
|
|
|
font-weight: 700;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2024-02-15 18:35:54 +01:00
|
|
|
h2 {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1:has(+ h2),
|
|
|
|
h2:has(+ h3) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 + h2,
|
|
|
|
h2 + h3 {
|
|
|
|
margin-top: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
opacity: 0.6;
|
|
|
|
}
|
|
|
|
|
2024-02-15 13:20:12 +01:00
|
|
|
.site-header {
|
|
|
|
display: flex;
|
|
|
|
padding: 0.5em;
|
|
|
|
background: lightgrey;
|
2024-03-31 13:56:28 +02:00
|
|
|
column-gap: 0.6rem;
|
2024-02-15 13:20:12 +01:00
|
|
|
}
|
|
|
|
|
2024-02-15 18:35:22 +01:00
|
|
|
.site-header a {
|
|
|
|
display: flex;
|
2024-03-31 13:56:28 +02:00
|
|
|
color: grey;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-header a.primary {
|
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.site-header a:hover {
|
2024-02-15 18:35:22 +01:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2024-02-15 13:20:12 +01:00
|
|
|
.site-header .header-logo-wrapper img {
|
|
|
|
height: 1.5em;
|
|
|
|
width: 1.5em;
|
|
|
|
margin-right: 0.3em;
|
2024-02-15 11:36:34 +01:00
|
|
|
}
|
|
|
|
|
2024-03-31 13:36:29 +02:00
|
|
|
/*
|
|
|
|
* Setting the maximum width for posts. This should
|
|
|
|
* give you not much more than 75 letters per line;
|
|
|
|
* the reason it's given as 40 is that 'em' is
|
|
|
|
* literally the width of the letter 'M', which is
|
|
|
|
* significantly wider than any of the other letters.
|
|
|
|
* So if we write 'MMMM...' only 40 letters will fit,
|
|
|
|
* but for ordinary English this is getting us to 70
|
|
|
|
* or thereabouts.
|
|
|
|
*/
|
2024-02-15 13:20:12 +01:00
|
|
|
.main {
|
2024-03-31 13:36:29 +02:00
|
|
|
max-width: 40em;
|
2024-02-15 13:20:12 +01:00
|
|
|
margin: auto;
|
|
|
|
min-height: calc(100vh - 16em);
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
2024-04-14 12:45:14 +02:00
|
|
|
./*
|
|
|
|
* Styling for images. We centre-align them, make sure
|
|
|
|
* they fit in the screen, and see that they don't
|
|
|
|
* spill out of the post container.
|
|
|
|
*/
|
|
|
|
.main p:has(img) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main img {
|
|
|
|
max-width: min(40em, 100vw);
|
|
|
|
max-height: 100vh;
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
|
2024-02-15 18:35:54 +01:00
|
|
|
.post-list {
|
|
|
|
padding: 0;
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
|
2024-02-15 13:20:12 +01:00
|
|
|
.site-footer {
|
|
|
|
font-weight: 300;
|
|
|
|
font-style: italic;
|
|
|
|
max-width: 60em;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
margin-top: 4em;
|
|
|
|
padding: 1em;
|
2024-02-15 13:30:39 +01:00
|
|
|
text-align: center;
|
2024-02-13 12:23:14 +01:00
|
|
|
}
|