mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:22:45 +08:00
FIX: Github oneboxes in dark theme
This commit is contained in:
parent
78dcf30444
commit
e81f21d848
|
@ -14,7 +14,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
.hljs-template_comment,
|
||||
.diff .hljs-header,
|
||||
.hljs-javadoc {
|
||||
color: #998;
|
||||
color: dark-light-choose(#998, #bba);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
@ -33,14 +33,14 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
.hljs-number,
|
||||
.hljs-hexcolor,
|
||||
.ruby .hljs-constant {
|
||||
color: #099;
|
||||
color: dark-light-choose(#099, #aff);
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-tag .hljs-value,
|
||||
.hljs-phpdoc,
|
||||
.tex .hljs-formula {
|
||||
color: dark-light-choose(#d14, #f66);
|
||||
color: dark-light-choose(#d14, #f99);
|
||||
}
|
||||
|
||||
.hljs-title,
|
||||
|
@ -62,7 +62,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
.haskell .hljs-type,
|
||||
.vhdl .hljs-literal,
|
||||
.tex .hljs-command {
|
||||
color: #458;
|
||||
color: dark-light-choose(#458, #9AE);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ github.com style (c) Vasily Polovnyov <vast@whiteants.net>
|
|||
.lisp .hljs-keyword,
|
||||
.tex .hljs-special,
|
||||
.hljs-prompt {
|
||||
color: #990073;
|
||||
color: dark-light-choose(#990073, #fbe);
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
|
|
|
@ -159,7 +159,7 @@ pre.onebox code ol.lines li:before {
|
|||
display:inline-block;
|
||||
width:35px;
|
||||
left: -40px;
|
||||
background: #F7F7F7;
|
||||
background: dark-light-choose(#F7F7F7, #070707);
|
||||
color:#AFAFAF;
|
||||
text-align:right;
|
||||
padding-right:5px;
|
||||
|
@ -174,8 +174,10 @@ pre.onebox code ol{
|
|||
margin-left:0px;
|
||||
line-height:1.5em;
|
||||
}
|
||||
pre.onebox code {
|
||||
background-color: dark-light-choose(#fff, #000);
|
||||
}
|
||||
pre.onebox code li{
|
||||
background-color:#fff;
|
||||
padding-left:5px;
|
||||
}
|
||||
|
||||
|
@ -194,7 +196,7 @@ pre.onebox code ol.lines li {
|
|||
}
|
||||
|
||||
pre.onebox code li.selected{
|
||||
background-color:#F8EEC7
|
||||
background-color: dark-light-choose(#F8EEC7, #541);
|
||||
}
|
||||
|
||||
pre.onebox code {
|
||||
|
|
Loading…
Reference in New Issue
Block a user