diff options
author | Daisuke KONISHI <skydai1151@gmail.com> | 2018-06-16 06:14:33 +0300 |
---|---|---|
committer | Daisuke KONISHI <skydai1151@gmail.com> | 2018-06-16 06:14:33 +0300 |
commit | 3a158141173bf5010fe520bf108e09c1c9f8acc0 (patch) | |
tree | b20906a3c2111224bc5d476346b8bc77619b6890 /static | |
parent | 7852b8f288549d876dc9b04d25abaed33fc6d59c (diff) |
add code-tag's style in article
Diffstat (limited to 'static')
-rw-r--r-- | static/css/application.css | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/static/css/application.css b/static/css/application.css index f48df8c..216dfb3 100644 --- a/static/css/application.css +++ b/static/css/application.css @@ -197,6 +197,11 @@ button { .c-post__body pre code { width: 100%; color: #f6f6f6; } + .c-post__body p > code { + color: #f46150; + background-color: #efefef; + padding: 0.2em 0.4em; + font-size: 0.9em; } .c-post__body blockquote { margin: 1.6rem 1.2rem; padding: 0 1em; @@ -216,11 +221,13 @@ button { font-size: 15px; color: #494949; } -.related-articles__links { - list-style-type: none; - padding-left: 0; } - .related-articles__links__item { - margin-top: 2em; } +.related-articles { + margin-top: 40px; } + .related-articles__links { + list-style-type: none; + padding-left: 0; } + .related-articles__links__item { + margin-top: 2em; } .related-article__link { text-decoration: none; |