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
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Header styling */
/* ====================================
.site-header {
  ConquestPS Wiki — Tropical Main Page
   position: sticky;
  ==================================== */
  top: 0;
 
  z-index: 1000;
/* --- General background --- */
   background: #0a0a0a;
body.page-Main_Page {
  border-bottom: 1px solid rgba(255, 214, 90, 0.2);
   background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
   background-attachment: fixed;
   color: #fff;
}
}
.site-header-inner {
 
   display: flex;
/* Overlay for readability */
   align-items: center;
body.page-Main_Page::before {
   justify-content: space-between;
   content: "";
   padding: 10px 25px;
   position: fixed;
   max-width: 1200px;
  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;
   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;
}
}
.site-logo img {
 
   vertical-align: middle;
.mainpage-card-desc {
   margin-right: 15px;
   font-size: 14px;
   line-height: 1.45;
  opacity: .9;
  color: #eee;
}
}
.site-nav a {
 
   color: #ffd65a;
/* --- Updates --- */
   text-decoration: none;
.mainpage-updates {
   margin: 0 10px;
   background: rgba(0,0,0,0.45);
   font-weight: 600;
   border-radius: 14px;
   transition: 0.2s ease;
   padding: 16px 20px;
   padding: 6px 10px;
   margin-top: 30px;
   border-radius: 8px;
   color: #fff;
  background: rgba(255, 214, 90, 0.05);
   text-align: left;
   border: 1px solid rgba(255, 214, 90, 0.15);
   box-shadow: 0 4px 16px rgba(0,0,0,0.4);
   border: 1px solid rgba(255,255,255,0.2);
}
}
.site-nav a:hover {
 
   background: rgba(255, 214, 90, 0.15);
.mainpage-updates h3 {
   text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
  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; }

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; }