summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/scss/web/_blog.scss22
1 files changed, 21 insertions, 1 deletions
diff --git a/assets/scss/web/_blog.scss b/assets/scss/web/_blog.scss
index 9770c46..d42e31b 100644
--- a/assets/scss/web/_blog.scss
+++ b/assets/scss/web/_blog.scss
@@ -33,6 +33,26 @@
}
pre {
font-size: 1rem;
- line-height: 1;
+ }
+
+ div.highlight {
+ line-height: 1.5;
+ }
+
+ code {
+ &.language-ascii {
+ line-height: 1
+ }
+
+ > span {
+ margin-left: 16px;
+ margin-right: 16px;
+ &:first-child {
+ padding-top: 8px;
+ }
+ &:last-child {
+ padding-bottom: 8px;
+ }
+ }
}
}