MediaWiki:Common.css: Difference between revisions
Dragon 12dk (talk | contribs) No edit summary |
Dragon 12dk (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
*/ | */ | ||
/* ===== VindexCraft Rules Styling ===== */ | /* ===== VindexCraft Rules Styling (High-Color Sections) ===== */ | ||
.vc-header { | .vc-header { | ||
| Line 13: | Line 13: | ||
} | } | ||
.vc-header .vc-title { | .vc-header .vc-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; } | ||
.vc-header .vc-meta { opacity: .85; margin-bottom: 10px; } | |||
.vc-header .vc-meta .vc-staff { color: #EB0505; font-weight: 800; } | |||
} | |||
.vc-header .vc-meta { | |||
} | |||
.vc-header .vc-meta .vc-staff { | |||
} | |||
/* Rule | /* Rule cards */ | ||
.vc-rule { | .vc-rule { | ||
border: 1px solid #e8e8e8; | border: 1px solid #e8e8e8; | ||
| Line 46: | Line 26: | ||
box-shadow: 0 1px 0 rgba(0,0,0,.04); | box-shadow: 0 1px 0 rgba(0,0,0,.04); | ||
} | } | ||
.vc- | |||
margin- | /* Colorized section headers (H2 inside wrappers) */ | ||
.vc-section-ban > h2, | |||
.vc-section-warn > h2, | |||
.vc-section-kick > h2, | |||
.vc-section-resp > h2, | |||
.vc-section-statute > h2 { | |||
display: block; | |||
padding: 10px 14px; | |||
border-radius: 14px; | |||
margin: 22px 0 14px 0; | |||
border: 1px solid rgba(0,0,0,.08); | |||
letter-spacing: .3px; | |||
} | } | ||
/* | /* Red */ | ||
.vc-section-ban > h2 { | .vc-section-ban > h2 { | ||
background: #EB0505; | |||
color: #fff; | |||
} | } | ||
/* Yellow */ | |||
.vc-section-warn > h2 { | .vc-section-warn > h2 { | ||
background: #EB8F05; | |||
color: #111; | |||
} | } | ||
/* Green */ | |||
.vc-section-kick > h2 { | .vc-section-kick > h2 { | ||
background: #2EA818; | |||
color: #fff; | |||
} | } | ||
/* Blue */ | |||
.vc-section-resp > h2 { | .vc-section-resp > h2 { | ||
background: #367FD9; | |||
color: #fff; | |||
} | } | ||
/* Light green */ | |||
.vc-section-statute > h2 { | .vc-section-statute > h2 { | ||
background: #5CD936; | |||
color: #111; | |||
} | } | ||
/* | /* Optional: make rule cards match the section they're in */ | ||
.vc- | .vc-in-ban .vc-rule { border-left: 8px solid #EB0505; } | ||
.vc-in-warn .vc-rule { border-left: 8px solid #EB8F05; } | |||
.vc-in-kick .vc-rule { border-left: 8px solid #2EA818; } | |||
.vc-in-resp .vc-rule { border-left: 8px solid #367FD9; } | |||
.vc-in-statute .vc-rule { border-left: 8px solid #5CD936; } | |||
} | |||
.vc- | |||
.vc- | |||
.vc- | |||
.vc- | |||
.page-Main_Page figure[typeof="mw:File/Thumb"] { | .page-Main_Page figure[typeof="mw:File/Thumb"] { | ||