summaryrefslogtreecommitdiff
path: root/md/53hor.net/include/styles.css
diff options
context:
space:
mode:
Diffstat (limited to 'md/53hor.net/include/styles.css')
-rw-r--r--md/53hor.net/include/styles.css57
1 files changed, 50 insertions, 7 deletions
diff --git a/md/53hor.net/include/styles.css b/md/53hor.net/include/styles.css
index 3222b01..f7322a7 100644
--- a/md/53hor.net/include/styles.css
+++ b/md/53hor.net/include/styles.css
@@ -1,32 +1,75 @@
+/* stylesheet for 53hor.net */
+
+:root {
+ /* custom colors */
+ --balboa:#1a5a72;
+}
+
#TOC {
position: fixed;
+ width: 25%;
+ height: 100%;
}
#TOC ul {
+ list-style-type: disc;
+ color: var(--balboa);
+ overflow: hidden;
+ padding-left: 1em;
+}
+
+#TOC li a {
+ text-decoration: none;
+ display: block;
+ color: black;
+}
+
+#topnav {
+
+}
+
+#topnav ul {
list-style-type: none;
margin: 0;
padding: 0;
- width: 25%;
+ overflow: hidden;
position: fixed;
- height: 100%;
- overflow: auto;
+ top: 0;
+ width: 100%;
+ background-color: var(--balboa);
}
-#TOC li a {
+#topnav li {
+ float: left;
+ padding: 0;
+}
+
+#topnav li a {
display: block;
+ text-align: center;
padding: 1em 1em;
text-decoration: none;
+ color: white;
}
-#topnav {
- display: inline-block;
-
+#topnav li a:hover {
+ color: var(--balboa);
+ background-color: white;
}
article {
margin-left: 25%;
+ margin-top: 4em;
}
body {
padding: 0;
+ margin: 0;
+}
+
+p {
+ font-size: 0.8em;
+ font-weight 400;
+ text-align: justify;
+ text-indent: 1em;
}