summarylogtreecommitdiffstats
path: root/0001-modify-default-navigation-css.patch
blob: d2dd16ab49d4bcdbb03b9543f99d4da64080486a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From c4e098d8429a0c85362d74bd686dd18c9526f009 Mon Sep 17 00:00:00 2001
From: xiota <xiota>
Date: Sun, 29 Oct 2023 03:50:46 -0700
Subject: [PATCH 1/3] modify default navigation css

---
 src/BookManipulation/Book.cpp | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/BookManipulation/Book.cpp b/src/BookManipulation/Book.cpp
index e8beaff..38344de 100644
--- a/src/BookManipulation/Book.cpp
+++ b/src/BookManipulation/Book.cpp
@@ -129,6 +129,16 @@ static const QString SGC_NAV_CSS_FILE =
     "}\n\n"
     "ol {\n"
     "    list-style-type: none;\n"
+    "    padding-left: 1.5rem;\n"
+    "}\n\n"
+    "li > ol {\n"
+    "    margin-bottom: 0.75rem;\n"
+    "}\n\n"
+    "li {\n"
+    "    margin-top: 0.25rem;\n"
+    "}\n\n"
+    "a {\n"
+    "    text-decoration: none;\n"
     "}\n\n";
 
 
-- 
2.42.0