Fix CSS for code highlighting

This commit is contained in:
Riyad Preukschas 2012-11-27 22:50:24 +01:00
parent d2767221a5
commit dc99b19af7
3 changed files with 12 additions and 8 deletions

View file

@ -95,8 +95,8 @@
pre {
padding:0;
margin:0;
background:none;
border:none;
border-radius: 0;
}
}
}
@ -142,8 +142,8 @@
table-layout: fixed;
pre {
background: none;
border: none;
border-radius: 0;
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
font-size: 12px !important;
line-height: 16px !important;

View file

@ -1,6 +1,8 @@
.black .lines .highlight {
background: #333;
pre { color: #eee; }
.black .highlight {
pre {
background-color: #333;
color: #eee;
}
.hll { display: block; background-color: darken($hover, 65%) }
.c { color: #888888; font-style: italic } /* Comment */

View file

@ -1,6 +1,8 @@
.white .lines .highlight {
background: white;
pre { color: #333; }
.white .highlight {
pre {
background-color: #fff;
color: #333;
}
.hll { display: block; background-color: $hover }
.c { color: #888888; font-style: italic } /* Comment */