summaryrefslogtreecommitdiff
path: root/_content/index.css
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-05-27 13:04:18 +0700
committerShulhan <ms@kilabit.info>2023-05-27 13:04:18 +0700
commit67431dd1eaae860c84258557b4a33f2ddde5b332 (patch)
tree4eaa52d3584dc98895b5a348cb3460a0f59bcd00 /_content/index.css
parent22007da37a737662265f6323558387d919ea825a (diff)
downloadkilabit.info-67431dd1eaae860c84258557b4a33f2ddde5b332.tar.xz
content: update style
Set the default font to monospaces, add background to headers, and change the header prefix to use section sign [1]. [1] https://en.wikipedia.org/wiki/Section_sign
Diffstat (limited to '_content/index.css')
-rw-r--r--_content/index.css13
1 files changed, 9 insertions, 4 deletions
diff --git a/_content/index.css b/_content/index.css
index 687bfc5..afcf9d4 100644
--- a/_content/index.css
+++ b/_content/index.css
@@ -1,6 +1,6 @@
body {
color: black;
- font-family: sans-serif;
+ font-family: monospace, sans-serif;
line-height: 1.25em;
margin: 0 auto;
width: 800px;
@@ -36,19 +36,24 @@ h4 {
}
h3::before {
- content: "> ";
+ content: "§ ";
}
h4::before {
- content: ">> ";
+ content: "§§ ";
+}
+
+h5::before {
+ content: "§§§ ";
}
h2,
h3,
h4,
h5 {
+ background-color: lightblue;
border-bottom: 1px solid grey;
- padding: 2px;
+ padding: 6px;
color: black;
}