diff options
Diffstat (limited to 'assets/sass/typography.scss')
-rw-r--r-- | assets/sass/typography.scss | 52 |
1 files changed, 32 insertions, 20 deletions
diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss index d1a7315..24fe28d 100644 --- a/assets/sass/typography.scss +++ b/assets/sass/typography.scss @@ -4,6 +4,22 @@ a { @extend %link-default; } + blockquote { + border-left: 4px solid; + font-style: italic; + margin: $margin-y 0; + padding: 8px 8px; + & p { + margin: 0; + } + } + code { + color: $green; + } + img { + display: block; + margin: $margin-y auto; + } ol { counter-reset: list; list-style: none; @@ -18,6 +34,9 @@ } } } + pre code { + color: inherit; + } ul { list-style: inside; padding-left: 0; @@ -25,26 +44,6 @@ margin: 4px 0; } } - blockquote { - border-left: 4px solid; - font-style: italic; - margin: $margin-y 0; - padding: 8px 8px; - & p { - margin: 0; - } - } - .avatar > img { - border-radius: 50%; - float: right; - margin: -8px 0 0 16px; - height: $avatar-size; - width: $avatar-size; - } - img { - display: block; - margin: $margin-y auto; - } table { margin: $margin-y auto; width: 100%; @@ -63,4 +62,17 @@ } } } + .avatar > img { + border-radius: 50%; + float: right; + margin: -8px 0 0 16px; + height: $avatar-size; + width: $avatar-size; + } + .highlight { + margin: $margin-y auto; + & > pre { + padding: 8px 8px; + } + } } |