Center things a bit
This commit is contained in:
parent
37e92392ca
commit
7df154596b
3 changed files with 15 additions and 5 deletions
|
@ -15,6 +15,7 @@ method generate-post(Str:D $title, Str:D $content, BlogMeta:D $meta) {
|
|||
# Use Iosevka Alie as the monospace font
|
||||
link :rel<stylesheet>,
|
||||
:href<https://static.stranger.systems/fonts/IosevkaAlie/IosevkaAile.css>;
|
||||
style %?RESOURCES<main.css>.slurp;
|
||||
style %?RESOURCES<code.css>.slurp;
|
||||
# TODO: Add description
|
||||
# TODO: Add header links
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
/* TODO: Move this somewhere else */
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "Iosevka Aile Web", monospace;
|
||||
background-color: light-dark(#fbf3db, #103c48);
|
||||
color: light-dark(#53676d, #adbcbc);
|
||||
min-width: 80ch;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
|
|
13
resources/main.css
Normal file
13
resources/main.css
Normal file
|
@ -0,0 +1,13 @@
|
|||
:root {
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.post-body {
|
||||
max-width: 80%;
|
||||
}
|
Loading…
Add table
Reference in a new issue