summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristos <christos@bauherren.ovh>2025-01-02 18:42:52 +0000
committerChristos <christos@bauherren.ovh>2025-01-02 18:42:52 +0000
commit39e43de0ea89943ff60dc40faaffa5c419256593 (patch)
tree9b4b9479b7a11f54f4b9ae96fa1b00250282a2d8 /src
parent56097fdf8b3d35330164968ac8d7b953a2e297ea (diff)
Added horizontal sidebar script and CSS
Diffstat (limited to 'src')
-rw-r--r--src/horizontal-sidebar.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/horizontal-sidebar.css b/src/horizontal-sidebar.css
new file mode 100644
index 0000000..4692463
--- /dev/null
+++ b/src/horizontal-sidebar.css
@@ -0,0 +1,29 @@
+ul {
+ display: inline;
+}
+li {
+ list-style-position: inside;
+ display: inline;
+}
+ ul {
+ margin: 0;
+ padding: 0.3em;
+ list-style-type: none;
+ list-style-image: none;
+ border: 0;
+}
+ li {
+ display: inline;
+ white-space: nowrap;
+ line-height: 1.6em;
+}
+ ul li a {
+ margin: 0;
+ padding: 0.1em 1ex 0.1em 1ex;
+ text-decoration: none;
+ font-size: 1em;
+ border: 0;
+}
+ul > ul {
+ padding-left: 40px; /* Padding for nested <ul> inside the first <ul> */
+}