diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-08-01 00:44:16 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-08-01 00:44:16 +0300 |
commit | 1aa1f392482ac721e2fabf17e4b4a0cbc6493b0e (patch) | |
tree | edc91ebb2d756fbb9bf572acb5f585c178d66409 /app/assets | |
parent | 3f84c8a680e45f60d2d1b7befc2fb151205df96c (diff) |
Make `code` elements in links display as such
Also adds some minor padding to inline `code` elements.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/base/mixins.scss | 2 | ||||
-rw-r--r-- | app/assets/stylesheets/generic/typography.scss | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/base/mixins.scss b/app/assets/stylesheets/base/mixins.scss index d64e79170b9..7beef1845ef 100644 --- a/app/assets/stylesheets/base/mixins.scss +++ b/app/assets/stylesheets/base/mixins.scss @@ -70,7 +70,7 @@ font-family: $monospace_font; white-space: pre; word-wrap: normal; - padding: 0; + padding: 1px 2px; } kbd { diff --git a/app/assets/stylesheets/generic/typography.scss b/app/assets/stylesheets/generic/typography.scss index 2db4213159a..34b4ee3e17e 100644 --- a/app/assets/stylesheets/generic/typography.scss +++ b/app/assets/stylesheets/generic/typography.scss @@ -38,6 +38,10 @@ code { } } +a > code { + color: $link-color; +} + /** * Wiki typography * |