MediaWiki:Common.css
MediaWiki interface page
More actions
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ========================================
1. COLORS
======================================== */
.fjtr-home,
.fjtr-panel,
.fjtr-page {
--fjtr-blue: #42b6e5;
--fjtr-blue-dark: #237da5;
--fjtr-orange: #ff9252;
--fjtr-orange-dark: #bc6033;
--fjtr-green: #78cc2c;
--fjtr-green-dark: #4c8c27;
--fjtr-teal: #128e76;
--fjtr-teal-dark: #09644e;
--fjtr-purple: #9360b3;
--fjtr-purple-dark: #654183;
--fjtr-brown: #855024;
--fjtr-brown-dark: #56331b;
--fjtr-border: #3b332c;
--fjtr-cream: #fcf7eb;
--fjtr-radius: 4px;
--fjtr-shadow:
0 4px 0 rgba(0, 0, 0, 0.23),
0 7px 13px rgba(0, 0, 0, 0.12);
}
/* ========================================
2. MAIN PAGE CONTAINER
======================================== */
.fjtr-home,
.fjtr-page {
max-width: 1160px;
margin: 0 auto 35px;
line-height: 1.65;
}
.fjtr-home *,
.fjtr-page *,
.fjtr-panel * {
box-sizing: border-box;
}
/* ========================================
3. WELCOME HEADER
======================================== */
.fjtr-home-hero,
.fjtr-home .fjtr-hero,
.fjtr-page .fjtr-hero {
padding: 30px 32px;
background: linear-gradient(
135deg,
#187b9f 0%,
#38acd9 62%,
#6bc8eb 100%
);
color: #ffffff;
border: 3px solid #23546b;
border-radius: 5px;
box-shadow:
0 5px 0 #254c60,
0 9px 17px rgba(0, 0, 0, 0.15);
}
.fjtr-home-hero a,
.fjtr-hero a {
color: #ffffff !important;
}
.fjtr-home-kicker,
.fjtr-eyebrow {
color: #daf4ff;
font-size: 0.75rem;
letter-spacing: 0.13em;
font-weight: 900;
margin-bottom: 8px;
}
.fjtr-home-title {
font-size: clamp(1.8rem, 4vw, 2.7rem);
line-height: 1.15;
font-weight: 900;
color: #ffffff;
margin-bottom: 13px;
text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}
.fjtr-home-lead,
.fjtr-subtitle {
max-width: 690px;
font-size: 1.07rem;
line-height: 1.65;
color: #f1fbff;
}
/* Original FJT:R logo */
.fjtr-home-hero img,
.fjtr-brand-logo {
display: block;
max-width: 100%;
height: auto;
}
.fjtr-brand-logo {
width: min(100%, 500px);
max-height: 140px;
object-fit: contain;
object-position: left center;
margin: 12px 0 15px;
filter: drop-shadow(
0 3px 0 rgba(25, 63, 84, 0.3)
);
}
/* ========================================
4. HEADER BUTTONS
======================================== */
.fjtr-home-actions,
.fjtr-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 20px;
}
.fjtr-home-button,
.fjtr-btn {
display: inline-flex;
align-items: center;
color: #ffffff !important;
background: #286f98;
border: 2px solid #1a4e69;
border-radius: 4px;
font-size: 0.9rem;
font-weight: 800;
box-shadow: 0 3px 0 #1a4358;
transition:
transform 0.12s ease,
filter 0.12s ease;
}
.fjtr-home-button a,
.fjtr-btn {
color: #ffffff !important;
text-decoration: none !important;
}
.fjtr-home-button a {
display: block;
padding: 9px 15px;
}
.fjtr-btn {
padding: 9px 15px;
}
.fjtr-home-button--primary,
.fjtr-actions .fjtr-btn:first-child {
background: linear-gradient(
180deg,
#ffad64,
#ef8240
);
border-color: #a85026;
box-shadow: 0 3px 0 #884320;
}
.fjtr-home-button:hover,
.fjtr-btn:hover {
filter: brightness(1.08);
transform: translateY(-1px);
}
/* ========================================
5. SECTION HEADINGS
======================================== */
.fjtr-home-section-heading,
.fjtr-heading {
margin: 29px 0 14px;
padding: 9px 14px;
border-left: 5px solid var(--fjtr-blue, #42b6e5);
border-radius: 3px;
background: linear-gradient(
90deg,
rgba(66, 182, 229, 0.20),
rgba(66, 182, 229, 0.02)
);
color: #ffffff !important;
font-size: 1.4rem;
font-weight: 900;
text-shadow:
0 2px 3px rgba(0, 0, 0, 0.35);
}
.fjtr-home-section-heading h2,
.fjtr-heading h2 {
color: #ffffff !important;
font-size: inherit;
font-weight: 900;
margin: 0;
padding: 0;
border: none;
}
/* ========================================
6. WELCOME TEXT
======================================== */
.fjtr-home .fjtr-intro,
.fjtr-page .fjtr-intro,
.fjtr-home-intro {
padding: 18px 20px;
margin: 12px 0 18px;
background: linear-gradient(
120deg,
#17394e,
#102735
);
border: 2px solid #34799b;
border-left: 5px solid #42b6e5;
border-radius: 4px;
box-shadow:
0 4px 12px rgba(0, 0, 0, 0.25);
color: #ffffff !important;
font-size: 1.05rem;
line-height: 1.8;
}
.fjtr-home .fjtr-intro p,
.fjtr-page .fjtr-intro p,
.fjtr-home-intro p {
color: #ffffff !important;
}
.fjtr-home .fjtr-intro strong,
.fjtr-home .fjtr-intro em,
.fjtr-page .fjtr-intro strong,
.fjtr-page .fjtr-intro em {
color: #ffffff !important;
}
.fjtr-home .fjtr-intro a,
.fjtr-page .fjtr-intro a,
.fjtr-home-intro a {
color: #65cfff !important;
font-weight: 700;
text-decoration: none;
}
.fjtr-home .fjtr-intro a:hover,
.fjtr-page .fjtr-intro a:hover,
.fjtr-home-intro a:hover {
color: #ffbe73 !important;
text-decoration: underline;
}
/* ========================================
7. GRIDS
======================================== */
.fjtr-home-grid,
.fjtr-grid {
display: grid;
gap: 14px;
margin: 11px 0 12px;
}
.fjtr-home-grid--three,
.fjtr-grid:not(.fjtr-grid--two) {
grid-template-columns:
repeat(3, minmax(0, 1fr));
}
.fjtr-home-grid--two,
.fjtr-grid--two {
grid-template-columns:
repeat(2, minmax(0, 1fr));
}
/* ========================================
8. COLORFUL NAVIGATION CARDS
======================================== */
.fjtr-home-card,
.fjtr-tile {
padding: 19px;
border: 3px solid var(--fjtr-card-edge, #246c8c);
border-radius: 4px;
color: #ffffff;
background: linear-gradient(
160deg,
var(--fjtr-card-light, #4dc2ee),
var(--fjtr-card-dark, #268dbf)
);
box-shadow: var(--fjtr-shadow);
transition:
transform 0.12s ease,
filter 0.12s ease;
}
.fjtr-home-card:hover,
.fjtr-tile:hover {
transform: translateY(-2px);
filter: brightness(1.05);
}
/* Orange */
.fjtr-home-card--orange,
.fjtr-tile--orange {
--fjtr-card-light: #ffae6c;
--fjtr-card-dark: #f57b4e;
--fjtr-card-edge: #a85134;
}
/* Green */
.fjtr-home-card--green,
.fjtr-tile--green {
--fjtr-card-light: #99d94d;
--fjtr-card-dark: #60b932;
--fjtr-card-edge: #48852d;
}
/* Blue */
.fjtr-home-card--blue,
.fjtr-tile--blue {
--fjtr-card-light: #4dc2ee;
--fjtr-card-dark: #268dbf;
--fjtr-card-edge: #246c8c;
}
/* Purple */
.fjtr-home-card--purple,
.fjtr-tile--purple {
--fjtr-card-light: #b18bd3;
--fjtr-card-dark: #8355a9;
--fjtr-card-edge: #623f80;
}
/* Teal */
.fjtr-home-card--teal,
.fjtr-tile--teal,
.fjtr-tile--purple {
--fjtr-card-light: #32b69d;
--fjtr-card-dark: #117d70;
--fjtr-card-edge: #126453;
}
.fjtr-home-card-label,
.fjtr-tile-label {
color: #ffffff;
opacity: 0.92;
font-size: 0.73rem;
font-weight: 900;
letter-spacing: 0.1em;
margin-bottom: 6px;
}
.fjtr-home-card-title,
.fjtr-tile-name {
color: #ffffff;
font-size: 1.22rem;
font-weight: 900;
margin-bottom: 8px;
text-shadow:
0 2px 0 rgba(0, 0, 0, 0.2);
}
.fjtr-home-card-links,
.fjtr-tile-links {
margin-top: 12px;
padding-top: 10px;
border-top:
1px solid rgba(255, 255, 255, 0.45);
font-size: 0.88rem;
}
.fjtr-home-card a,
.fjtr-tile a {
color: #ffffff !important;
font-weight: 700;
}
.fjtr-home-card a:hover,
.fjtr-tile a:hover {
color: #fff3cb !important;
}
/* ========================================
9. INFORMATION PANELS
======================================== */
.fjtr-home-panel,
.fjtr-panel,
.fjtr-home .fjtr-panel,
.fjtr-page .fjtr-panel {
overflow: hidden;
border: 2px solid #4f4238;
border-radius: 4px;
background: #fcf7eb;
color: #3b3028;
box-shadow: var(--fjtr-shadow);
}
/* Panel accent colors */
.fjtr-home-panel--orange,
.fjtr-panel--orange {
--fjtr-panel-light: #ffab65;
--fjtr-panel-dark: #e88142;
}
.fjtr-home-panel--green,
.fjtr-panel--green {
--fjtr-panel-light: #99d84b;
--fjtr-panel-dark: #62ad34;
}
.fjtr-home-panel--blue,
.fjtr-panel--blue {
--fjtr-panel-light: #4dc2ee;
--fjtr-panel-dark: #268dbf;
}
.fjtr-home-panel--purple,
.fjtr-panel--purple {
--fjtr-panel-light: #a584d1;
--fjtr-panel-dark: #7954a8;
}
.fjtr-home-panel-title,
.fjtr-panel-heading,
.fjtr-panel-header {
padding: 11px 15px;
background: linear-gradient(
135deg,
var(--fjtr-panel-light, #4dc2ee),
var(--fjtr-panel-dark, #268dbf)
);
color: #ffffff !important;
font-size: 1.07rem;
font-weight: 900;
border-bottom:
2px solid rgba(0, 0, 0, 0.2);
text-shadow:
0 1px 2px rgba(0, 0, 0, 0.3);
}
.fjtr-panel-content,
.fjtr-panel-body {
padding: 13px 16px;
color: #3b3028;
background: #fcf7eb;
}
.fjtr-panel-content a,
.fjtr-panel-body a {
color: #176b94 !important;
}
/* ========================================
10. LINK LISTS
======================================== */
.fjtr-home-link-list {
padding: 8px 16px 13px;
color: #3b3028;
background: #fcf7eb;
}
.fjtr-home-link-list ul,
.fjtr-panel-body ul {
margin: 0.3em 0 0.2em 1.15em;
}
.fjtr-home-link-list li,
.fjtr-panel-body li {
margin: 0.35em 0;
}
.fjtr-home-link-list a {
color: #176b94 !important;
font-weight: 650;
}
.fjtr-home-link-list a:hover {
color: #bc6033 !important;
}
/* ========================================
11. WIKI UTILITY LINKS
======================================== */
.fjtr-home-utility,
.fjtr-tags {
display: flex;
flex-wrap: wrap;
gap: 9px;
}
.fjtr-home-utility span,
.fjtr-tags a {
display: inline-block;
padding: 7px 12px;
background: #f3e2c8;
border: 1px solid #a88b69;
border-radius: 3px;
box-shadow: 0 2px 0 #bca58c;
color: #714421 !important;
font-weight: 700;
text-decoration: none !important;
}
.fjtr-home-utility span:hover,
.fjtr-tags a:hover {
background: #ffe6bb;
}
/* ========================================
12. ABOUT THE GAME
======================================== */
.fjtr-home-about,
.fjtr-about {
margin: 29px 0 16px;
border: 3px solid #63411f;
border-radius: 4px;
overflow: hidden;
box-shadow:
0 5px 0 rgba(84, 53, 27, 0.23),
0 8px 15px rgba(0, 0, 0, 0.1);
}
.fjtr-home-about-header,
.fjtr-about-header {
padding: 13px 18px;
background: linear-gradient(
110deg,
#a66c39,
#79451f
);
border-bottom: 2px solid #58341c;
color: #ffffff;
font-size: 1.13rem;
font-weight: 900;
}
.fjtr-home-about-body,
.fjtr-about-body {
padding: 17px 20px;
background: linear-gradient(
135deg,
#fff4dc,
#f4dfb9
);
color: #4a311e;
}
.fjtr-home-about-body p,
.fjtr-about-body p {
color: #4a311e;
}
.fjtr-home-about-body a,
.fjtr-about-body a {
color: #87421e !important;
font-weight: 700;
}
.fjtr-home-about-actions {
margin-top: 12px;
font-weight: 700;
}
/* ========================================
13. GENERAL ARTICLE PANELS
======================================== */
.fjtr-panel {
margin: 1em 0;
}
.fjtr-panel:not([class*="fjtr-panel--"]) {
--fjtr-panel-light: #99d84b;
--fjtr-panel-dark: #62ad34;
}
/* ========================================
14. RESPONSIVE LAYOUT
======================================== */
@media (max-width: 850px) {
.fjtr-home-grid--three,
.fjtr-grid:not(.fjtr-grid--two) {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.fjtr-home-grid--two,
.fjtr-grid--two {
grid-template-columns: 1fr;
}
.fjtr-home-hero,
.fjtr-hero {
padding: 22px 18px;
}
.fjtr-home-title {
font-size: 1.9rem;
}
.fjtr-brand-logo {
max-height: 100px;
}
.fjtr-intro,
.fjtr-home-intro {
padding: 14px 15px;
}
.fjtr-home-card,
.fjtr-tile {
padding: 15px;
}
}
/* ========================================
15. ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
.fjtr-home-card,
.fjtr-tile,
.fjtr-home-button,
.fjtr-btn {
transition: none;
}
}