Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit287748bcd9d17462219699d01bb0d043812a9a8e (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-07-04 16:26:09 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-07-04 16:26:09 +0300
Filesa8cdd04b3d2c5084e66e58241f33d2c8dcb43795 /src
syndamia.com-287748bcd9d17462219699d01bb0d043812a9a8e.tar
syndamia.com-287748bcd9d17462219699d01bb0d043812a9a8e.tar.gz
syndamia.com-287748bcd9d17462219699d01bb0d043812a9a8e.zip
Parent7eb2726cfc92d1b9b9ae66e5666d922d3608b9d8 (diff)
Reworked definition lists formatting and updated anchor colors
2 files changed, 26 insertions, 2 deletions
-rw-r--r--src/darkmode.css4
-rw-r--r--src/styles.css24
diff --git a/src/darkmode.css b/src/darkmode.css
index c5e4049..21a9596 100644
--- a/src/darkmode.css
+++ b/src/darkmode.css
@@ -9,8 +9,8 @@
--header-color: #d49408;
--accent-line-color: #d47408;
--strong-color: #c35b5b;
- --a-color: #b47494;
- --a-hover-color: #da8db3;
+ --a-color: #cd81a7;
+ --a-hover-color: #eeaacd;
--code-bg-color: #414141;
--pre-bg-color: #414141;
--em-color: #e17b08;
diff --git a/src/styles.css b/src/styles.css
index dc7a048..91b6022 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -316,6 +316,29 @@ blockquote > :last-child {
margin-bottom: 0;
}
+dt {
+ font-size: 1.1em;
+}
+
+dt * {
+ vertical-align: middle;
+}
+
+dt a {
+ border: none;
+}
+
+dt img {
+ max-height: 1em;
+ box-sizing: border-box;
+}
+
+dd {
+ font-size: 0.7em;
+ margin-bottom: 1.4em;
+ line-height: 2em;
+}
+
/* Main elements: content-wrapper, sidebar, article, header, footer */
#content-wrapper {
@@ -380,6 +403,7 @@ blockquote > :last-child {
.arrowed-list > *::before {
content: "\251C ";
+ color: var(--border-color);
}
.arrowed-list > *:last-child::before {