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 67: Line 67:
   margin: 28px auto 10px;
   margin: 28px auto 10px;
   padding: 0 12px;
   padding: 0 12px;
}/* --- Custom Footer Layout --- */
 
/* --- Custom Footer Layout --- */
.footer-wrapper {
.footer-wrapper {
   display: flex;
   display: flex;
Line 77: Line 78:
   background: transparent;
   background: transparent;
}
}
.footer-left,
.footer-left,
.footer-center,
.footer-center,
Line 85: Line 85:
   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 98: Line 96:
   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 104: Line 101:
}
}


/* Hide "Powered by MediaWiki" */
/* Hide “Powered by MediaWiki” */
.citizen-footer__poweredby {
.citizen-footer__poweredby,
.mw-footer-poweredby,
#footer-poweredby {
   display: none !important;
   display: none !important;
}
/* Responsive layout for narrow screens */
@media (max-width: 700px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
}



Revision as of 07:04, 12 November 2025

/* ===== Main Page ===== */
.mainpage-hero {
  text-align: center;
  margin: 10px auto 24px;
}
.mainpage-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .3px;
  margin-top: 8px;
}
.mainpage-sub {
  opacity: .8;
  margin-top: 4px;
}

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

.mainpage-card {
  background: rgba(255,214,90,.06);
  border: 1px solid rgba(255,214,90,.18);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.mainpage-card:hover {
  background: rgba(255,214,90,.12);
  border-color: rgba(255,214,90,.35);
  box-shadow: 0 6px 18px rgba(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;
}
.mainpage-card-title a:hover {
  text-shadow: 0 0 6px rgba(255, 214, 90, 0.8);
}

.mainpage-card-desc {
  opacity: .85;
  line-height: 1.45;
}

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

/* --- Custom Footer Layout --- */
.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;
}

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

/* Responsive layout for narrow screens */
@media (max-width: 700px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}


/* --- Minor Enhancements & Compatibility Fixes --- */

/* Fix potential padding conflict with Citizen content area */
.mainpage-hero, .mainpage-grid, .mainpage-updates {
  box-sizing: border-box;
}

/* Improve centering of hero section in Citizen */
.mainpage-hero img {
  display: block;
  margin: 0 auto 10px;
}

/* Smooth link transitions site-wide */
a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

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

/* Force footer to stretch properly in narrow views */
@media (max-width: 700px) {
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-left, .footer-center, .footer-right {
    justify-content: center;
  }
}

/* Ensure Citizen skin content background doesn't interfere with footer */
.skin-citizen .citizen-footer__content {
  background: transparent !important;
  paddin