diff --git a/styles/index.styl b/styles/index.styl index a088798..9ca62d0 100644 --- a/styles/index.styl +++ b/styles/index.styl @@ -34,6 +34,10 @@ a img width: 30px .navbar + position: absolute + top: 0 + left: 0 + right: 0 padding: .5rem 1.5rem background-color: rgba(255,255,255,.9) backdrop-filter: blur(5px) @@ -180,8 +184,8 @@ a &:after content:'' .content__default - font-size:18px - line-height:1.9 + font-size: 1.125em + line-height:1.8 p, pre, iframe, img, div[class*="language-"] pre, div[class*="language-"] pre[class*="language-"] margin-top:1.2em margin-bottom:1.2em @@ -265,4 +269,22 @@ code font-size 14px padding 3px 10px margin-right 10px - margin-bottom 10px \ No newline at end of file + margin-bottom 10px + +h1, .h1 + font-size: 2.625rem + +h2, .h2 + font-size: 1.625rem + +h3, .h3 + font-size: 1.375rem + +h4, .h4 + font-size: 1.25rem + +h5, .h5 + font-size: 1.125rem + +h6, .h6 + font-size: 1rem