aboutsummaryrefslogtreecommitdiff
path: root/www/assets/res/css
diff options
context:
space:
mode:
Diffstat (limited to 'www/assets/res/css')
-rw-r--r--www/assets/res/css/article.css10
-rw-r--r--www/assets/res/css/base.css26
-rw-r--r--www/assets/res/css/home.css6
-rw-r--r--www/assets/res/css/single.css8
-rw-r--r--www/assets/res/css/todos.css15
5 files changed, 22 insertions, 43 deletions
diff --git a/www/assets/res/css/article.css b/www/assets/res/css/article.css
index 9629597..93f86ef 100644
--- a/www/assets/res/css/article.css
+++ b/www/assets/res/css/article.css
@@ -2,9 +2,6 @@
font-size: 0.95em;
padding-inline: 0.5em;
padding-block: 0.5em;
- margin-block-end: 0.5em;
- border-radius: 3px;
- background-color: hsl(33, 100%, 98%);
& > p {
font-size: 0.9em;
@@ -20,8 +17,8 @@
& > .date {
font-size: small;
+ margin-top: 0.3em;
float: right;
- margin-inline-end: 1.5em;
color: hsl(0, 0%, 25%);
}
@@ -40,3 +37,8 @@ html[data-theme="dark"] {
}
}
}
+
+hr.article-preview-hr {
+ border: none;
+ border-top: 1.5px dashed currentColor;
+}
diff --git a/www/assets/res/css/base.css b/www/assets/res/css/base.css
index c628271..77cd804 100644
--- a/www/assets/res/css/base.css
+++ b/www/assets/res/css/base.css
@@ -20,6 +20,12 @@ body {
background-color: var(--body-bg-color);
}
+/* https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/Heading_Elements#specifying_a_uniform_font_size_for_h1 */
+h1 {
+ margin-block: 0.67em;
+ font-size: 2em;
+}
+
.mono {
font-family: monospace;
}
@@ -39,7 +45,7 @@ table {
border-collapse: collapse;
&, :is(td,th) {
- padding: 0.4em;
+ padding: 0.2em 0.4em;
border: 1px solid var(--table-border-color);
}
}
@@ -70,19 +76,6 @@ nav {
font-size: large;
}
-#slogan {
- color: white;
- width: 100%;
- padding: 0.5em 1em;
- text-align: center;
- background-color: dodgerblue;
- user-select: none;
-
- & > * {
- user-select: text;
- }
-}
-
#main-article {
position: relative;
left: 50%;
@@ -147,9 +140,4 @@ html[data-theme="dark"] {
& a:visited {
color:#abcac4;
}
-
- & #slogan {
- color: var(--body-fg-color);
- background-color: midnightblue;
- }
}
diff --git a/www/assets/res/css/home.css b/www/assets/res/css/home.css
index 3df42ff..60c9ac7 100644
--- a/www/assets/res/css/home.css
+++ b/www/assets/res/css/home.css
@@ -1,9 +1,3 @@
-#slogan {
- position: sticky;
- z-index: 1;
- top: 0;
-}
-
#avatar {
float: right;
}
diff --git a/www/assets/res/css/single.css b/www/assets/res/css/single.css
index 70325d1..3d8ee0f 100644
--- a/www/assets/res/css/single.css
+++ b/www/assets/res/css/single.css
@@ -10,11 +10,3 @@
margin-inline-end: auto;
}
}
-
-.end-hr {
- border: none;
- width: 8em;
- margin-block-start: 1.5em;
- margin-inline-start: 0;
- border-top: 1px dashed black;
-}
diff --git a/www/assets/res/css/todos.css b/www/assets/res/css/todos.css
index e9a595d..f9aa23b 100644
--- a/www/assets/res/css/todos.css
+++ b/www/assets/res/css/todos.css
@@ -1,14 +1,17 @@
-.todo {
-
+h3.todo {
&::before {
- font-family: monospace;
+ font-size: small;
}
&.working::before {
- content: "* ";
+ content: "(working) ";
}
&.done::before {
- content: "✓ ";
+ content: "(done) ";
+ }
+
+ &.give-up::before {
+ content: "(give up) ";
}
-} \ No newline at end of file
+}