Unterschied: MediaWiki:Common.css
MediaWiki interface page
Ansichten
Aktionen
Namensräume
Varianten
Werkzeuge
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 3: | Zeile 3: | ||
* { | * { | ||
outline: none; | outline: none; | ||
} | |||
/** Ref Image margin **/ | |||
.reference-text img { | |||
margin-right: 5px; | |||
} | |||
/** Base Table styles */ | |||
.mw-capiunto-infobox.wikitable { | |||
margin-top: 0; | |||
margin-left: 2rem; | |||
} | |||
.mw-capiunto-infobox caption, | |||
table.mw-capiunto-infobox caption { | |||
text-align: center; | |||
padding-bottom: 0.5rem; | |||
} | |||
table.mw-capiunto-infobox tbody tr:first-of-type > :first-child { | |||
overflow: hidden; | |||
border-top-left-radius: 1rem; | |||
} | |||
table.mw-capiunto-infobox tbody tr:first-of-type > :last-child { | |||
border-top-right-radius: 1rem; | |||
overflow: hidden; | |||
} | |||
table.mw-capiunto-infobox tbody tr:last-of-type > :first-child { | |||
overflow: hidden; | |||
border-bottom-left-radius: 1rem; | |||
} | |||
table.mw-capiunto-infobox tbody tr:last-of-type > :last-child { | |||
border-bottom-right-radius: 1rem; | |||
overflow: hidden; | |||
} | |||
/** TimedMediaHandler fixes **/ | |||
.center .mediaContainer { | |||
margin: 0 auto; | |||
} | |||
.mw-tmh-player { | |||
position: relative; | |||
} | |||
.mw-tmh-play { | |||
display: block; | |||
left: 0; | |||
position: absolute; | |||
top: 0; | |||
right: 0; | |||
bottom: 0; | |||
} | |||
/** EmbedVideo **/ | |||
.embedvideo { | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
/** Ul styles **/ | |||
.ul-col-2 { | |||
column-count: 2; | |||
} | |||
.ul-col-3 { | |||
column-count: 3; | |||
} | |||
.ul-col-4 { | |||
column-count: 4; | |||
} | |||
/** Helper */ | |||
.text-center { | |||
text-align: center; | |||
} | |||
.broadtable { | |||
display: table; | |||
} | |||
.center-block { | |||
display: block; | |||
text-align: center; | |||
} | |||
.img-responsive { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
/** Timeless **/ | |||
body.skin-timeless .mw-wiki-logo { | |||
background-size: contain; | |||
} | |||
@media screen and (max-width: 460px) { | |||
.mw-capiunto-infobox { | |||
float: none; | |||
} | |||
.mw-capiunto-infobox.wikitable { | |||
margin-left: 0; | |||
} | |||
} | } |
Version vom 5. Juni 2021, 10:26 Uhr
/* CSS placed here will be applied to all skins */
* {
outline: none;
}
/** Ref Image margin **/
.reference-text img {
margin-right: 5px;
}
/** Base Table styles */
.mw-capiunto-infobox.wikitable {
margin-top: 0;
margin-left: 2rem;
}
.mw-capiunto-infobox caption,
table.mw-capiunto-infobox caption {
text-align: center;
padding-bottom: 0.5rem;
}
table.mw-capiunto-infobox tbody tr:first-of-type > :first-child {
overflow: hidden;
border-top-left-radius: 1rem;
}
table.mw-capiunto-infobox tbody tr:first-of-type > :last-child {
border-top-right-radius: 1rem;
overflow: hidden;
}
table.mw-capiunto-infobox tbody tr:last-of-type > :first-child {
overflow: hidden;
border-bottom-left-radius: 1rem;
}
table.mw-capiunto-infobox tbody tr:last-of-type > :last-child {
border-bottom-right-radius: 1rem;
overflow: hidden;
}
/** TimedMediaHandler fixes **/
.center .mediaContainer {
margin: 0 auto;
}
.mw-tmh-player {
position: relative;
}
.mw-tmh-play {
display: block;
left: 0;
position: absolute;
top: 0;
right: 0;
bottom: 0;
}
/** EmbedVideo **/
.embedvideo {
display: flex;
flex-direction: column;
}
/** Ul styles **/
.ul-col-2 {
column-count: 2;
}
.ul-col-3 {
column-count: 3;
}
.ul-col-4 {
column-count: 4;
}
/** Helper */
.text-center {
text-align: center;
}
.broadtable {
display: table;
}
.center-block {
display: block;
text-align: center;
}
.img-responsive {
max-width: 100%;
height: auto;
}
/** Timeless **/
body.skin-timeless .mw-wiki-logo {
background-size: contain;
}
@media screen and (max-width: 460px) {
.mw-capiunto-infobox {
float: none;
}
.mw-capiunto-infobox.wikitable {
margin-left: 0;
}
}