Fix CSS for code highlighting
This commit is contained in:
parent
d2767221a5
commit
dc99b19af7
|
@ -95,8 +95,8 @@
|
||||||
pre {
|
pre {
|
||||||
padding:0;
|
padding:0;
|
||||||
margin:0;
|
margin:0;
|
||||||
background:none;
|
|
||||||
border:none;
|
border:none;
|
||||||
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -142,8 +142,8 @@
|
||||||
table-layout: fixed;
|
table-layout: fixed;
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
background: none;
|
|
||||||
border: none;
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
|
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
|
||||||
font-size: 12px !important;
|
font-size: 12px !important;
|
||||||
line-height: 16px !important;
|
line-height: 16px !important;
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
.black .lines .highlight {
|
.black .highlight {
|
||||||
background: #333;
|
pre {
|
||||||
pre { color: #eee; }
|
background-color: #333;
|
||||||
|
color: #eee;
|
||||||
|
}
|
||||||
|
|
||||||
.hll { display: block; background-color: darken($hover, 65%) }
|
.hll { display: block; background-color: darken($hover, 65%) }
|
||||||
.c { color: #888888; font-style: italic } /* Comment */
|
.c { color: #888888; font-style: italic } /* Comment */
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
.white .lines .highlight {
|
.white .highlight {
|
||||||
background: white;
|
pre {
|
||||||
pre { color: #333; }
|
background-color: #fff;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
.hll { display: block; background-color: $hover }
|
.hll { display: block; background-color: $hover }
|
||||||
.c { color: #888888; font-style: italic } /* Comment */
|
.c { color: #888888; font-style: italic } /* Comment */
|
||||||
|
|
Loading…
Reference in a new issue