MediaWiki:Geshi.css: Difference between revisions
Jump to navigation
Jump to search
(New page: →CSS placed here will be applied to GeSHi syntax highlighting: .mtmacro .de1, .mtmacro .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-ali...) |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to GeSHi syntax highlighting */ | /* CSS placed here will be applied to GeSHi syntax highlighting */ | ||
.mtmacro .de1, .mtmacro .de2 {font: normal normal 1em/1.2em monospace; margin:0; padding:0; background:none; vertical-align:top;} | .mtmacro .de1, .mtmacro .de2 { | ||
.mtmacro {font-family:monospace;} | font: normal normal 1em/1.2em monospace; | ||
.mtmacro .imp {font-weight: bold; color: red;} | margin:0; | ||
.mtmacro li, .mtmacro .li1 {font-weight: normal; vertical-align:top;} | padding:0; | ||
.mtmacro .ln {width:1px;text-align:right;margin:0;padding:0 2px;vertical-align:top;} | background:none; | ||
.mtmacro .li2 {font-weight: bold; vertical-align:top;} | background-color: black; | ||
.mtmacro .kw1 {color: #0099DD; font-weight: bold;} | vertical-align:top; | ||
.mtmacro .kw2 {color: #00CCCC; font-weight: bold;} | } | ||
.mtmacro .es0 {color: #000099; font-weight: bold;} | .mtmacro { | ||
.mtmacro .br0 {color: #66cc66;} | font-family:monospace; | ||
.mtmacro .sy0 {color: #66cc66;} | } | ||
.mtmacro .st0 {color: #ff0000;} | .mtmacro .imp { | ||
.mtmacro .nu0 {color: #cc66cc;} | font-weight: bold; | ||
.mtmacro .sc-1 {color: #808080; font-style: italic;} | color: red; | ||
.mtmacro .sc0 {color: #00bbdd;} | } | ||
.mtmacro .sc1 {color: #009900;} | .mtmacro li, .mtmacro .li1 { | ||
.mtmacro .sc2 {color: #009900;} | font-weight: normal; | ||
.mtmacro .ln-xtra, .mtmacro li.ln-xtra, .mtmacro div.ln-xtra {background-color: #ffc;} | vertical-align:top; | ||
.mtmacro span.xtra { display:block; } | } | ||
.mtmacro .ln { | |||
width:1px; | |||
text-align:right; | |||
margin:0;padding:0 2px; | |||
vertical-align:top; | |||
} | |||
.mtmacro .li2 { | |||
font-weight: bold; | |||
vertical-align:top; | |||
} | |||
.mtmacro .kw1 { | |||
color: #0099DD; | |||
font-weight: bold; | |||
} | |||
.mtmacro .kw2 { | |||
color: #00CCCC; | |||
font-weight: bold; | |||
} | |||
.mtmacro .es0 { | |||
color: #000099; | |||
font-weight: bold; | |||
} | |||
.mtmacro .br0 { | |||
color: #66cc66; | |||
} | |||
.mtmacro .sy0 { | |||
color: #66cc66; | |||
} | |||
.mtmacro .st0 { | |||
color: #ff0000; | |||
} | |||
.mtmacro .nu0 { | |||
color: #cc66cc; | |||
} | |||
.mtmacro .sc-1 { | |||
color: #808080; | |||
font-style: italic; | |||
} | |||
.mtmacro .sc0 { | |||
color: #00bbdd; | |||
} | |||
.mtmacro .sc1 { | |||
color: #009900; | |||
} | |||
.mtmacro .sc2 { | |||
color: #009900; | |||
} | |||
.mtmacro .ln-xtra, .mtmacro li.ln-xtra, .mtmacro div.ln-xtra { | |||
background-color: #ffc; | |||
} | |||
.mtmacro span.xtra { | |||
display:block; | |||
} |
Revision as of 16:42, 28 November 2008
/* CSS placed here will be applied to GeSHi syntax highlighting */
.mtmacro .de1, .mtmacro .de2 {
font: normal normal 1em/1.2em monospace;
margin:0;
padding:0;
background:none;
background-color: black;
vertical-align:top;
}
.mtmacro {
font-family:monospace;
}
.mtmacro .imp {
font-weight: bold;
color: red;
}
.mtmacro li, .mtmacro .li1 {
font-weight: normal;
vertical-align:top;
}
.mtmacro .ln {
width:1px;
text-align:right;
margin:0;padding:0 2px;
vertical-align:top;
}
.mtmacro .li2 {
font-weight: bold;
vertical-align:top;
}
.mtmacro .kw1 {
color: #0099DD;
font-weight: bold;
}
.mtmacro .kw2 {
color: #00CCCC;
font-weight: bold;
}
.mtmacro .es0 {
color: #000099;
font-weight: bold;
}
.mtmacro .br0 {
color: #66cc66;
}
.mtmacro .sy0 {
color: #66cc66;
}
.mtmacro .st0 {
color: #ff0000;
}
.mtmacro .nu0 {
color: #cc66cc;
}
.mtmacro .sc-1 {
color: #808080;
font-style: italic;
}
.mtmacro .sc0 {
color: #00bbdd;
}
.mtmacro .sc1 {
color: #009900;
}
.mtmacro .sc2 {
color: #009900;
}
.mtmacro .ln-xtra, .mtmacro li.ln-xtra, .mtmacro div.ln-xtra {
background-color: #ffc;
}
.mtmacro span.xtra {
display:block;
}