MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
} | } | ||
.split-table td{ | |||
width: 50%; | |||
.embedvideo, .embedvideo-wrapper, video{ | |||
height: 100% !important; | |||
width: 100% !important; | |||
} | |||
} | |||
| Line 37: | Line 44: | ||
margin: -2px; | margin: -2px; | ||
} | } | ||
.tabber{ | |||
header, article{ | |||
width: max-content; | |||
} | |||
section{ | |||
width: 256px; | |||
} | |||
p{ | |||
margin: 0; | |||
} | |||
} | |||
} | } | ||
| Line 84: | Line 103: | ||
background: var(--color-progressive); | background: var(--color-progressive); | ||
border-bottom: 2px solid var(--border-color-base); | border-bottom: 2px solid var(--border-color-base); | ||
width: 100%; | |||
} | } | ||
Latest revision as of 15:29, 17 March 2026
/* CSS placed here will be applied to all skins */
/*@import url("/vswiki/index.php?action=raw&ctype=text/css&title=MediaWiki:MainPage.css")*/
.centered {
justify-content: center;
justify-items: center;
text-align: center;
}
.bordered{
padding: 0px;
margin: 8px;
border-radius: 8px;
border: 2px solid var(--border-color-base);
overflow: hidden;
}
.split-table td{
width: 50%;
.embedvideo, .embedvideo-wrapper, video{
height: 100% !important;
width: 100% !important;
}
}
/* ========================== INFOBOX ========================== */
.infobox-table{
display: block;
width: max-content;
float: right;
th{
margin: 0px;
padding: 8px;
background: var(--color-progressive);
border-bottom: 2px solid var(--border-color-base);
}
tbody{
display: block;
margin: -2px;
}
.tabber{
header, article{
width: max-content;
}
section{
width: 256px;
}
p{
margin: 0;
}
}
}
.infobox-row{
display: flex;
flex-direction: row;
gap: 1rem;
.label{
text-align: right;
flex: 1;
}
.value{
flex: 1.75;
}
p{margin: 0;}
}
@media (max-width: 600px) {
.infobox-table{
float: none;
margin: auto;
}
}
/* ========================== ABILITIES ========================== */
.ability-table{
width: calc(100% - 300px);
}
/* ========================== MAIN PAGE ========================== */
.mainpage-wrapper{
display: flex;
flex-direction: column-reverse;
}
.bordered{
.mw-heading{
margin: 0px;
padding: 8px;
background: var(--color-progressive);
border-bottom: 2px solid var(--border-color-base);
width: 100%;
}
h1,h2,h3,h4,h5,h6{
margin: 0;
}
>p{
margin: 16px 8px;
}
}
@media (min-width: 1100px) {
.mainpage-wrapper{
flex-direction: row;
}
.mainpage-left{
flex: 2;
}
.mainpage-right{
flex: 1;
}
}