Difference between revisions of "MediaWiki:Common.css"
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/** CSS placed here will be applied to all skins */ | /** CSS placed here will be applied to all skins */ | ||
body.page-Datorikas_Fakultāte .generated-sidebar { display: none; } | 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 h? */ | ||
+ | |||
+ | h1:first-of-type { margin-top: 0px; } | ||
+ | h1 { | ||
+ | margin-top: 20px; | ||
+ | color: green; | ||
+ | } | ||
+ | |||
+ | h2:first-of-type { | ||
+ | margin-top: 0px; | ||
+ | color: darkolivegreen; | ||
+ | } | ||
+ | h2 { | ||
+ | margin-top: 10px; | ||
+ | color: darkolivegreen; | ||
+ | } | ||
+ | |||
+ | h3:first-of-type { margin-top: 0px; } | ||
+ | h3 { margin-top: 6px; } | ||
+ | |||
+ | |||
+ | /* LS: hide history */ | ||
+ | #ca-history { display:none!important; } | ||
+ | |||
+ | #ca-talk { display:none!important; } | ||
+ | |||
+ | #ca-viewsource { display:none!important; } |
Latest revision as of 18:36, 13 April 2020
/** 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 h? */
h1:first-of-type { margin-top: 0px; }
h1 {
margin-top: 20px;
color: green;
}
h2:first-of-type {
margin-top: 0px;
color: darkolivegreen;
}
h2 {
margin-top: 10px;
color: darkolivegreen;
}
h3:first-of-type { margin-top: 0px; }
h3 { margin-top: 6px; }
/* LS: hide history */
#ca-history { display:none!important; }
#ca-talk { display:none!important; }
#ca-viewsource { display:none!important; }