Toggle menu
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
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Hide Citizen's built-in footer links and powered-by elements */
/* ====================================
.citizen-footer__links,
  ConquestPS Wiki — Main Page
.citizen-footer__poweredby,
  ==================================== */
.mw-footer-poweredby,
 
#footer-poweredby {
/* --- Fullscreen wide background (cropped art) --- */
   display: none !important;
body.page-Main_Page {
  min-height: 100vh;
  background: url('/resources/assets/conquest-beach-bg.png')
      center center / cover no-repeat fixed;
  color: #fff;
}
 
/* Let your background show edge-to-edge with Citizen */
.citizen-body,
.citizen-theme-page__background,
.citizen-footer,
.citizen-footer__top {
   background: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
}
 
/* Dark overlay for readability */
body.page-Main_Page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
  pointer-events: none;
}
 
/* --- 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: 350px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
  margin-bottom: 10px;
}
 
.mainpage-title {
  font-size: 36px;
  font-weight: 900;
  color: #C26CFF;
  margin-top: 10px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}
 
.mainpage-sub {
  font-size: 17px;
  opacity: .9;
}
}


/* Optional: tighten spacing between your footer and page content */
/* --- Cards --- */
.footer-wrapper {
.mainpage-grid {
   margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
   margin: 24px 0;
  padding: 0 12px;
}
}


/* Adjust alignment and spacing for your custom footer */
@media (max-width: 1000px) {
.footer-wrapper {
  .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(000,000,000,0.7);
  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;
   display: flex;
   justify-content: space-between;
   justify-content: center;
   align-items: center;
   align-items: center;
   flex-wrap: wrap;
   flex-flow: column;
   padding: 15px 30px;
   min-height: 200px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
}
}


.footer-left, .footer-center, .footer-right {
.mainpage-card:hover {
   color: #ccc;
  background: rgba(000,000,000,0.35);
   font-size: 14px;
   border-color: rgba(255,255,255,0.5);
   margin: 5px 0;
   transform: translateY(-3px);
   box-shadow: 0 8px 22px rgba(0,0,0,0.5);
}
}


.footer-text {
.mainpage-card-title {
   color: #aaa;
  font-weight: 700;
   font-size: 13px;
  margin-bottom: 6px;
   color: #C26CFF;
   font-size: 17px;
}
}


.footer-center a, .footer-right a {
.mainpage-card-desc {
   color: #ffd65a;
   font-size: 14px;
   text-decoration: none;
   line-height: 1.45;
   font-weight: 500;
   opacity: .9;
   transition: color 0.2s ease;
   color: #eee;
}
}


.footer-center a:hover, .footer-right a:hover {
/* --- Updates --- */
.mainpage-updates {
  background: rgba(0,0,0,0.45);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 30px;
   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-right img {
.mainpage-updates h3 {
   vertical-align: middle;
   color: #9b3cff;
   margin-right: 6px;
   margin-top: 0;
  filter: drop-shadow(0 0 3px rgba(255,214,90,0.4));
   font-size: 18px;
}
  font-weight: 700;
 
@media (max-width: 700px) {
   .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
}

Latest revision as of 19:41, 5 December 2025

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

/* --- Fullscreen wide background (cropped art) --- */
body.page-Main_Page {
  min-height: 100vh;
  background: url('/resources/assets/conquest-beach-bg.png')
      center center / cover no-repeat fixed;
  color: #fff;
}

/* Let your background show edge-to-edge with Citizen */
.citizen-body,
.citizen-theme-page__background,
.citizen-footer,
.citizen-footer__top {
  background: transparent !important;
  box-shadow: none !important;
  border-top: none !important;
}

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

/* --- 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: 350px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.6));
  margin-bottom: 10px;
}

.mainpage-title {
  font-size: 36px;
  font-weight: 900;
  color: #C26CFF;
  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(000,000,000,0.7); 
  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(000,000,000,0.35);
  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: #C26CFF;
  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: #9b3cff;
  margin-top: 0;
  font-size: 18px;
  font-weight: 700;
}