MediaWiki:Common.css: Difference between revisions
From Trollpasta Wiki
Jump to navigationJump to search
Content added Content deleted
No edit summary Tag: Reverted |
Thermometer (talk | contribs) No edit summary |
||
(17 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&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=Acme&family=Balsamiq+Sans&family=Bebas+Neue&display=swap'); |
||
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'); |
|||
.mpbutton { |
|||
/* Main Page */ |
|||
color: #fefefe; |
|||
.mp-box { |
|||
⚫ | |||
padding: 10px; |
|||
border-radius: 10px; |
|||
⚫ | |||
border: 1px solid #3d67d6; |
|||
width: 100%; |
|||
⚫ | |||
⚫ | |||
padding: 4px; |
|||
⚫ | |||
white-space: nowrap; |
|||
⚫ | |||
cursor: pointer; |
|||
} |
} |
||
.mp-sidebar>.mp-box { |
|||
.mpbutton:hover { |
|||
width: calc(100% - 20px); |
|||
⚫ | |||
text-decoration: none; |
|||
} |
} |
||
#mp-1 { |
|||
.mpbutton a, |
|||
background-color: #2d499b; |
|||
.mpbutton a.external { |
|||
} |
|||
color:#fefefe; |
|||
text-decoration: none; |
|||
#mp-3, #mp-4, #mp-6, #mp-7 { |
|||
⚫ | |||
width: |
width: calc(50% - 20px - 5px); |
||
} |
|||
⚫ | |||
letter-spacing: 1px; |
|||
#mp-sr-container { |
|||
⚫ | |||
⚫ | |||
⚫ | |||
gap: 2px; |
|||
flex-wrap: wrap; |
|||
justify-content: center; |
|||
max-width: 400px; |
|||
⚫ | |||
align-content: space-evenly; |
|||
height: calc(100% - 40px); |
|||
} |
|||
#mp-sr-container>div { |
|||
width: 130px; |
|||
} |
|||
.mp-container { |
|||
display: flex; |
|||
⚫ | |||
gap: 10px; |
|||
} |
|||
.mp-main { |
|||
width: 80%; |
|||
⚫ | |||
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 { |
|||
⚫ | |||
} |
|||
} |
} |
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%;
}
}