MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
justify-items: center; | justify-items: center; | ||
text-align: center; | text-align: center; | ||
} | |||
/* ========================== INFOBOX ========================== */ | |||
.infobox-row{ | |||
flex-direction: row; | |||
.label{ | |||
background: red; | |||
flex: 2; | |||
} | |||
.value{ | |||
flex: 1; | |||
} | |||
} | } | ||
Revision as of 04:35, 15 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;
}
/* ========================== INFOBOX ========================== */
.infobox-row{
flex-direction: row;
.label{
background: red;
flex: 2;
}
.value{
flex: 1;
}
}
/* ========================== MAIN PAGE ========================== */
.mainpage-wrapper{
display: flex;
flex-direction: column;
}
.mainpage-box{
padding: 0px;
margin: 8px;
border-radius: 8px;
border: 2px solid var(--border-color-base);
overflow: hidden;
.mw-heading{
margin: 0px;
padding: 8px;
background: var(--color-progressive);
border-bottom: 2px solid var(--border-color-base);
}
h1,h2,h3,h4,h5,h6{
margin: 0;
}
}
@media (min-width: 1100px) {
.mainpage-wrapper{
flex-direction: row;
}
.mainpage-left{
flex: 2;
}
.mainpage-right{
flex: 1;
}
}