MediaWiki:Common.css: Difference between revisions

From Trollpasta Wiki
Jump to navigationJump to search
Content added Content deleted
mNo edit summary
No edit summary
 
(29 intermediate revisions by 3 users not shown)
Line 1: 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: 12px; font-family: "Arial"; }


/* Main Page */
#p-personal { font-size: 15px; font-family: "Arial"; }
.mp-box {
padding: 10px;
border-radius: 10px;
background-color: white;
width: 100%;
}


.mp-sidebar>.mp-box {
#p-personal a:visited { color: #d8ebff !IMPORTANT; }
width: calc(100% - 20px);
}


#mp-1 {
#p-personal a:link { color: #ffffff !IMPORTANT; }
background-color: #2d499b;
}


#mp-3, #mp-4, #mp-6, #mp-7 {
#p-cactions .pBody { font-size: 15px; font-family: "Arial"; }
width: calc(50% - 20px - 5px);
}


#mp-sr-container {
a:visited { color: #8D1CDB !IMPORTANT; }
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 {
a:link { color: #3222E9 !IMPORTANT; }
width: 130px;
}


.mp-container {
a.new:link { color: #F25500 !IMPORTANT; }
display: flex;
width: 100%;
gap: 10px;
}


.mp-main {
a.new:visited { color: #3D69C4 !IMPORTANT; }
width: 80%;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-content: flex-start;
}


.mp-sidebar {
body { background-color: #001938; }
width: 20%;
}


#globalWrapper { background-color: #001938; }


/* This will trigger when the screen/browser window is 900px wide or less */
#catlinks { background-color: #FFFFFF; }
@media screen and (max-width: 900px) {


#p-navigation { background-color: #006EC3; }


.mp-container {
#p-navigation .pBody { background-color: #D8EBFF; }
flex-wrap: wrap;
}


.mp-main, .mp-sidebar, #mp-3, #mp-4, #mp-6, #mp-7 {
#p-search { background-color: #006EC3; }
width: 100%;

#p-search .pBody { background-color: #D8EBFF; }

#p-tb { background-color: #006EC3; }

#p-tb .pBody { background-color: #D8EBFF; }

#content { background-color: #D8EBFF; }

#footer { background-color: #FFFFFF!important; }

body .oo-ui-icon-tray,
.mw-ui-icon-tray:before {
background: url( "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' stroke='%23@fff' stroke-width = '2px' fill='none' viewBox='0 0 28 28'%3e%3cpath d='M 2 5 L 26 5 L 26 23 L 2 23 Z M 2 9 L 14 19 L 26 9 L 26 23 L 2 23 Z M 2 23 L 10 15 Z M 26 23 L 18 15 Z'/%3e%3c/svg%3e" ) no-repeat;
background-size: cover;
}
}



body .oo-ui-icon-bell,
.mw-ui-icon-bell:before {
background: url( "data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' stroke='%23@fff' stroke-width = '2px' fill='none' viewBox='0 0 28 28'%3e%3cpath d='M 2 21 L 6 15 L 6 10 A 5 5 180 0 1 22 10 L 22 15 L 26 21 Z M 18 21.5 A 4 4.5 180 0 1 10 21.5'/%3e%3c/svg%3e" ) no-repeat;
background-size: cover;
}
}

Latest revision as of 15:13, 29 October 2022

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300&display=swap');
@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');


/* Main Page */
.mp-box {
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    width: 100%;
}

.mp-sidebar>.mp-box {
    width: calc(100% - 20px);
}

#mp-1 {
    background-color: #2d499b;
}

#mp-3, #mp-4, #mp-6, #mp-7 {
    width: calc(50% - 20px - 5px);
}

#mp-sr-container {
    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 {
    width: 130px;
}

.mp-container {
    display: flex; 
    width: 100%; 
    gap: 10px;
}

.mp-main {
   width: 80%;
   display: flex;
   flex-wrap: wrap;
   gap: 10px;
   align-content: flex-start;
}

.mp-sidebar {
    width: 20%;
}


/* This will trigger when the screen/browser window is 900px wide or less */
@media screen and (max-width: 900px) {


.mp-container {
    flex-wrap: wrap;
}

.mp-main, .mp-sidebar, #mp-3, #mp-4, #mp-6, #mp-7 {
    width: 100%;
}


}