summaryrefslogtreecommitdiffstats
path: root/assets/scss
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-03-05 07:17:29 +0200
committerAhmed Abdelhalim <[email protected]>2024-03-05 07:23:13 +0200
commit08f693548591c4cbee842125368092b8a0112a32 (patch)
treec609d39489788aeab08c543c3a9259559101a7fb /assets/scss
parentc1fcf759d48b374f54b1c7ae5381170316c26121 (diff)
Migrate the old pubsub blog post from toptal
Diffstat (limited to 'assets/scss')
-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;
+ }
+ }
}
}