Difference between revisions of "MediaWiki:Common.css"
m |
m |
||
Line 48: | Line 48: | ||
/* code highlighter */ | /* code highlighter */ | ||
#mw-geshi{ | #mw-geshi{ | ||
− | font-size: 1em; | + | font-size: 1em !important; |
} | } |
Revision as of 12:43, 6 March 2013
/** CSS placed here will be applied to all skins */
.prettytable {background: #f9f9f9;
border: 1px solid #aaa;
border-collapse: collapse;
margin: 1em 1em 1em 0;}
.prettytable th,.prettytable td {
border: 1px solid #aaa;
padding: 0.2em;}
.prettytable th {
text-align: center;
background-color: #ececec;
}.prettytable caption {
font-weight: bold;
}
/* left entries of tables with class="hwtable" will be displayed in bold text; used in the hardware testing tables */
.hwtable tr td:first-child {
font-weight: bold;
}
/* display the TOC on the right side with floating text */
#toc{
float:right;
margin-right: 10px;
margin-left: 10px;
}
pre, .mw-code{
overflow: auto;
}
/* table in "zebra style": alternating white and gray */
table.wikitable.zebra > tbody > :nth-child(even){
background-color: #fff;
}
/* underline links only when mouse is over; did not work for some reason... */
a{
text-decoration: none !important;
}
a:hover{
text-decoration: underline !important;
}
#topMenu a:hover{
text-decoration:none !important;
}
/* code highlighter */
#mw-geshi{
font-size: 1em !important;
}