Difference between revisions of "MediaWiki:Common.css"
Line 19: | Line 19: | ||
/* Extra Indent before h1 */ | /* Extra Indent before h1 */ | ||
+ | h1:first { | ||
+ | color:green; | ||
+ | margin-top: 0px; | ||
+ | } | ||
h1 { | h1 { | ||
margin-top: 20px; | margin-top: 20px; | ||
} | } | ||
+ | |||
+ | $('#content h2:first').css('color', 'yellow'); | ||
+ | |||
h2 { | h2 { | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } |
Revision as of 11:30, 28 June 2012
/** CSS placed here will be applied to all skins */
body.page-Datorikas_Fakultāte .generated-sidebar { display: none; }
/* Hint: http://www.w3.org/TR/CSS21/propidx.html */
table {
background-color: #fffff7;
border-collapse : collapse;
}
table th, table td {
padding: 4px;
}
table th {
color: #000077;
}
/* Extra Indent before h1 */
h1:first {
color:green;
margin-top: 0px;
}
h1 {
margin-top: 20px;
}
$('#content h2:first').css('color', 'yellow');
h2 {
margin-top: 10px;
}