MediaWiki:Common.css: Difference between revisions

No edit summary
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; }
  font-size: 22px;
.vc-header .vc-meta { opacity: .85; margin-bottom: 10px; }
  font-weight: 800;
.vc-header .vc-meta .vc-staff { color: #EB0505; font-weight: 800; }
  margin-bottom: 6px;
}
 
.vc-header .vc-meta {
  opacity: .8;
  margin-bottom: 10px;
}
 
.vc-header .vc-meta .vc-staff {
  color: #EB0505;
  font-weight: 700;
}
 
.vc-header .vc-links a {
  text-decoration: none;
}
.vc-header .vc-links {
  margin-top: 10px;
  line-height: 1.6;
}


/* Rule “cards” */
/* 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-rule h3, .vc-rule h4 {
 
   margin-top: 0.2em;
/* 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;
}
}


/* Section severity accents (color bars on H2) */
/* Red */
.vc-section-ban > h2 {
.vc-section-ban > h2 {
   border-left: 8px solid #EB0505;
   background: #EB0505;
   padding-left: 10px;
   color: #fff;
}
}
/* Yellow */
.vc-section-warn > h2 {
.vc-section-warn > h2 {
   border-left: 8px solid #EB8F05;
   background: #EB8F05;
   padding-left: 10px;
   color: #111;
}
}
/* Green */
.vc-section-kick > h2 {
.vc-section-kick > h2 {
   border-left: 8px solid #2EA818;
   background: #2EA818;
   padding-left: 10px;
   color: #fff;
}
}
/* Blue */
.vc-section-resp > h2 {
.vc-section-resp > h2 {
   border-left: 8px solid #367FD9;
   background: #367FD9;
   padding-left: 10px;
   color: #fff;
}
}
/* Light green */
.vc-section-statute > h2 {
.vc-section-statute > h2 {
   border-left: 8px solid #5CD936;
   background: #5CD936;
   padding-left: 10px;
   color: #111;
}
}


/* Small callout boxes */
/* Optional: make rule cards match the section they're in */
.vc-callout {
.vc-in-ban .vc-rule { border-left: 8px solid #EB0505; }
  border-left: 6px solid #999;
.vc-in-warn .vc-rule { border-left: 8px solid #EB8F05; }
  background: #f8f8f8;
.vc-in-kick .vc-rule { border-left: 8px solid #2EA818; }
  padding: 12px 14px;
.vc-in-resp .vc-rule { border-left: 8px solid #367FD9; }
  border-radius: 12px;
.vc-in-statute .vc-rule { border-left: 8px solid #5CD936; }
  margin: 12px 0;
}
.vc-callout.vc-ban { border-left-color: #EB0505; }
.vc-callout.vc-warn { border-left-color: #EB8F05; }
.vc-callout.vc-kick { border-left-color: #2EA818; }
.vc-callout.vc-info { border-left-color: #367FD9; }


.page-Main_Page figure[typeof="mw:File/Thumb"] {
.page-Main_Page figure[typeof="mw:File/Thumb"] {