Toggle menu
1
1
104
ConquestPS Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
Line 1: Line 1:
/* ===== Main Page Styling (cards) ===== */
/* =========================================================
.mainpage-hero{ text-align:center; margin:10px auto 24px; }
  🟡 ConquestPS Wiki – Common CSS
.mainpage-title{ font-size:28px; font-weight:800; letter-spacing:.3px; margin-top:8px; }
  Works with Citizen skin (dark theme optimized)
.mainpage-sub{ opacity:.8; margin-top:4px; }
  ========================================================= */


.mainpage-grid{
/* ====== GLOBAL ====== */
   display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
body {
   max-width:1100px; margin:24px auto; padding:0 12px;
   font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #e5e5e5;
   background-color: #0e0e0e;
}
}
@media (max-width:1000px){ .mainpage-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px){ .mainpage-grid{ grid-template-columns:1fr; } }


.mainpage-card{
a {
   background:rgba(255,214,90,.06);
   color: #ffd65a;
  border:1px solid rgba(255,214,90,.18);
   text-decoration: none;
   border-radius:14px;
   transition: color 0.2s ease, text-shadow 0.2s ease;
   transition:transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
}
.mainpage-card:hover{
 
   background:rgba(255,214,90,.12);
a:hover {
   border-color:rgba(255,214,90,.35);
  color: #fff;
   box-shadow:0 6px 18px rgba(0,0,0,.35);
  text-shadow: 0 0 6px rgba(255, 214, 90, 0.7);
   transform:translateY(-2px);
}
 
/* ====== MAIN PAGE HERO ====== */
.mainpage-hero {
  text-align: center;
  margin: 20px auto 28px;
}
 
.mainpage-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffd65a;
  letter-spacing: 0.4px;
  margin-top: 10px;
}
 
.mainpage-sub {
  opacity: 0.8;
  margin-top: 6px;
  font-size: 15px;
  color: #ccc;
}
 
/* ====== CARD GRID ====== */
.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 12px;
}
 
@media (max-width: 1000px) {
  .mainpage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
 
@media (max-width: 560px) {
  .mainpage-grid {
    grid-template-columns: 1fr;
  }
}
 
/* ====== CARD STYLE ====== */
.mainpage-card {
  background: rgba(255, 214, 90, 0.06);
  border: 1px solid rgba(255, 214, 90, 0.18);
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
 
.mainpage-card:hover {
   background: rgba(255, 214, 90, 0.12);
   border-color: rgba(255, 214, 90, 0.35);
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
   transform: translateY(-2px);
}
}


/* Make the whole card clickable */
/* Make the whole card clickable */
.mainpage-card-link{
.mainpage-card-link {
   display:block; padding:16px 18px; text-decoration:none !important;
   display: block;
   color:inherit; /* preserves Citizen theme colors */
  padding: 18px 20px;
  text-decoration: none !important;
   color: inherit;
}
}


.mainpage-card-title{
.mainpage-card-title {
   font-weight:700; margin-bottom:6px; color:#ffd65a;
   font-weight: 700;
  margin-bottom: 6px;
  color: #ffd65a;
  font-size: 17px;
}
}
.mainpage-card-title a{ color:#ffd65a !important; text-decoration:none !important; }
.mainpage-card-title a:hover{ text-shadow:0 0 6px rgba(255,214,90,.8); }


.mainpage-card-desc{ opacity:.85; line-height:1.45; }
.mainpage-card-desc {
  opacity: 0.85;
  line-height: 1.45;
  color: #ccc;
}


.mainpage-updates{ max-width:900px; margin:28px auto 10px; padding:0 12px; }
/* ====== UPDATES SECTION ====== */
.mainpage-updates {
  max-width: 900px;
  margin: 36px auto 20px;
  padding: 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}
 
.mainpage-updates b, .mainpage-updates strong {
  color: #ffd65a;
}
 
/* ====== FOOTER CLEANUP ====== */
.citizen-footer__poweredby {
  display: none !important; /* Hides the MediaWiki badge */
}
 
footer,
#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  padding-top: 12px;
  color: #aaa;
  background: transparent;
}
 
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 24px;
}
 
.footer-left,
.footer-center,
.footer-right {
  color: #ccc;
  font-size: 14px;
  margin: 6px 0;
}
 
.footer-right a {
  color: #ffd65a;
  text-decoration: none;
}
 
.footer-right a:hover {
  color: #fff;
}
 
/* ====== LOGO POLISH ====== */
img[alt="ConquestPS Logo"] {
  border-radius: 6px;
  margin-bottom: 8px;
}
 
/* ====== SMALL FIXES ====== */
li {
  margin-bottom: 4px;
}
 
h1, h2, h3, h4, h5 {
  color: #ffd65a;
  font-weight: 700;
}

Revision as of 07:33, 12 November 2025

/* =========================================================
   🟡 ConquestPS Wiki – Common CSS
   Works with Citizen skin (dark theme optimized)
   ========================================================= */

/* ====== GLOBAL ====== */
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #e5e5e5;
  background-color: #0e0e0e;
}

a {
  color: #ffd65a;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 214, 90, 0.7);
}

/* ====== MAIN PAGE HERO ====== */
.mainpage-hero {
  text-align: center;
  margin: 20px auto 28px;
}

.mainpage-title {
  font-size: 32px;
  font-weight: 800;
  color: #ffd65a;
  letter-spacing: 0.4px;
  margin-top: 10px;
}

.mainpage-sub {
  opacity: 0.8;
  margin-top: 6px;
  font-size: 15px;
  color: #ccc;
}

/* ====== CARD GRID ====== */
.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 12px;
}

@media (max-width: 1000px) {
  .mainpage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mainpage-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== CARD STYLE ====== */
.mainpage-card {
  background: rgba(255, 214, 90, 0.06);
  border: 1px solid rgba(255, 214, 90, 0.18);
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.mainpage-card:hover {
  background: rgba(255, 214, 90, 0.12);
  border-color: rgba(255, 214, 90, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

/* Make the whole card clickable */
.mainpage-card-link {
  display: block;
  padding: 18px 20px;
  text-decoration: none !important;
  color: inherit;
}

.mainpage-card-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffd65a;
  font-size: 17px;
}

.mainpage-card-desc {
  opacity: 0.85;
  line-height: 1.45;
  color: #ccc;
}

/* ====== UPDATES SECTION ====== */
.mainpage-updates {
  max-width: 900px;
  margin: 36px auto 20px;
  padding: 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.mainpage-updates b, .mainpage-updates strong {
  color: #ffd65a;
}

/* ====== FOOTER CLEANUP ====== */
.citizen-footer__poweredby {
  display: none !important; /* Hides the MediaWiki badge */
}

footer,
#footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
  padding-top: 12px;
  color: #aaa;
  background: transparent;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 24px;
}

.footer-left,
.footer-center,
.footer-right {
  color: #ccc;
  font-size: 14px;
  margin: 6px 0;
}

.footer-right a {
  color: #ffd65a;
  text-decoration: none;
}

.footer-right a:hover {
  color: #fff;
}

/* ====== LOGO POLISH ====== */
img[alt="ConquestPS Logo"] {
  border-radius: 6px;
  margin-bottom: 8px;
}

/* ====== SMALL FIXES ====== */
li {
  margin-bottom: 4px;
}

h1, h2, h3, h4, h5 {
  color: #ffd65a;
  font-weight: 700;
}