aboutsummaryrefslogtreecommitdiff
path: root/dst/styles
diff options
context:
space:
mode:
Diffstat (limited to 'dst/styles')
-rw-r--r--dst/styles/style.css38
1 files changed, 18 insertions, 20 deletions
diff --git a/dst/styles/style.css b/dst/styles/style.css
index 976898c..547f640 100644
--- a/dst/styles/style.css
+++ b/dst/styles/style.css
@@ -1,39 +1,52 @@
body {
background-color: #181a1b;
color: #ddd;
- font: 1.1em/1.8 'Open Sans', sans-serif;
+ font: 1em/1.8 'Open Sans', sans-serif;
margin: 0 auto;
max-width: 50em;
padding: 0em 1em;
}
-h1 {
- margin-top: 0.5em;
+header {
+ margin-top: 1em;
font-size: 2em;
}
+footer {
+ margin-top: 2em;
+ margin-bottom: 1em;
+ text-align: center;
+}
+
+header, footer {
+ color: #888;
+}
+
a {
color: #fda;
text-decoration: none;
}
+
a:hover {
text-decoration: underline;
text-decoration-color: #ca8;
}
-
pre, code {
font: 1.1em/1.5 monospace;
}
+
pre {
overflow-x: auto;
padding: .5em 1em;
background-color: #222;
}
+
code {
white-space: pre;
color: rgb(251, 252, 189);
}
+
pre code {
color: #ddd;
}
@@ -41,6 +54,7 @@ pre code {
p img, table {
max-width: 100%;
}
+
img {
display: block;
margin-left: auto;
@@ -54,22 +68,6 @@ blockquote {
padding-left: 1em;
}
-header {
- font-size: 2em;
- margin-top: 1.5em;
- margin-bottom: 2em;
-}
-footer {
- margin-top: 3em;
- margin-bottom: 4em;
- text-align: center;
-}
-.note {
- margin: 0;
-}
-header, footer, .note, .note a {
- color: #888;
-}
.homepage-link {
color: rgb(198, 90, 90);
text-decoration-color: #555;