commit 8261f49d9cdb15d18adcfa231afea6d2e861440d
parent 952d83234a0e7230b4f42213feb27279a720aac6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 15 Nov 2019 14:54:02 +0100
Update style for improved post readability
Diffstat:
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/style.css b/style.css
@@ -5,7 +5,7 @@ body {
background-color: #000084;
color: #bbb;
font-size: 1.0em;
- line-height: 1.2;
+ line-height: 1.3;
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace;
margin: 0;
padding: 0;
@@ -29,33 +29,25 @@ hr {
border-bottom: 3px solid #aaa;
height: 3px;
}
-h1:before {
- content: "[";
-}
-h1:after {
- content: "]";
-}
h1 {
- margin-top: 25px;
+ text-align: center;
+ margin-top: 3em;
font-size: 100%;
font-weight: bold;
text-transform: uppercase;
color: #fff;
}
-h2:before {
- content: "[";
-}
-h2:after {
- content: "]";
-}
h2 {
+ text-transform: uppercase;
+ margin-top: 2em;
font-size: 100%;
font-weight: bold;
color: #fff;
}
h3 {
- text-transform: uppercase;
+ margin-top: 2em;
font-size: 100%;
+ font-weight: bold;
}
p {
/* text-align: justify; */
@@ -91,6 +83,9 @@ code {
padding: 5px;
word-wrap: normal;
}
+li {
+ margin: 0.5em 0;
+}
.welcome {
white-space: pre;
-webkit-animation: color-change 5s infinite;