aboutsummaryrefslogtreecommitdiff
path: root/_sass
diff options
context:
space:
mode:
Diffstat (limited to '_sass')
-rw-r--r--_sass/layout.scss7
-rw-r--r--_sass/theme.scss21
2 files changed, 22 insertions, 6 deletions
diff --git a/_sass/layout.scss b/_sass/layout.scss
index 39b9189..f944710 100644
--- a/_sass/layout.scss
+++ b/_sass/layout.scss
@@ -77,6 +77,8 @@ summary::marker { cursor: pointer; }
blockquote {
position: relative;
padding-left: 12px;
+ margin-top: 24px;
+ margin-bottom: 24px;
}
blockquote, figure {
@@ -86,8 +88,8 @@ blockquote, figure {
pre {
overflow-x: auto;
- border-radius: 6px;
- padding: 6px 8px;
+ border-radius: 10px;
+ padding: 6px 10px;
}
figure figcaption {
@@ -127,3 +129,4 @@ table {
margin-right: auto;
}
+.hidden { display: none; }
diff --git a/_sass/theme.scss b/_sass/theme.scss
index 2bb6437..290cc8e 100644
--- a/_sass/theme.scss
+++ b/_sass/theme.scss
@@ -1,15 +1,27 @@
blockquote {
font-style: italic;
opacity: .8;
+ --color: currentcolor;
}
blockquote::before {
content: "";
position: absolute;
left: 0;
- top: 0;
- bottom: 0;
+ top: -4px;
+ bottom: -4px;
width: 2px;
- background-color: currentcolor;
+ background-color: var(--color);
+}
+blockquote p {
+ margin: 1ex 0;
+}
+blockquote.admonition {
+ font-style: unset;
+ opacity: unset;
+}
+blockquote.admonition .title {
+ font-weight: bold;
+ color: var(--color);
}
// navbar colors
@@ -38,7 +50,8 @@ aside { border-left: 1px dashed; }
pre { border: 1px solid; }
-.title { font-size: 150%; }
+header .title { font-size: 150%; }
+footer .title { font-size: 120%; }
.plainlink a,
.plainlink a:visited { color: inherit; }