summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-05-10 10:23:15 +0200
committerMichał M. Sapka <michal@sapka.me>2023-05-10 10:23:15 +0200
commit8c72647a89b26c2e5ed55f6244ad3c0873073666 (patch)
treeb665319dd91005426f2167664bc9d6704feb2460 /static
parent94adcf7624c66a976ba8445d09a58d4cb98a2eda (diff)
feat: move to name domain
Diffstat (limited to 'static')
-rw-r--r--static/style.css38
1 files changed, 15 insertions, 23 deletions
diff --git a/static/style.css b/static/style.css
index 32dc3a0..f171743 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,4 +1,4 @@
-:root {
+ {
color-scheme: light dark;
--site-bg: #fff;
@@ -34,7 +34,7 @@
}
/* ----------- Entire site */
body {
- font-family: 'helvetica';
+ font-family: 'monospace';
padding: 0;
margin: 0;
font-size: 1.2cem;
@@ -73,6 +73,7 @@ a:hover {
flex: 200px 0;
text-align: center;
flex-shrink: 0;
+ margin-bottom: 20px;
}
@media (max-width: 100000px) {
@@ -138,7 +139,7 @@ p
flex: 50%;
}
main {
- padding: 5px;
+ padding: 0px;
}
@media (max-width: 710000000000px) {
@@ -146,20 +147,6 @@ main {
flex: 100%;
}
}
-/* ----------- Pagination navigation */
-.pagination {
- text-align: center
-}
-.pagination li {
- display: inline-block
-}
-#pagination ul {
- text-align:center;
-}
-#pagination ul li {
- display:inline;
- padding:0 1em;
-}
/* ----------- Taxmomy list */
.taxonomy a {
@@ -175,12 +162,7 @@ main {
/* ----------- Articles / Posts */
article {
margin-bottom: 20px;
- padding: 25px;
- background-color: var(--article-bg);
- border-style: solid;
- border-color: var(--article-border-color);
- border-radius: 3px;
- box-shadow: -1px 8px 35px -18px var(--article-shadow-color);
+ padding: 5px;
line-height: 1.32em;
}
article p {
@@ -252,3 +234,13 @@ footer {
text-align: center;
padding: 10px 0 10px 0;
}
+
+/* ---------- Footnotes */
+a[href^="#fn:"], a[href^="#fnref:"] {
+ text-decoration: none;
+}
+a[href^="#fn:"]:before{ content: '[' }
+a[href^="#fn:"]:after{ content: ']' }
+.footnotes p {
+ margin: 3px;
+}