Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vaga/hugo-theme-m10c.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/components/_post.scss')
-rw-r--r--assets/css/components/_post.scss12
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%;
}