aboutsummaryrefslogtreecommitdiff
path: root/www/assets
diff options
context:
space:
mode:
Diffstat (limited to 'www/assets')
-rw-r--r--www/assets/res/css/article.css10
-rw-r--r--www/assets/res/css/base.css8
-rw-r--r--www/assets/res/css/single.css8
-rw-r--r--www/assets/res/css/todos.css25
4 files changed, 22 insertions, 29 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 06fcb4b..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);
}
}
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 7802812..f9aa23b 100644
--- a/www/assets/res/css/todos.css
+++ b/www/assets/res/css/todos.css
@@ -1,24 +1,17 @@
-.todo {
- h3::before {
- font-family: monospace;
+h3.todo {
+ &::before {
+ font-size: small;
}
- &.working h3::before {
- content: "* ";
+ &.working::before {
+ content: "(working) ";
}
- &.done h3::before {
- content: "✓ ";
+ &.done::before {
+ content: "(done) ";
}
- &.give-up {
- &, a:link, a:visited {
- color: grey;
- }
-
- h3:before {
- content: "orz ✖ ";
- }
+ &.give-up::before {
+ content: "(give up) ";
}
}
-