MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } | ||
/* csslint adjoining-classes:false */ | |||
/* See also [[Special:Mypage/vector.css]], [[MediaWiki:Vector.css]] */ | |||
/* make headers include contained floats, so they don't wander around (yes, is | |||
magic, it tells the browser the tag is a container) */ | |||
h1, | |||
h2, | |||
h3, | |||
h4, | |||
h5, | |||
h6 { | |||
width: auto; | |||
} | |||
sup, | |||
sub { /* prevent odd line-height for raised and lowered characters */ | |||
line-height: 1em; | |||
} | |||
/* and keep links at normal font size/weight, else they inherit the header | |||
attributes */ | |||
.editsection { | |||
font-size: 100%; | |||
font-weight: normal; | |||
} | |||
pre code, code code { | |||
border: none; | |||
padding: 0; | |||
} | |||
pre var, code var { | |||
color: #777; | |||
} |
Revision as of 14:34, 29 December 2022
/* CSS placed here will be applied to all skins */
.wikitable.mw-collapsible.mw-collapsed.mw-collapse-toggle {
float:right!important;
}
.wikitable b {
float:left!important;
}
:not(wikitable) .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible) th:before, .mw-content-rtl .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible) th:before, .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible):before, .mw-content-rtl .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible):before, .mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
float: none;
left:5px;
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* csslint adjoining-classes:false */
/* See also [[Special:Mypage/vector.css]], [[MediaWiki:Vector.css]] */
/* make headers include contained floats, so they don't wander around (yes, is
magic, it tells the browser the tag is a container) */
h1,
h2,
h3,
h4,
h5,
h6 {
width: auto;
}
sup,
sub { /* prevent odd line-height for raised and lowered characters */
line-height: 1em;
}
/* and keep links at normal font size/weight, else they inherit the header
attributes */
.editsection {
font-size: 100%;
font-weight: normal;
}
pre code, code code {
border: none;
padding: 0;
}
pre var, code var {
color: #777;
}