summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authord-s <ds@voyager.local>2023-05-19 13:21:49 +0200
committerd-s <ds@voyager.local>2023-05-19 13:21:49 +0200
commit97e1392c67b26723c3c7deab12ca9fc9844195c0 (patch)
treeda15feb8a8160bdfeaa8814e9e4d83e207be69b5 /static
parent8f29ee203e20a38969fdeaa437bea388705eed63 (diff)
feat: pimp my homepage
Diffstat (limited to 'static')
-rw-r--r--static/style.css31
1 files changed, 13 insertions, 18 deletions
diff --git a/static/style.css b/static/style.css
index 19cd8ae..cd7ece7 100644
--- a/static/style.css
+++ b/static/style.css
@@ -11,14 +11,13 @@
--article-border-color: #f3f1f1;
--highlight-bg: rgba(240, 240, 240, 0.42);
- --h2-color: var(--text-color);
-
--blockquote-border-color: #d2d2d2;
--blockquote-color: ##666666;
--pre-bg: #f0f0f0;
--font-size: 1.2em;
+ --mobile-font-size: 1hem;
--h1-size: 1.2em;
--header-font-size: 0.9em;
@@ -50,6 +49,12 @@ body {
max-width: 800px;
margin: auto;
}
+@media only screen and (max-width: 600px) {
+ body {
+ font-size: var(--mobile-font-size);
+ }
+}
+
header {
width: 100%;
text-align: center;
@@ -105,11 +110,11 @@ main {
.taxonomy a {
text-decoration: none;
}
-.taxonomy li {
- list-style: none;
+.list-item time {
+ opacity: 0.5;
}
-.taxonomy ul {
- padding: 0;
+.list-item span {
+ font-weight: bold;
}
/* ----------- Articles / Posts */
@@ -124,23 +129,13 @@ article p {
article a {
text-decoration: underline;
}
-h3, h4, h5 {
+h2, h3, h4, h5 {
text-align: left;
border: 0;
border-bottom-width: 1px;
border-style: solid;
font-size: inherit;
-}
-a h2{
- text-decoration: none;
-}
-h2 {
- text-align: left;
- padding: 0;
- margin: 0;
- color: var(--h2-color);
- font-size: 1.5em;
- line-height: 35px;
+ text-transform: uppercase;
}
blockquote {
border: 0;