From 08f693548591c4cbee842125368092b8a0112a32 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Tue, 5 Mar 2024 07:17:29 +0200 Subject: Migrate the old pubsub blog post from toptal --- assets/scss/web/_blog.scss | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'assets/scss/web') 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; + } + } } } -- cgit v1.2.3