aboutsummaryrefslogtreecommitdiffstats
path: root/docs/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/style.css')
-rw-r--r--docs/style.css28
1 files changed, 22 insertions, 6 deletions
diff --git a/docs/style.css b/docs/style.css
index 13f3c3b..1f81f9b 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -61,10 +61,10 @@ a {
}
ul, ol {
- list-style: '- ';
margin: 0.5em 0;
padding-left: 0.6em;
}
+ul { list-style: '- '; }
header {
position: fixed;
@@ -75,27 +75,31 @@ header {
background: #eeeeee;
box-sizing: border-box;
}
+header nav {
+ border-bottom: 1px solid #222222;
+ padding-bottom: 1em;
+}
+header nav > a {
+ margin-left: 0.6rem;
+}
nav {
display: flex;
justify-content: space-between;
-
- border-bottom: 1px solid #222222;
- padding-bottom: 1em;
}
nav span,
nav a {
flex: 0 0 auto;
+ text-decoration: none;
}
nav > a {
- margin-left: 0.6rem;
padding: 0.03em 0.2em;
- text-decoration: none;
}
nav > a.active {
background: #cccccc;
+ text-decoration: none;
}
nav span a {
@@ -107,6 +111,18 @@ nav .grow {
flex: 1;
}
+.subheader {
+ margin: 0 -2rem;
+ padding: 0.5rem 2rem;
+ background: #cccccc;
+}
+.subheader nav {
+ margin: 0 -1.2em;
+}
+.subheader h1 {
+ margin: 0;
+}
+
footer {
font-size: 0.8em;
padding: 0 2rem;