From d5884aedb7dcd4e7711e53b7b462d1ac0bbc242e Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 05 Apr 2022 21:14:19 +0000
Subject: [PATCH] fix: wikilink patch not applying to transformed text like apostrophes
---
assets/styles/base.scss | 54 ++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 42 insertions(+), 12 deletions(-)
diff --git a/assets/styles/base.scss b/assets/styles/base.scss
index d5b5150..ef85cde 100644
--- a/assets/styles/base.scss
+++ b/assets/styles/base.scss
@@ -23,6 +23,23 @@
padding: revert;
}
+.mainTOC {
+ background: var(--lightgray);
+ border-radius: 5px;
+ padding: 0.75em 1em;
+}
+
+.mainTOC details summary {
+ cursor: zoom-in;
+ font-family: Inter;
+ color: var(--dark);
+ font-weight: 700;
+}
+
+.mainTOC details[open] summary {
+ cursor: zoom-out;
+}
+
#TableOfContents > ol {
counter-reset: section;
margin-left: 0em;
@@ -50,12 +67,6 @@
}
}
-footer {
- margin-top: 4em;
- text-align: center;
-}
-
-
table {
width: 100%;
}
@@ -112,6 +123,10 @@
gap: 1.5em;
justify-content: center;
+ .disabled {
+ opacity: 0.2;
+ }
+
& > li {
text-align: center;
display: inline-block;
@@ -181,6 +196,11 @@
padding: 0 0.1em;
margin: auto -0.1em;
border-radius: 3px;
+
+ &.broken {
+ opacity: 0.5;
+ background-color: transparent;
+ }
}
}
@@ -255,12 +275,10 @@
footer {
margin-top: 4em;
-
- & > a {
- font-size: 1em;
- color: var(--secondary);
- padding: 0 0.5em 3em 0.5em;
- }
+ text-align: center;
+ & ul {
+ padding-left: 0;
+ }
}
hr {
@@ -516,3 +534,15 @@
user-select: none;
}
}
+
+#contact_buttons ul {
+ list-style-type: none;
+
+ li {
+ display: inline-block;
+ }
+
+ li a {
+ padding: 0 1em;
+ }
+}
--
Gitblit v1.10.0