diff options
author | Daisuke KONISHI <skydai1151@gmail.com> | 2019-01-19 04:37:05 +0300 |
---|---|---|
committer | Daisuke KONISHI <skydai1151@gmail.com> | 2019-01-19 04:37:05 +0300 |
commit | 6bc13f58ba854c5126956e5461a11d3d053ad27b (patch) | |
tree | 2d6f9de1fe4bfc6482724ace21c4027ae6cdc672 /source | |
parent | f42ee173b518de6426710fd6ff967d46c04698f8 (diff) |
fixed #38
Diffstat (limited to 'source')
-rw-r--r-- | source/sass/object/component/_post.scss | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/sass/object/component/_post.scss b/source/sass/object/component/_post.scss index e97966b..e367a03 100644 --- a/source/sass/object/component/_post.scss +++ b/source/sass/object/component/_post.scss @@ -71,17 +71,22 @@ word-wrap: break-word; code { + @extend %code-base-style; width: 100%; } } - code { + %code-base-style { background-color: #383737; - padding: 0.2em 0.4em; font-size: 0.9em; color: $color-font-white; } + > code { + @extend %code-base-style; + padding: 0.2em 0.4em; + } + blockquote { margin: 1.6rem 1.2rem; padding: 0 1em; |