summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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> */
+}