diff options
-rw-r--r-- | sass/parts/_article.scss | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/sass/parts/_article.scss b/sass/parts/_article.scss index d4157fe..8403ec1 100644 --- a/sass/parts/_article.scss +++ b/sass/parts/_article.scss @@ -27,11 +27,25 @@ article{ display: block; margin-top: 20px; } + strong{ + font-weight: bold; + } ol, ul{ margin-left: 20px; + margin-top: 10px; + ol, ul{ + margin-top: 0; + } } p{ margin-top: 10px; + code{ + background: #ddd; + border: 1px solid #ccc; + padding: 1px 3px; + border-radius: 5px; + margin: 0 3px; + } } h2{ font-weight: 300; @@ -53,9 +67,25 @@ article{ font-family: $monospace; } pre{ - margin-top: 10px; line-height: 1.5; } + figure.code{ + background: #ddd; + padding: 5px 15px; + margin-top: 10px; + border: 1px solid #ccc; + border-radius: 5px; + .line-numbers{ + border-right: 1px solid #ccc; + color: #000; + font-family: $monospace; + padding-right: 15px; + } + td.code{ + padding-left: 15px; + font-size: 13px; + } + } } .meta{ position: absolute; |