diff options
Diffstat (limited to 'assets/css/components/_post.scss')
-rw-r--r-- | assets/css/components/_post.scss | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/assets/css/components/_post.scss b/assets/css/components/_post.scss index b8265a7..afecccd 100644 --- a/assets/css/components/_post.scss +++ b/assets/css/components/_post.scss @@ -3,10 +3,18 @@ } .post-content { - pre { + & > pre, + .highlight { + margin: 1em 0; + } + + & > pre, + .highlight > pre, + .highlight > div { border-left: 0.4em solid rgba($primary-color, .8); - padding-left: 1em; + padding: .5em 1em; } + img { max-width: 100%; } |