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 ===== */
/* ============================================================
  CONQUESTPS WIKI — GLOBAL STYLE SHEET
  MediaWiki:Common.css
  ============================================================ */
 
 
/* ===== MAIN PAGE STYLING ===== */
 
.mainpage-hero {
.mainpage-hero {
   text-align: center;
   text-align: center;
   margin: 10px auto 24px;
   margin: 10px auto 24px;
}
}
.mainpage-title {
.mainpage-title {
   font-size: 28px;
   font-size: 28px;
   font-weight: 800;
   font-weight: 800;
   letter-spacing: .3px;
   letter-spacing: 0.3px;
  color: #ffd65a;
   margin-top: 8px;
   margin-top: 8px;
}
}
.mainpage-sub {
.mainpage-sub {
   opacity: .8;
   opacity: 0.8;
   margin-top: 4px;
   margin-top: 4px;
  font-size: 15px;
}
}
/* ===== MAIN PAGE GRID ===== */


.mainpage-grid {
.mainpage-grid {
Line 23: Line 36:
   padding: 0 12px;
   padding: 0 12px;
}
}
@media (max-width: 1000px) {
@media (max-width: 1000px) {
   .mainpage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
   .mainpage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
}
@media (max-width: 560px) {
@media (max-width: 560px) {
   .mainpage-grid { grid-template-columns: 1fr; }
   .mainpage-grid {
    grid-template-columns: 1fr;
  }
}
}
/* ===== MAIN PAGE CARDS ===== */


.mainpage-card {
.mainpage-card {
   background: rgba(255,214,90,.06);
   background: rgba(255, 214, 90, 0.06);
   border: 1px solid rgba(255,214,90,.18);
   border: 1px solid rgba(255, 214, 90, 0.18);
   border-radius: 14px;
   border-radius: 14px;
   padding: 16px 18px;
   padding: 16px 18px;
   transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
   transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}
}
.mainpage-card:hover {
.mainpage-card:hover {
   background: rgba(255,214,90,.12);
   background: rgba(255, 214, 90, 0.12);
   border-color: rgba(255,214,90,.35);
   border-color: rgba(255, 214, 90, 0.35);
   box-shadow: 0 6px 18px rgba(0,0,0,.35);
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
   transform: translateY(-2px);
   transform: translateY(-2px);
}
}
Line 49: Line 71:
   color: #ffd65a;
   color: #ffd65a;
}
}
.mainpage-card-title a {
.mainpage-card-title a {
   text-decoration: none !important;
   text-decoration: none !important;
   color: #ffd65a !important;
   color: #ffd65a !important;
   display: inline-block;
   display: inline-block;
  transition: text-shadow 0.2s ease;
}
}
.mainpage-card-title a:hover {
.mainpage-card-title a:hover {
   text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
   text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
Line 59: Line 84:


.mainpage-card-desc {
.mainpage-card-desc {
   opacity: .85;
   opacity: 0.85;
   line-height: 1.45;
   line-height: 1.45;
  color: #ccc;
}
}
/* ===== LATEST UPDATES ===== */


.mainpage-updates {
.mainpage-updates {
Line 67: Line 95:
   margin: 28px auto 10px;
   margin: 28px auto 10px;
   padding: 0 12px;
   padding: 0 12px;
}
.mainpage-updates ul {
  margin-top: 6px;
  padding-left: 20px;
}
.mainpage-updates li {
  margin-bottom: 5px;
  line-height: 1.4;
}
/* ===== FOOTER SECTION ===== */


/* --- Custom Footer Layout --- */
.footer-wrapper {
.footer-wrapper {
   display: flex;
   display: flex;
Line 78: Line 118:
   background: transparent;
   background: transparent;
}
}
.footer-left,
.footer-left,
.footer-center,
.footer-center,
Line 85: Line 126:
   margin: 5px 0;
   margin: 5px 0;
}
}
.footer-text {
.footer-text {
   color: #aaa;
   color: #aaa;
   font-size: 13px;
   font-size: 13px;
}
}
.footer-center a,
.footer-center a,
.footer-right a {
.footer-right a {
Line 96: Line 139:
   transition: color 0.2s ease;
   transition: color 0.2s ease;
}
}
.footer-center a:hover,
.footer-center a:hover,
.footer-right a:hover {
.footer-right a:hover {
Line 101: Line 145:
}
}


/* Hide “Powered by MediaWiki” */
/* Footer Link Spacing */
.footer-center a + a::before {
  content: " · ";
  color: #777;
}
 
/* Discord icon alignment fix */
.footer-right img {
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 0 3px rgba(255, 214, 90, 0.4));
}
 
/* Hide "Powered by MediaWiki" */
.citizen-footer__poweredby,
.citizen-footer__poweredby,
.mw-footer-poweredby,
.mw-footer-poweredby,
Line 108: Line 165:
}
}


/* Responsive layout for narrow screens */
/* ===== RESPONSIVE FOOTER ===== */
 
@media (max-width: 700px) {
@media (max-width: 700px) {
   .footer-wrapper {
   .footer-wrapper {
Line 114: Line 172:
     text-align: center;
     text-align: center;
     gap: 10px;
     gap: 10px;
  }
  .footer-center a + a::before {
    content: " ";
   }
   }
}
}


/* ===== GLOBAL TOUCHES ===== */
/* Headings look slightly bolder */
.mw-headline {
  font-weight: 700;
  color: #ffd65a;
}


/* --- Minor Enhancements & Compatibility Fixes --- */
/* Links hover color */
a:hover {
  color: #ffd65a !important;
}


/* Fix potential padding conflict with Citizen content area */
/* Wiki content tweaks */
.mainpage-hero, .mainpage-grid, .mainpage-updates {
body {
   box-sizing: border-box;
  background-color: #0b0b0b !important;
  color: #ddd !important;
   font-family: "Inter", "Segoe UI", sans-serif;
}
}


/* Improve centering of hero section in Citizen */
.mw-body-content h2,
.mainpage-hero img {
.mw-body-content h3 {
   display: block;
   border-bottom: 1px solid rgba(255, 214, 90, 0.2);
  margin: 0 auto 10px;
}
}


/* Smooth link transitions site-wide */
/* Table styling */
a {
table.wikitable {
   transition: color 0.2s ease, text-shadow 0.2s ease;
   background: rgba(255, 214, 90, 0.03);
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 8px;
}
}


/* Footer color consistency inside Citizen */
.wikitable th {
.footer-wrapper {
   background: rgba(255, 214, 90, 0.12);
   background-color: transparent !important;
  color: #ffd65a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
}


/* Force footer to stretch properly in narrow views */
/* Improve search bar appearance */
@media (max-width: 700px) {
#searchInput {
   .footer-wrapper {
   background: rgba(255, 255, 255, 0.05);
    flex-direction: column;
  border: 1px solid rgba(255, 214, 90, 0.25);
    text-align: center;
  border-radius: 6px;
    gap: 8px;
   color: #fff;
  }
  .footer-left, .footer-center, .footer-right {
    justify-content: center;
   }
}
}


/* Ensure Citizen skin content background doesn't interfere with footer */
/* Slight highlight on hoverable elements */
.skin-citizen .citizen-footer__content {
button:hover,
   background: transparent !important;
a.button:hover {
  paddin
   background-color: rgba(255, 214, 90, 0.15) !important;
}

Revision as of 07:05, 12 November 2025

/* ============================================================
   CONQUESTPS WIKI — GLOBAL STYLE SHEET
   MediaWiki:Common.css
   ============================================================ */


/* ===== MAIN PAGE STYLING ===== */

.mainpage-hero {
  text-align: center;
  margin: 10px auto 24px;
}

.mainpage-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffd65a;
  margin-top: 8px;
}

.mainpage-sub {
  opacity: 0.8;
  margin-top: 4px;
  font-size: 15px;
}

/* ===== MAIN PAGE GRID ===== */

.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  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;
  }
}

/* ===== MAIN PAGE CARDS ===== */

.mainpage-card {
  background: rgba(255, 214, 90, 0.06);
  border: 1px solid rgba(255, 214, 90, 0.18);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s 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);
}

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

.mainpage-card-title a {
  text-decoration: none !important;
  color: #ffd65a !important;
  display: inline-block;
  transition: text-shadow 0.2s ease;
}

.mainpage-card-title a:hover {
  text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
}

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

/* ===== LATEST UPDATES ===== */

.mainpage-updates {
  max-width: 900px;
  margin: 28px auto 10px;
  padding: 0 12px;
}

.mainpage-updates ul {
  margin-top: 6px;
  padding-left: 20px;
}

.mainpage-updates li {
  margin-bottom: 5px;
  line-height: 1.4;
}

/* ===== FOOTER SECTION ===== */

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}

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

.footer-text {
  color: #aaa;
  font-size: 13px;
}

.footer-center a,
.footer-right a {
  color: #ffd65a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* Footer Link Spacing */
.footer-center a + a::before {
  content: " · ";
  color: #777;
}

/* Discord icon alignment fix */
.footer-right img {
  vertical-align: middle;
  margin-right: 6px;
  filter: drop-shadow(0 0 3px rgba(255, 214, 90, 0.4));
}

/* Hide "Powered by MediaWiki" */
.citizen-footer__poweredby,
.mw-footer-poweredby,
#footer-poweredby {
  display: none !important;
}

/* ===== RESPONSIVE FOOTER ===== */

@media (max-width: 700px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-center a + a::before {
    content: " ";
  }
}

/* ===== GLOBAL TOUCHES ===== */

/* Headings look slightly bolder */
.mw-headline {
  font-weight: 700;
  color: #ffd65a;
}

/* Links hover color */
a:hover {
  color: #ffd65a !important;
}

/* Wiki content tweaks */
body {
  background-color: #0b0b0b !important;
  color: #ddd !important;
  font-family: "Inter", "Segoe UI", sans-serif;
}

.mw-body-content h2,
.mw-body-content h3 {
  border-bottom: 1px solid rgba(255, 214, 90, 0.2);
}

/* Table styling */
table.wikitable {
  background: rgba(255, 214, 90, 0.03);
  border: 1px solid rgba(255, 214, 90, 0.2);
  border-radius: 8px;
}

.wikitable th {
  background: rgba(255, 214, 90, 0.12);
  color: #ffd65a;
}

/* Improve search bar appearance */
#searchInput {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 214, 90, 0.25);
  border-radius: 6px;
  color: #fff;
}

/* Slight highlight on hoverable elements */
button:hover,
a.button:hover {
  background-color: rgba(255, 214, 90, 0.15) !important;
}