MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
| Line 245: | Line 104: | ||
min-height: 100vh !important; | min-height: 100vh !important; | ||
} | } | ||
#content.mw-body.ve-init-mw-desktopArticleTarget-targetContainer { min-width: 450px } | |||
Revision as of 22:59, 5 December 2025
.info-box, .cta-box {
padding: 1.5rem;
border-radius: 14px;
margin: 1.5rem 0;
}
.info-box {
background: rgba(236, 239, 255, 0.8);
border-left: 4px solid var(--blue-500);
}
/*------------------------------------ Hero Section ------------------------------------ */
.hero {
background: rgba(255,255,255,0.85);
border: 2px solid rgba(255, 111, 163, 0.18);
border-radius: 20px;
max-width: 1200px;
margin: 0 auto 16px auto;
box-shadow: 0 6px 24px rgba(255, 79, 145, 0.18);
}
.hero-inner {
padding: clamp(18px, 3vw, 36px);
text-align: center;
}
.hero-title {
margin: 8px 0 4px 0;
font-size: clamp(22px, 4vw, 36px);
font-weight: 800;
background: linear-gradient(135deg, #ff4f91, #d02f72);
background-clip: text;
}
.hero-subtitle {
color: #666;
font-size: clamp(14px, 2.2vw, 18px);
}
.status-pill {
display: inline-block;
margin-top: 10px;
padding: 8px 14px;
border-radius: 999px;
font-weight: 700;
color: #fff;
background: linear-gradient(135deg, #ff4f91, #d02f72);
animation: fadeInOut 2s ease-in-out infinite;
}
/* ------------------------------------ Buttons ------------------------------------ */
.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *),
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):not(button.nested-tab) {
background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%) !important;
color: white !important;
border: none !important;
border-radius: 8px !important;
padding: 8px 16px !important;
font-weight: 600 !important;
cursor: pointer !important;
transition: 0.3s ease !important;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}
.mw-ui-button:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover,
button:not(.nav-tab):not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover {
transform: translateY(-2px) !important;
box-shadow: 0 8px 30px rgba(255, 107, 157, 0.3) !important;
}
/*------------------------------------ ------------------------------------*/
* {
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, "Noto Sans", sans-serif !important;
line-height: 1.6 !important;
color: #2d2d2d !important;
background: linear-gradient(135deg, #fff0f6, #ffd9e9 40%, #ffb3cf) !important;
background-attachment: fixed !important;
margin: 0 !important;
padding: clamp(18px, 3vw, 36px);
min-height: 100vh !important;
}
#content.mw-body.ve-init-mw-desktopArticleTarget-targetContainer { min-width: 450px }
/* ------------------------------------ TYPOGRAPHY ------------------------------------ */
/* [TYPOGRAPHY] TEXT STYLING
======================================== */
h1, h2, h3, h4, h5, h6 {
color: #ff6b9d !important;
font-weight: 700 !important;
font-style: italic;
margin-bottom: 16px !important;
margin-top: 24px !important;
}
h1, h2 {
background: linear-gradient(135deg, #ff6b9d 0%, #ffc3e0 100%) !important;
border-bottom: 2px solid #ff4f91;
background-clip: text !important;
font-size: 2.5em !important;
}
h4 {
font-size: 2em !important;
}
h5 {
text-decoration: underline;
}
.section-header {
text-align: center;
margin-bottom: max(12px, min(2.5vw, 24px));
}
.section-header h2 {
margin: 0;
font-size: max(20px, min(3vw, 28px));
color: #222;
display: inline-block;
padding-bottom: 6px;
}
.section-lead {
margin-top: 6px;
color: #666;
font-size: max(13px, min(2vw, 16px));
}
/*---------------------- Links -----------------------*/
#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *) {
color: #f70361 !important;
display: inline-block !important;
padding: 2px 4px !important;
border-radius: 10px !important;
border-left: 3px solid transparent !important;
transition: color .2s ease, background-color .2s ease, border-color .2s ease, padding .2s ease !important;
}
#mw-content-text a:not(.ve-ui *):not(.oo-ui-window *):not(.mw-editform *):not(.editOptions *):not(.wikiEditor-ui *):hover {
color: #ff6a9c !important;
background: #fff5fb !important;
border-left-color: #ff6b9d !important;
padding-left: 8px !important;
}
.external-link {
color: #ff6b9d;
text-decoration: none;
border-bottom: 1px dashed #ff6b9d;
transition: all 0.3s ease;
padding-right: 20px;
position: relative;
}
.external-link::after {
content: '↗';
position: absolute;
right: 0;
top: 0;
font-size: 0.8em;
}
.external-link:hover {
color: #d63384;
border-bottom-color: #d63384;
}
a.external {
background-image: none !important;
padding-right: 0 !important;
}
a.external::after {
display: none !important;
content: none !important;
}
.mw-link-internal {
color: #ff6b9d !important;
text-decoration: none !important;
transition: 0.3s ease !important;
border-bottom: 1px dotted transparent !important;
}
.mw-link-internal:hover {
color: #d63384 !important;
border-bottom-color: #ff6b9d !important;
}
.mw-redirect {
color: #ff8fb0 !important;
}
/* --------------------------------------------------------------THEME--------------------------------------------------------------------------------- */
/* THEME BASE */
:root { --theme-transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease }
html, body, #content, .mw-body, .hero, .highlights-section, .card.highlight, .card-media, .nav-tabs, .info-card, .wikitable-like, a, button, input, textarea, select { transition: var(--theme-transition) }
/* DARK THEME */
html[data-theme="dark"] { color-scheme: dark }
html[data-theme="dark"] body { background: linear-gradient(135deg, #0f1422, #171e2c 40%, #101625) !important; color: #cfe6ff !important }
html[data-theme="dark"] .section-header h2 { color: #cfe6ff !important; border-bottom-color: rgba(159,208,255,.35) !important }
html[data-theme="dark"] .section-lead { color: #a8c6e8 !important }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: #9fd0ff !important; background: none !important; border-bottom: 2px solid rgba(159,208,255,.35) !important }
html[data-theme="dark"] #mw-content-text a { color: #7bbbff !important; background: transparent !important; border-left-color: transparent !important }
html[data-theme="dark"] #mw-content-text a:hover { color: #a2d3ff !important; background: rgba(61,97,146,.22) !important; border-left-color: #7bbbff !important }
html[data-theme="dark"] .mw-link-internal { color: #9fd0ff !important }
html[data-theme="dark"] .mw-link-internal:hover { color: #cfe6ff !important }
html[data-theme="dark"] p,
html[data-theme="dark"] strong,
html[data-theme="dark"] b { color: #cfe6ff !important }
html[data-theme="dark"] .card p,
html[data-theme="dark"] .card strong,
html[data-theme="dark"] .info-card p,
html[data-theme="dark"] .info-card strong,
html[data-theme="dark"] .quest-card p,
html[data-theme="dark"] .quest-card strong { color: #cfe6ff !important }
/* COMPONENTS */
html[data-theme="dark"] .hero { background: rgba(20,25,36,.92); border: 1px solid rgba(159,208,255,.18); box-shadow: 0 6px 24px rgba(10, 15, 26, .4) }
html[data-theme="dark"] .status-pill { background: linear-gradient(135deg, #5b8bff, #88c0ff) }
html[data-theme="dark"] .info-box { background: rgba(22, 28, 41, .85); border-left-color: #7bbbff }
html[data-theme="dark"] .mw-ui-button:not(.ve-ui *), html[data-theme="dark"] button { background: linear-gradient(135deg, #3976d7, #7db7ff) !important; color: #fff !important }
/* Highlights cards */
html[data-theme="dark"] .card.highlight { background: rgba(20,26,38,.92); border: 1px solid rgba(159,208,255,.15); box-shadow: 0 6px 16px rgba(12,18,30,.35) }
html[data-theme="dark"] .card-media { background: linear-gradient(180deg, #172235, #101827) }
html[data-theme="dark"] .card-title { color: #cfe6ff }
/* Tabs containers */
html[data-theme="dark"] .tab-content { background: #121a29 !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 18px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .tab-content.active { background: #121a29 !important }
html[data-theme="dark"] .nested-content { background: #101625 !important; border: 1px solid rgba(159,208,255,.15) !important }
html[data-theme="dark"] .wikitable-like { background: #141c2a !important; border: 1px solid rgba(159,208,255,.15) !important }
html[data-theme="dark"] .wikitable-like .column ul li { background: #121a29 !important; border: 1px solid rgba(159,208,255,.12) !important }
html[data-theme="dark"] .wikitable-like .column ul li a { color: #9fd0ff !important; background: transparent !important }
html[data-theme="dark"] .card { background: #141c2a !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 16px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .card .card-body { background: transparent !important; color: #cfe6ff !important }
html[data-theme="dark"] .info-card { background: rgba(20,26,38,.92) !important; border: 1px solid rgba(159,208,255,.18) !important; box-shadow: 0 6px 18px rgba(12,18,30,.35) !important }
html[data-theme="dark"] .quest-section, html[data-theme="dark"] .quest-card { background: #121a29 !important; border: 1px solid rgba(159,208,255,.18) !important }
html[data-theme="dark"] .quest-card .reward-item, html[data-theme="dark"] .reward-card { background: #0f1422 !important; border: 1px solid rgba(159,208,255,.25) !important; color: #cfe6ff !important }
html[data-theme="dark"] .quest-card .reward-item:hover { background: rgba(61,97,146,.22) !important; color: #cfe6ff !important }
/* Forms */
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="search"],
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { background: #111726 !important; color: #cfe6ff !important; border-color: rgba(159,208,255,.25) !important }
html[data-theme="dark"] input[type="text"]::placeholder,
html[data-theme="dark"] input[type="search"]::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #7ea6d6 !important }
html[data-theme="dark"] input[type="text"]:focus,
html[data-theme="dark"] input[type="search"]:focus,
html[data-theme="dark"] textarea:focus,
html[data-theme="dark"] select:focus { border-color: #7bbbff !important; box-shadow: 0 0 0 3px rgba(123,187,255,.25) !important }
html[data-theme="dark"] #text { color: #cfe6ff !important }
html[data-theme="dark"] li { color: #a8c6e8 !important }