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
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ============================================================
/* ====================================
   CONQUESTPS WIKI GLOBAL STYLE SHEET
   ConquestPS Wiki Tropical Main Page
   MediaWiki:Common.css
   ==================================== */
  ============================================================ */


/* --- General background --- */
body.page-Main_Page {
  background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
  color: #fff;
}


/* ===== MAIN PAGE STYLING ===== */
/* Overlay for readability */
body.page-Main_Page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}


/* --- Layout base --- */
body.page-Main_Page .mw-parser-output {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  text-align: center;
}
/* --- Hero section --- */
.mainpage-hero {
.mainpage-hero {
   text-align: center;
   text-align: center;
   margin: 10px auto 24px;
   margin: 20px auto 40px;
  padding: 80px 20px 60px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}
 
.mainpage-hero img {
  width: 160px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
  margin-bottom: 10px;
}
}


.mainpage-title {
.mainpage-title {
   font-size: 28px;
   font-size: 36px;
   font-weight: 800;
   font-weight: 900;
   letter-spacing: 0.3px;
   color: #ffe26a;
   color: #ffd65a;
   margin-top: 10px;
   margin-top: 8px;
   text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}
}


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


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


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


/* ===== MAIN PAGE CARDS ===== */
.mainpage-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}


.mainpage-card {
.mainpage-card {
   background: rgba(255, 214, 90, 0.06);
   background: rgba(255,255,255,0.08);
   border: 1px solid rgba(255, 214, 90, 0.18);
   border: 1px solid rgba(255,255,255,0.25);
   border-radius: 14px;
   border-radius: 14px;
   padding: 16px 18px;
   padding: 18px;
   transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  backdrop-filter: blur(4px);
   transition: all .18s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
display: flex;
justify-content: center;
align-items: center;
flex-flow: column;
min-height: 200px;
}
}


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


Line 69: Line 102:
   font-weight: 700;
   font-weight: 700;
   margin-bottom: 6px;
   margin-bottom: 6px;
   color: #ffd65a;
   color: #ffe26a;
}
   font-size: 17px;
 
.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 {
.mainpage-card-desc {
   opacity: 0.85;
   font-size: 14px;
   line-height: 1.45;
   line-height: 1.45;
   color: #ccc;
  opacity: .9;
   color: #eee;
}
}


/* ===== LATEST UPDATES ===== */
/* --- Updates --- */
 
.mainpage-updates {
.mainpage-updates {
   max-width: 900px;
   background: rgba(0,0,0,0.45);
  margin: 28px auto 10px;
   border-radius: 14px;
  padding: 0 12px;
   padding: 16px 20px;
}
   margin-top: 30px;
 
.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;
   color: #fff;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
}
}


/* Footer Link Spacing */
.mainpage-updates h3 {
.footer-center a + a::before {
   color: #ffe26a;
  content: " · ";
   margin-top: 0;
   color: #777;
   font-size: 18px;
}
 
/* 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;
   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;
}
}


/* Hide footer “powered by” */
.citizen-footer__poweredby { display: none !important; }


/* Hide Citizen's default powered-by and link blocks if you don’t want duplicates */
#mw-data-after-content, #footer-sitetitle, .citizen-footer__bottom, #footer-places { display: none !important; }
.citizen-footer__poweredby,
.mw-footer-poweredby,
#footer-poweredby {
  display: none !important;
}
 
/* Optional: hide the default link set (Privacy/Disclaimers/About) if you only want your custom links) */
.citizen-footer__links {
  display: none !important;
}
 
/* Your custom footer styles (from before) */
.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 .2s ease; }
.footer-center a:hover, .footer-right a:hover { color:#fff; }
.footer-right img { vertical-align:middle; margin-right:6px; filter:drop-shadow(0 0 3px rgba(255,214,90,.4)); }
 
@media (max-width:700px){
  .footer-wrapper { flex-direction:column; text-align:center; gap:10px; }
}

Latest revision as of 21:08, 12 November 2025

/* ====================================
   ConquestPS Wiki — Tropical Main Page
   ==================================== */

/* --- General background --- */
body.page-Main_Page {
  background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
  color: #fff;
}

/* Overlay for readability */
body.page-Main_Page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}

/* --- Layout base --- */
body.page-Main_Page .mw-parser-output {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  text-align: center;
}

/* --- Hero section --- */
.mainpage-hero {
  text-align: center;
  margin: 20px auto 40px;
  padding: 80px 20px 60px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.mainpage-hero img {
  width: 160px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
  margin-bottom: 10px;
}

.mainpage-title {
  font-size: 36px;
  font-weight: 900;
  color: #ffe26a;
  margin-top: 10px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.mainpage-sub {
  font-size: 17px;
  opacity: .9;
}

/* --- Cards --- */
.mainpage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
  padding: 0 12px;
}

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

.mainpage-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.mainpage-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(4px);
  transition: all .18s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
display: flex;
justify-content: center;
align-items: center;
flex-flow: column;
min-height: 200px;
}

.mainpage-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}

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

.mainpage-card-desc {
  font-size: 14px;
  line-height: 1.45;
  opacity: .9;
  color: #eee;
}

/* --- Updates --- */
.mainpage-updates {
  background: rgba(0,0,0,0.45);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 30px;
  color: #fff;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
}

.mainpage-updates h3 {
  color: #ffe26a;
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}

/* Hide footer “powered by” */
.citizen-footer__poweredby { display: none !important; }

#mw-data-after-content, #footer-sitetitle, .citizen-footer__bottom, #footer-places { display: none !important; }