diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-11 16:51:27 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-11 16:51:27 +0200 |
commit | 628a4df0df81347c74a88e4c110066c9dc6017d1 (patch) | |
tree | 474ba777084cf5593c79330b71539f2a4fa7733f /assets/_markdown.scss | |
parent | 43974d0908a341ef8dd5d100a63563784fdbf70c (diff) |
Refactor partials, layout and sass files
Diffstat (limited to 'assets/_markdown.scss')
-rw-r--r-- | assets/_markdown.scss | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/assets/_markdown.scss b/assets/_markdown.scss new file mode 100644 index 0000000..d2a33ff --- /dev/null +++ b/assets/_markdown.scss @@ -0,0 +1,39 @@ +@import 'variables'; + +$block-border-radius: 0.15rem; + +.markdown { + a { + text-decoration: none; + + &:hover { + text-decoration: underline; + } + } + + code { + font-family: 'Roboto Mono', monospace; + } + + p code { + padding: $padding-1 $padding-4; + background: $gray-100; + border-radius: $block-border-radius; + } + + pre { + padding: $padding-16; + background: $gray-100; + border-radius: $block-border-radius; + font-size: $font-size-14; + } + + blockquote { + border-left: $padding-1*2 solid $gray-300; + margin: 0; + padding: $padding-1 $padding-16; + + :first-child { margin-top: 0; } + :last-child { margin-bottom: 0; } + } +}
\ No newline at end of file |