summaryrefslogtreecommitdiffstats
path: root/sass/parts/_article.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/parts/_article.scss')
-rw-r--r--sass/parts/_article.scss7
1 files changed, 5 insertions, 2 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss
index 57d695b..89e6455 100644
--- a/sass/parts/_article.scss
+++ b/sass/parts/_article.scss
@@ -40,7 +40,7 @@ article{
p{
margin-top: 10px;
code{
- background: #ddd;
+ background: $border;
border: 1px solid #ccc;
padding: 1px 3px;
border-radius: 5px;
@@ -67,6 +67,9 @@ article{
max-width: 100%;
height: auto;
}
+ iframe[src*="youtube"]{
+ margin-top: 10px;
+ }
code{
font-family: $monospace;
}
@@ -74,7 +77,7 @@ article{
line-height: 1.5;
}
figure.code{
- background: #ddd;
+ background: $border;
padding: 5px 15px;
margin-top: 10px;
border: 1px solid #ccc;