mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 23:07:28 +08:00
Merge pull request #2200 from awesomerobot/master
adding styles for preformatted text not covered by highlight.js
This commit is contained in:
@ -218,7 +218,16 @@ a:hover.reply-new {
|
|||||||
code,kbd,pre,samp{
|
code,kbd,pre,samp{
|
||||||
font-family:monospace, serif; font-size:1em;
|
font-family:monospace, serif; font-size:1em;
|
||||||
}
|
}
|
||||||
pre { white-space:pre-wrap;}
|
pre {
|
||||||
|
code {
|
||||||
|
white-space:pre-wrap;
|
||||||
|
display: block;
|
||||||
|
padding: 5px 10px;
|
||||||
|
color: $primary_text_color;
|
||||||
|
background: lighten($secondary_background_color, 76%);
|
||||||
|
max-height: 500px;
|
||||||
|
}
|
||||||
|
}
|
||||||
q{ quotes:"\201C" "\201D" "\2018" "\2019"; }
|
q{ quotes:"\201C" "\201D" "\2018" "\2019"; }
|
||||||
small{ font-size:80%; }
|
small{ font-size:80%; }
|
||||||
sub,sup{
|
sub,sup{
|
||||||
|
Reference in New Issue
Block a user