MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary Tag: Manual revert |
||
(40 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 */ | ||
.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 { | .wikitable.mw-collapsible.mw-collapsed.mw-collapse-toggle { | ||
float:right!important; | |||
} | |||
.wikitable b { | |||
float:left!important; | |||
} | |||
.mw-redirect { font-style: normal; } | |||
: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; | float: none; | ||
left:5px; | 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; | |||
} | } |
Latest revision as of 04:04, 2 January 2024
/* 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;
}
.mw-redirect { font-style: normal; }
: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;
}