YEAH WE ARE BACK NIGGA, NIGGA SOYCHECKMARK TRIED TO DDOS OUR SERVER HOST NIGGA
MediaWiki:Common.css: Difference between revisions
From Soypaper wiki
Jump to navigationJump to search
NuAngeleno (talk | contribs) No edit summary |
NuAngeleno (talk | contribs) No edit summary |
||
| Line 134: | Line 134: | ||
.main-box-articles .main-box-content > div > div:last-child { | .main-box-articles .main-box-content > div > div:last-child { | ||
border-radius: 0 0 9px 9px !important; | border-radius: 0 0 9px 9px !important; | ||
} | |||
.main-box { | |||
box-sizing: border-box; | |||
min-width: 0; | |||
border: 1px solid #c4d8cd; | |||
border-radius: 9px; | |||
background: #fbfdfb; | |||
overflow: hidden; | |||
box-shadow: 0 2px 5px rgba(39, 75, 56, 0.08); | |||
} | |||
.main-box-whatsnew { | |||
width: 100%; | |||
margin: 0 0 20px; | |||
} | |||
.main-boxes { | |||
display: flex; | |||
flex-wrap: wrap; | |||
align-items: stretch; | |||
gap: 18px; | |||
margin: 0 0 20px; | |||
} | |||
.main-boxes > .main-box { | |||
flex: 1 1 280px; | |||
} | |||
.main-box-heading { | |||
padding: 12px 15px; | |||
background: linear-gradient(110deg, #c0efd8, #dcfffb); | |||
border-bottom: 1px solid #c4d8cd; | |||
border-left: 4px solid #6aa987; | |||
color: #29483b; | |||
font-family: Tahoma, sans-serif; | |||
font-size: 16px; | |||
font-weight: bold; | |||
line-height: 1.4; | |||
} | |||
.main-box-icon { | |||
display: none !important; | |||
} | |||
.main-box-content { | |||
box-sizing: border-box; | |||
padding: 14px; | |||
color: #302f2a; | |||
line-height: 1.55; | |||
border-radius: 0 0 8px 8px; | |||
} | |||
/* Remove the inner Articlebox borders */ | |||
.main-box-content > div { | |||
box-sizing: border-box; | |||
max-width: 100%; | |||
border: none !important; | |||
border-radius: 0 0 8px 8px; | |||
} | |||
/* Make the Recent Changes and New Files panels scroll internally */ | |||
.main-box-content > div > div { | |||
max-width: 100%; | |||
} | |||
/* Poster */ | |||
.main-box-poster { | |||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
background: #f1f8f3; | |||
} | |||
.main-box-poster img { | |||
max-width: 100%; | |||
height: auto; | |||
border-radius: 5px; | |||
} | |||
/* Portals */ | |||
.main-box-portals { | |||
width: 100%; | |||
margin-top: 18px; | |||
} | |||
.main-box-portals .main-box-content { | |||
padding: 18px; | |||
} | |||
@media (max-width: 600px) { | |||
.main-boxes > .main-box { | |||
flex-basis: 100%; | |||
} | |||
} | |||
@media (prefers-reduced-motion: reduce) { | |||
.main-box { | |||
transition: none; | |||
} | |||
} | } | ||
Revision as of 21:34, 25 October 2026
html,
body {
margin: 0;
min-height: 100vh;
background: linear-gradient(to bottom, #dcfffb 0%, #c0efd8 100%) !important;
background-attachment: fixed !important;
background-repeat: no-repeat !important;
background-size: 100% 100% !important;
}
/* Main page box layout */
.main-boxes {
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: 18px;
margin: 8px 0 22px;
}
/* Individual panels */
.main-box {
box-sizing: border-box;
min-width: 0;
border: 1px solid #c4d8cd;
border-radius: 9px;
background: #fbfdfb;
overflow: hidden;
box-shadow: 0 2px 5px rgba(39, 75, 56, 0.08);
transition: box-shadow 160ms ease, transform 160ms ease;
}
.main-boxes > .main-box {
flex: 1 1 280px;
}
.main-box:hover {
box-shadow: 0 5px 14px rgba(39, 75, 56, 0.14);
transform: translateY(-2px);
}
/* Distinctive header strip */
.main-box-heading {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 15px;
background: linear-gradient(110deg, #c0efd8, #dcfffb);
border-bottom: 1px solid #c4d8cd;
border-left: 4px solid #6aa987;
color: #29483b;
font-family: Tahoma, sans-serif;
font-size: 16px;
font-weight: bold;
line-height: 1.4;
}
.main-box-icon {
display: inline-flex;
align-items: center;
justify-content: center;
flex: 0 0 27px;
width: 27px;
height: 27px;
border: 1px solid rgba(65, 112, 85, 0.22);
border-radius: 6px;
background: rgba(255, 255, 255, 0.55);
font-size: 17px;
}
/* Inner content */
.main-box-content {
padding: 14px;
color: #302f2a;
line-height: 1.55;
}
/* Remove old template borders and preserve responsive sizing */
.main-box-content > div {
max-width: 100%;
}
.main-box-content table {
max-width: 100%;
}
/* Poster panel */
.main-box-poster {
display: flex;
justify-content: center;
align-items: center;
min-height: 150px;
background: #f1f8f3;
}
.main-box-poster img {
max-width: 100%;
height: auto;
border-radius: 4px;
}
/* Portals panel */
.main-box-portals {
margin-top: 18px;
}
.main-box-portals .main-box-content {
padding: 18px;
}
/* Keep hover effects subtle for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
.main-box {
transition: none;
}
.main-box:hover {
transform: none;
}
}
/* Round the inner What's New box */
.main-box-articles .main-box-content,
.main-box-articles .main-box-content > div,
.main-box-articles .main-box-content > div > div {
border-radius: 9px !important;
overflow: hidden;
}
/* Round the inner box's header and bottom corners */
.main-box-articles .main-box-content > div > div:first-child {
border-radius: 9px 9px 0 0 !important;
}
.main-box-articles .main-box-content > div > div:last-child {
border-radius: 0 0 9px 9px !important;
}
.main-box {
box-sizing: border-box;
min-width: 0;
border: 1px solid #c4d8cd;
border-radius: 9px;
background: #fbfdfb;
overflow: hidden;
box-shadow: 0 2px 5px rgba(39, 75, 56, 0.08);
}
.main-box-whatsnew {
width: 100%;
margin: 0 0 20px;
}
.main-boxes {
display: flex;
flex-wrap: wrap;
align-items: stretch;
gap: 18px;
margin: 0 0 20px;
}
.main-boxes > .main-box {
flex: 1 1 280px;
}
.main-box-heading {
padding: 12px 15px;
background: linear-gradient(110deg, #c0efd8, #dcfffb);
border-bottom: 1px solid #c4d8cd;
border-left: 4px solid #6aa987;
color: #29483b;
font-family: Tahoma, sans-serif;
font-size: 16px;
font-weight: bold;
line-height: 1.4;
}
.main-box-icon {
display: none !important;
}
.main-box-content {
box-sizing: border-box;
padding: 14px;
color: #302f2a;
line-height: 1.55;
border-radius: 0 0 8px 8px;
}
/* Remove the inner Articlebox borders */
.main-box-content > div {
box-sizing: border-box;
max-width: 100%;
border: none !important;
border-radius: 0 0 8px 8px;
}
/* Make the Recent Changes and New Files panels scroll internally */
.main-box-content > div > div {
max-width: 100%;
}
/* Poster */
.main-box-poster {
display: flex;
justify-content: center;
align-items: center;
background: #f1f8f3;
}
.main-box-poster img {
max-width: 100%;
height: auto;
border-radius: 5px;
}
/* Portals */
.main-box-portals {
width: 100%;
margin-top: 18px;
}
.main-box-portals .main-box-content {
padding: 18px;
}
@media (max-width: 600px) {
.main-boxes > .main-box {
flex-basis: 100%;
}
}
@media (prefers-reduced-motion: reduce) {
.main-box {
transition: none;
}
}