MediaWiki:Common.css: Difference between revisions

no edit summary
mNo edit summary
No edit summary
 
(43 intermediate revisions by 5 users not shown)
Line 1:
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&display=swap');
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&family=Balsamiq+Sans&family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');
 
body { color: #000000; font-size: 14px; font-family: "Arial"; }
 
/* Main Page */
#p-personal { font-size: 20px; font-family: "Arial"; }
.mp-box {
padding: 10px;
border-radius: 10px;
body { background-color: #383838white; }
width: 100%;
}
 
.mp-sidebar>.mp-box {
#p-cactions .pBody { font-size: 20px; font-family: "Arial"; }
width: calc(100% - 20px);
}
 
#mp-1 {
body { background-color: #383838; }
#p-tb { background-color: #006EC32d499b; }
}
 
#mp-3, #mp-4, #mp-6, #mp-7 {
#globalWrapper { background-color: #383838; }
width: calc(50% - 20px - 5px);
}
 
#mp-sr-container {
#catlinks { background-color: #FFFFFF; }
text-align: center;
font-size: 85%;
display: flex;
gap: 2px;
flex-wrap: wrap;
justify-content: center;
max-width: 400px;
margin: 0 auto;
align-content: space-evenly;
height: calc(100% - 40px);
}
 
#mp-sr-container>div {
#p-navigation { background-color: #006EC3; }
width: 130px;
}
 
.mp-container {
#p-navigation .pBody { background-color: #D8EBFF; }
display: flex;
width: 100%;
gap: 10px;
}
 
.mp-main {
#p-search { background-color: #006EC3; }
width: 80%;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-content: flex-start;
}
 
.mp-sidebar {
#p-search .pBody { background-color: #D8EBFF; }
width: 20%;
}
 
#p-tb { background-color: #006EC3; }
 
/* This will trigger when the screen/browser window is 900px wide or less */
#p-tb .pBody { background-color: #D8EBFF; }
@media screen and (max-width: 900px) {
 
#content { background-color: #D8EBFF; }
 
.mp-container {
#footer { background-color: #FFFFFF!important; }
flex-wrap: wrap;
}
 
.mp-main, .mp-sidebar, #mp-3, #mp-4, #mp-6, #mp-7 {
width: 100%;
}
 
 
}