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
Tag: Reverted
Line 1: Line 1:
/* ====================================
/* ==========================================
   ConquestPS Wiki Tropical Main Page
   ConquestPS — Parchment Overlay Main Page
   ==================================== */
   ========================================== */


/* --- General background --- */
/* Beach background stays */
body.page-Main_Page {
body.page-Main_Page {
   background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
   background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
  background-attachment: fixed;
   color: #2a220f; /* default text color for parchment areas */
   color: #fff;
}
}


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


/* --- Layout base --- */
/* Main parchment container */
body.page-Main_Page .mw-parser-output {
.parchment-wrap {
  --parch-gold: #e9c76a;
  --parch-gold-deep: #d7ad3a;
  --parch-ink: #2a220f;
  --parch-edge: rgba(0,0,0,0.25);
 
   max-width: 1100px;
   max-width: 1100px;
  margin: 24px auto 80px;
  padding: 28px 22px;
  color: var(--parch-ink);
  /* Texture stack (each layer is optional) */
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255,255,255,0.07), rgba(0,0,0,0) 50%),
    radial-gradient(100% 100% at 90% 10%, rgba(255,255,255,0.05), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #f6e2b8 0%, #efd7a4 30%, #e7cc8f 60%, #e2c481 100%),
    url('/resources/assets/parchment-texture.jpg'),
    url('/resources/assets/paper-noise.png');
  background-blend-mode: overlay, overlay, normal, multiply, overlay;
  background-size: cover, cover, cover, cover, 512px 512px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    inset 0 0 40px rgba(255,255,255,0.15),
    inset 0 -8px 24px rgba(0,0,0,0.08);
}
/* Inner container for layout */
.parchment-inner {
  max-width: 1000px;
   margin: 0 auto;
   margin: 0 auto;
  padding: 24px 16px 80px;
   text-align: center;
   text-align: center;
}
}


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


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


.mainpage-title {
.parch-title {
   font-size: 36px;
   font-size: 34px;
   font-weight: 900;
   font-weight: 900;
   color: #ffe26a;
   color: var(--parch-gold-deep);
  margin-top: 10px;
   text-shadow:
   text-shadow: 0 2px 18px rgba(0,0,0,0.7);
    0 2px 0 #f6e7b8,
    0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: .3px;
}
}


.mainpage-sub {
.parch-sub {
   font-size: 17px;
  margin-top: 6px;
   opacity: .9;
  opacity: .85;
   font-size: 16px;
}
 
/* Decorative divider */
.parch-divider {
   height: 10px;
  margin: 18px auto 8px;
  background:
    radial-gradient(circle at 50% 130%, rgba(0,0,0,0.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.3), rgba(0,0,0,0.08)),
    linear-gradient(90deg, transparent, rgba(0,0,0,0.25), transparent);
  border-radius: 100px;
}
}


/* --- Cards --- */
/* Grid for cards */
.mainpage-grid {
.parch-grid {
   display: grid;
   display: grid;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   grid-template-columns: repeat(4, minmax(0, 1fr));
   gap: 18px;
   gap: 16px;
   margin: 24px 0;
   margin: 14px 0 8px;
  padding: 0 12px;
}
}


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


.mainpage-card-link {
/* Card links */
.parch-card-link {
   display: block;
   display: block;
   text-decoration: none !important;
   text-decoration: none !important;
Line 77: Line 109:
}
}


.mainpage-card {
/* Parchment cards */
   background: rgba(255,255,255,0.08);
.parch-card {
   border: 1px solid rgba(255,255,255,0.25);
   background:
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)),
    linear-gradient(180deg, #f3e0b1 0%, #ecd29a 100%);
  background-blend-mode: overlay, normal;
   border: 1px solid rgba(78,60,22,0.25);
   border-radius: 14px;
   border-radius: 14px;
   padding: 18px;
   padding: 16px 16px 14px;
  backdrop-filter: blur(4px);
   box-shadow:
  transition: all .18s ease;
    0 6px 16px rgba(0,0,0,0.22),
   box-shadow: 0 6px 14px rgba(0,0,0,0.35);
    inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
}


.mainpage-card:hover {
.parch-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
   transform: translateY(-3px);
   transform: translateY(-3px);
   box-shadow: 0 8px 22px rgba(0,0,0,0.5);
  border-color: rgba(78,60,22,0.38);
   box-shadow:
    0 10px 24px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
}


.mainpage-card-title {
/* Card text */
   font-weight: 700;
.parch-card-title {
   font-weight: 800;
  color: #c8921c;              /* golden header */
  text-shadow: 0 1px 0 #fff3cc;
   margin-bottom: 6px;
   margin-bottom: 6px;
  color: #ffe26a;
   font-size: 16px;
   font-size: 17px;
}
}


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


/* --- Updates --- */
/* Updates panel (scroll-style) */
.mainpage-updates {
.parch-updates {
  background: rgba(0,0,0,0.45);
   margin-top: 20px;
  border-radius: 14px;
  padding: 16px 20px;
   margin-top: 30px;
  color: #fff;
   text-align: left;
   text-align: left;
   box-shadow: 0 4px 16px rgba(0,0,0,0.4);
   background:
   border: 1px solid rgba(255,255,255,0.2);
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(0,0,0,0.06)),
    #efdcad;
   border: 1px solid rgba(78,60,22,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 12px rgba(0,0,0,0.18);
}
}


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


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

Revision as of 08:05, 12 November 2025

/* ==========================================
   ConquestPS — Parchment Overlay Main Page
   ========================================== */

/* Beach background stays */
body.page-Main_Page {
  background: url('/resources/assets/conquest-beach-bg.png') center top / cover no-repeat fixed;
  color: #2a220f; /* default text color for parchment areas */
}

/* Dim overlay to keep text readable */
body.page-Main_Page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: -1;
}

/* Main parchment container */
.parchment-wrap {
  --parch-gold: #e9c76a;
  --parch-gold-deep: #d7ad3a;
  --parch-ink: #2a220f;
  --parch-edge: rgba(0,0,0,0.25);

  max-width: 1100px;
  margin: 24px auto 80px;
  padding: 28px 22px;
  color: var(--parch-ink);
  /* Texture stack (each layer is optional) */
  background:
    radial-gradient(120% 120% at 10% 0%, rgba(255,255,255,0.07), rgba(0,0,0,0) 50%),
    radial-gradient(100% 100% at 90% 10%, rgba(255,255,255,0.05), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, #f6e2b8 0%, #efd7a4 30%, #e7cc8f 60%, #e2c481 100%),
    url('/resources/assets/parchment-texture.jpg'),
    url('/resources/assets/paper-noise.png');
  background-blend-mode: overlay, overlay, normal, multiply, overlay;
  background-size: cover, cover, cover, cover, 512px 512px;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.18);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.45),
    inset 0 0 40px rgba(255,255,255,0.15),
    inset 0 -8px 24px rgba(0,0,0,0.08);
}

/* Inner container for layout */
.parchment-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Hero */
.parch-hero {
  padding: 14px 12px 8px;
}

.parch-hero img {
  width: 150px;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35));
  margin-bottom: 8px;
}

.parch-title {
  font-size: 34px;
  font-weight: 900;
  color: var(--parch-gold-deep);
  text-shadow:
    0 2px 0 #f6e7b8,
    0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: .3px;
}

.parch-sub {
  margin-top: 6px;
  opacity: .85;
  font-size: 16px;
}

/* Decorative divider */
.parch-divider {
  height: 10px;
  margin: 18px auto 8px;
  background:
    radial-gradient(circle at 50% 130%, rgba(0,0,0,0.18), rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.3), rgba(0,0,0,0.08)),
    linear-gradient(90deg, transparent, rgba(0,0,0,0.25), transparent);
  border-radius: 100px;
}

/* Grid for cards */
.parch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 14px 0 8px;
}

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

/* Card links */
.parch-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

/* Parchment cards */
.parch-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05)),
    linear-gradient(180deg, #f3e0b1 0%, #ecd29a 100%);
  background-blend-mode: overlay, normal;
  border: 1px solid rgba(78,60,22,0.25);
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow:
    0 6px 16px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.35);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.parch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78,60,22,0.38);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

/* Card text */
.parch-card-title {
  font-weight: 800;
  color: #c8921c;              /* golden header */
  text-shadow: 0 1px 0 #fff3cc;
  margin-bottom: 6px;
  font-size: 16px;
}

.parch-card-desc {
  color: #463a1e;
  line-height: 1.45;
  font-size: 14px;
  opacity: .95;
}

/* Updates panel (scroll-style) */
.parch-updates {
  margin-top: 20px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25), rgba(0,0,0,0.06)),
    #efdcad;
  border: 1px solid rgba(78,60,22,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 4px 12px rgba(0,0,0,0.18);
}

.parch-updates h3 {
  margin: 0 0 6px;
  color: #b37a12;
  font-size: 17px;
  font-weight: 800;
}

/* Hide "Powered by MediaWiki" */
.citizen-footer__poweredby { display: none !important; }