Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:WelcomeBox/styles.css: Difference between revisions

Template page
Created page with "========================= Main Welcome Box =========================: .MainWelcomeBox { background: #f8ffe8; border-radius: 18px; padding: 0; margin-bottom: 24px; box-shadow: 0 2px 6px rgba(0,0,0,0.08); } Header band: .MainWelcomeHeader { background: #c8eb7a; border-radius: 18px 18px 0 0; padding: 18px 20px 14px; text-align: center; } .MainWelcomeTitle { font-size: 200%; font-weight: bold; margin-bottom: 4px; } .MainWelcomeSubt..."
 
No edit summary
Line 67: Line 67:
   .MainWelcomeImage {
   .MainWelcomeImage {
     order: -1;
     order: -1;
    text-align: center;
   }
   }
}
}

Revision as of 15:52, 25 January 2026

/* =========================
   Main Welcome Box
   ========================= */

.MainWelcomeBox {
  background: #f8ffe8;
  border-radius: 18px;
  padding: 0;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Header band */
.MainWelcomeHeader {
  background: #c8eb7a;
  border-radius: 18px 18px 0 0;
  padding: 18px 20px 14px;
  text-align: center;
}

.MainWelcomeTitle {
  font-size: 200%;
  font-weight: bold;
  margin-bottom: 4px;
}

.MainWelcomeSubtitle {
  font-style: italic;
  font-size: 95%;
  opacity: 0.85;
}

/* Body layout */
.MainWelcomeBody {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 20px;
  align-items: start; /* important */
}

.MainWelcomeImage img {
  display: block;
  filter: drop-shadow(4px 6px 6px rgba(0, 0, 0, 0.35));
}

.MainWelcomeText {
  text-align: center;
  line-height: 1.5;
}

/* Footer links */
.MainWelcomeFooter {
  background: #c8eb7a;
  border-radius: 0 0 18px 18px;
  padding: 8px 12px;
  text-align: center;
  font-size: 90%;
}

@media (max-width: 700px) {
  .MainWelcomeBody {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .MainWelcomeImage {
    order: -1;
    text-align: center;
  }
}
.MainWelcomeText strong {
  font-size: 110%;
}