aboutsummaryrefslogtreecommitdiff
path: root/www/assets/res/css/base.css
diff options
context:
space:
mode:
Diffstat (limited to 'www/assets/res/css/base.css')
-rw-r--r--www/assets/res/css/base.css26
1 files changed, 7 insertions, 19 deletions
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;
- }
}