summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sass/parts/_article.scss19
1 files changed, 11 insertions, 8 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index 73ab149..6d880ce 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -36,15 +36,9 @@ article{
margin-top: 0;
}
}
+
p{
- margin-top: 10px;
- code{
- background: $border;
- border: 1px solid #ccc;
- padding: 1px 3px;
- border-radius: 5px;
- margin: 0 3px;
- }
+ margin-top: 10px;
}
h2{
font-weight: 300;
@@ -78,6 +72,15 @@ article{
iframe[src*="youtube"]{
margin-top: 10px;
}
+ ol, ul, p, blockquote{
+ code{
+ background: $border;
+ border: 1px solid #ccc;
+ padding: 1px 3px;
+ border-radius: 5px;
+ margin: 0 3px;
+ }
+ }
code{
font-family: $monospace;
}