MediaWiki:Common.css: Difference between revisions
From KSI Wiki
No edit summary Tag: Manual revert |
mNo edit summary |
||
| Line 29: | Line 29: | ||
display: inline-block; | display: inline-block; | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
/* ===== KSI Modern Profile Layout (DarkVector-safe) ===== */ | |||
.ksiprofile{ | |||
display:grid; | |||
grid-template-columns: 1fr 340px; | |||
gap:18px; | |||
align-items:start; | |||
} | |||
@media (max-width: 900px){ | |||
.ksiprofile{ grid-template-columns: 1fr; } | |||
} | |||
.ksicard{ | |||
background: rgba(255,255,255,0.03); | |||
border: 1px solid rgba(255,255,255,0.10); | |||
border-radius: 14px; | |||
padding: 14px 16px; | |||
box-shadow: 0 10px 24px rgba(0,0,0,0.22); | |||
margin: 12px 0; | |||
} | |||
@media (min-width: 901px){ | |||
.ksisticky{ position: sticky; top: 76px; } | |||
} | |||
/* Clean section headings inside cards */ | |||
.ksicard h2{ | |||
border-bottom: 0 !important; | |||
margin-top: 0.2em; | |||
padding-bottom: 6px; | |||
} | |||
/* Optional: make images (awards/badges) feel modern on hover */ | |||
.ksicard img{ | |||
border-radius: 10px; | |||
transition: transform 120ms ease, box-shadow 120ms ease; | |||
} | |||
.ksicard img:hover{ | |||
transform: scale(1.04); | |||
box-shadow: 0 10px 18px rgba(0,0,0,0.35); | |||
} | } | ||
Revision as of 11:29, 2 January 2026
/* CSS placed here will be applied to all skins */
.HOF-Background {
background-image: url("http://wiki.ksiglobal.com/images/7/70/Hall_of_fame_bg.png");
width:250px;
height:75px;
}
.Red-Background {
background-image: url("https://wiki.ksiglobal.com/images/a/a1/Red-Background.png");
width:250px;
height:75px;
}
.Blue-Background {
background-image: url("https://wiki.ksiglobal.com/images/5/53/Blue_bg.png");
width:250px;
height:75px;
}
.Green-Background {
background-image: url("https://wiki.ksiglobal.com/images/b/b2/United_bg.png");
width:250px;
height:75px;
}
.AlignTop {
display: inline-block;
vertical-align: top;
}
/* ===== KSI Modern Profile Layout (DarkVector-safe) ===== */
.ksiprofile{
display:grid;
grid-template-columns: 1fr 340px;
gap:18px;
align-items:start;
}
@media (max-width: 900px){
.ksiprofile{ grid-template-columns: 1fr; }
}
.ksicard{
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.10);
border-radius: 14px;
padding: 14px 16px;
box-shadow: 0 10px 24px rgba(0,0,0,0.22);
margin: 12px 0;
}
@media (min-width: 901px){
.ksisticky{ position: sticky; top: 76px; }
}
/* Clean section headings inside cards */
.ksicard h2{
border-bottom: 0 !important;
margin-top: 0.2em;
padding-bottom: 6px;
}
/* Optional: make images (awards/badges) feel modern on hover */
.ksicard img{
border-radius: 10px;
transition: transform 120ms ease, box-shadow 120ms ease;
}
.ksicard img:hover{
transform: scale(1.04);
box-shadow: 0 10px 18px rgba(0,0,0,0.35);
}