diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index ac92dbb17c6..ed0d0bc5166 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -1007,3 +1007,7 @@ a.attachment:before { font-family: "FontAwesome"; content: "\f019"; } + + + + diff --git a/app/assets/stylesheets/desktop/topic.scss b/app/assets/stylesheets/desktop/topic.scss index 2188767c742..5264fd04427 100644 --- a/app/assets/stylesheets/desktop/topic.scss +++ b/app/assets/stylesheets/desktop/topic.scss @@ -193,3 +193,30 @@ i {background: #e4f2f8; } +/* Code, KBD, Sub/sup formatting */ + + +code,kbd,pre,samp{ + font-family:monospace, serif;font-size:1em +} +pre { white-space:pre-wrap= } +q{ quotes:"\201C" "\201D" "\2018" "\2019" } +small{ font-size:80% } +sub,sup{ + font-size:75%; + line-height:0; + position:relative; + vertical-align:baseline +} +sup{top:-0.5em} +sub{bottom:-0.25em} +figure{margin:0} +fieldset{ + border:1px solid #c0c0c0; + margin:0 2px; + padding:0.35em 0.625em 0.75em +} +legend{ + border:0; + padding:0 +}