Template
Box2/styles.css
From Dogcraft Wiki
No edit summary |
(Boxes should be full width on mobile) |
||
(One intermediate revision by one other user not shown) | |||
Line 13: | Line 13: | ||
border: 0 solid #8b0024; | border: 0 solid #8b0024; | ||
border-top-width: 5px; | border-top-width: 5px; | ||
} | |||
@media screen and (max-width: 999px) { | |||
.wiki-content-box { | |||
width: auto !important; | |||
} | |||
} | } | ||
Line 18: | Line 24: | ||
font-size: 26px; | font-size: 26px; | ||
margin-top: 0; | margin-top: 0; | ||
margin-bottom: 10px; | |||
text-align: center; | text-align: center; | ||
} | } |
Latest revision as of 01:07, 4 December 2023
.wiki-content-box {
display: flex;
flex-direction: column;
flex-grow: 1;
position: relative;
margin: 10px auto 0;
z-index: 2;
background: rgba(255, 255, 255, .92);
padding: 25px;
max-width: 1300px;
border-radius: 5px;
box-shadow: 2px 0 5px rgba(85, 85, 85, .25), 2px 0 10px rgba(85, 85, 85, .18);
border: 0 solid #8b0024;
border-top-width: 5px;
}
@media screen and (max-width: 999px) {
.wiki-content-box {
width: auto !important;
}
}
.wiki-content-box-header {
font-size: 26px;
margin-top: 0;
margin-bottom: 10px;
text-align: center;
}