MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Show Create boxes to administrators via MediaWiki:Group-sysop.css (no JavaScript needed) |
Redesign: Star Citizen Wiki style Main Page, infoboxes and notices; short descriptions; Create a page |
||
| Line 1: | Line 1: | ||
/* Site-wide styles (all skins). | /* Site-wide styles (all skins). Uses Citizen's theme variables so everything | ||
follows the light/dark theme. Fallback values are for other skins. */ | |||
/* | /* ===================== Infoboxes ===================== */ | ||
.evo-infobox { | .evo-infobox { | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
width: | width: 20rem; | ||
max-width: 100%; | max-width: 100%; | ||
margin: 0 0 | margin: 0 0 1rem 1.5rem; | ||
border: 1px solid var( --border-color-base, #3a3a44 ); | |||
border: 1px solid var( --border-color-base ) | border-radius: var( --border-radius-large, 12px ); | ||
background: var( --color-surface-1, #16161c ); | |||
border-radius: var( --border-radius- | font-size: 0.875rem; | ||
line-height: 1.5; | |||
background: var( --color-surface-1 ); | |||
font-size: 0. | |||
line-height: 1. | |||
overflow: hidden; | overflow: hidden; | ||
} | |||
/* Image first, edge to edge */ | |||
.evo-infobox-image { | |||
background: var( --color-surface-2, #1e1e26 ); | |||
text-align: center; | |||
line-height: 0; | |||
} | |||
.evo-infobox-image img { | |||
width: 100%; | |||
height: auto; | |||
} | |||
.evo-infobox-caption { | |||
padding: 0.5rem 1rem 0; | |||
font-size: 0.8125rem; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
} | |||
.evo-infobox-head { | |||
padding: 0.875rem 1rem 0.75rem; | |||
} | |||
.evo-infobox-kicker { | |||
font-size: 0.75rem; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
} | } | ||
.evo-infobox-title { | .evo-infobox-title { | ||
font-size: 1.375rem; | |||
font-size: 1. | |||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.25; | |||
color: var( --color-emphasized, #fff ); | |||
} | } | ||
.evo-infobox-subtitle { | .evo-infobox-subtitle { | ||
margin-top: 0.125rem; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
color: var( --color-subtle | |||
} | } | ||
.evo-infobox- | /* Sections (collapsible) */ | ||
.evo-infobox-section { | |||
border-top: 1px solid var( --border-color-base, #3a3a44 ); | |||
padding: 0.5rem 0 0.375rem; | |||
} | } | ||
.evo-infobox- | .evo-infobox-header { | ||
padding: 0.25rem 1rem; | |||
font- | font-weight: 600; | ||
color: var( --color-emphasized, #fff ); | |||
color: var( --color- | |||
} | } | ||
.evo-infobox- | .evo-infobox-section .mw-collapsible-toggle { | ||
margin-right: 1rem; | |||
margin-top: 0.25rem; | |||
font-size: 0.75rem; | |||
} | } | ||
.evo-infobox-row { | .evo-infobox-row { | ||
display: flex; | display: flex; | ||
gap: | gap: 1rem; | ||
padding: 0. | padding: 0.3125rem 1rem; | ||
} | } | ||
.evo-infobox-label { | .evo-infobox-label { | ||
flex: 0 0 | flex: 0 0 42%; | ||
color: var( --color-subtle, #9a9aa6 ); | |||
color: var( --color-subtle ); | |||
} | } | ||
| Line 85: | Line 95: | ||
float: none; | float: none; | ||
width: auto; | width: auto; | ||
margin: 0 0 | margin: 0 0 1rem 0; | ||
} | } | ||
} | } | ||
/* | /* ===================== Notices ({{Notice}}, {{Stub}}, {{WIP}}) ===================== */ | ||
.evo-notice { | .evo-notice { | ||
display: flex; | display: flex; | ||
align-items: | align-items: flex-start; | ||
gap: 0. | gap: 0.625rem; | ||
margin: 0 0 | margin: 0 0 1rem 0; | ||
padding: 0. | padding: 0.5rem 0.75rem; | ||
border: 1px solid var( --border-color-base, #3a3a44 ); | |||
border: 1px solid var( --border-color-base ) | border-radius: var( --border-radius-medium, 8px ); | ||
background: var( --color-surface-1, #16161c ); | |||
font-size: 0.875rem; | |||
border-radius: var( --border-radius-medium ) | color: var( --color-base, #ddd ); | ||
background: var( --color-surface-1 ); | |||
font-size: 0. | |||
} | } | ||
.evo-notice | .evo-notice::before { | ||
content: ''; | |||
flex: 0 0 auto; | flex: 0 0 auto; | ||
width: 1.125rem; | |||
height: 1.125rem; | |||
margin-top: 0.0625rem; | |||
background-color: var( --color-subtle, #9a9aa6 ); | |||
-webkit-mask: var( --evo-notice-icon ) center / contain no-repeat; | |||
mask: var( --evo-notice-icon ) center / contain no-repeat; | |||
} | } | ||
.evo-notice- | /* Info: circle with an "i" */ | ||
.evo-notice-info { | |||
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 9h2v6H9zm0-4h2v2H9z'/%3E%3C/svg%3E" ); | |||
} | } | ||
/* Stub: circle with a plus */ | |||
.evo-notice-stub { | .evo-notice-stub { | ||
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 6h2v3h3v2h-3v3H9v-3H6V9h3z'/%3E%3C/svg%3E" ); | |||
} | } | ||
/* Work in progress: pencil */ | |||
.evo-notice-wip { | .evo-notice-wip { | ||
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M13.6 2.6a2 2 0 0 1 2.8 0l1 1a2 2 0 0 1 0 2.8L7 16.8 2.5 17.5l.7-4.5zM12.2 6 4.9 13.3l-.3 2.1 2.1-.3L14 7.8z'/%3E%3C/svg%3E" ); | |||
} | } | ||
.evo- | /* ===================== Main Page ===================== */ | ||
border- | .evo-hero { | ||
position: relative; | |||
margin: 0 0 1.5rem; | |||
padding: 2.5rem 2rem 2rem; | |||
border: 1px solid var( --border-color-base, #3a3a44 ); | |||
border-radius: var( --border-radius-large, 12px ); | |||
background: | |||
radial-gradient( ellipse at 85% 0%, oklch( 60% 0.12 var( --color-progressive-oklch__h, 262 ) / 0.22 ), transparent 60% ), | |||
var( --color-surface-1, #16161c ); | |||
overflow: hidden; | |||
} | } | ||
.evo-hero-stats { | |||
.evo- | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | |||
gap: 1. | gap: 1.25rem; | ||
margin | margin-bottom: 1rem; | ||
font-family: var( --font-family-monospace, ui-monospace, monospace ); | |||
font-size: 0.8125rem; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
} | } | ||
.evo- | .evo-stat-value { | ||
color: var( --color-emphasized, #fff ); | |||
} | } | ||
.evo | .evo-hero-title { | ||
font-size: | max-width: 40rem; | ||
font-size: 2.5rem; | |||
font-weight: 700; | font-weight: 700; | ||
line-height: 1. | line-height: 1.15; | ||
letter-spacing: -0.02em; | |||
color: var( --color-emphasized, #fff ); | |||
} | |||
.evo-hero-title-muted { | |||
color: var( --color-subtle, #9a9aa6 ); | |||
font-weight: 600; | |||
} | |||
/* Search box (InputBox type=search) */ | |||
.evo-hero-search { | |||
margin-top: 1.5rem; | |||
max-width: 36rem; | |||
} | |||
.evo-hero-search form, | |||
.evo-hero-search .mw-inputbox-centered { | |||
margin: 0; | |||
text-align: left; | |||
} | |||
.evo-hero-search .mw-inputbox-element, | |||
.evo-hero-search input[type='search'], | |||
.evo-hero-search input[name='search'] { | |||
width: 100%; | |||
box-sizing: border-box; | |||
padding: 0.75rem 1rem; | |||
border: 1px solid var( --border-color-base, #3a3a44 ); | |||
border-radius: var( --border-radius-medium, 8px ); | |||
background: var( --color-surface-0, #0e0e12 ); | |||
color: var( --color-base, #ddd ); | |||
font-size: 1rem; | |||
} | |||
.evo-hero-search input[type='submit'] { | |||
display: none; | |||
} | |||
/* Category chips (automatic, from Category:Universe) */ | |||
.evo-hero-chips { | |||
margin-top: 0.75rem; | |||
} | |||
.evo-hero-chips .CategoryTreeTag { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.5rem; | |||
} | |||
.evo-hero-chips .CategoryTreeBullet, | |||
.evo-hero-chips .CategoryTreeChildren, | |||
.evo-hero-chips .CategoryTreeEmptyBullet { | |||
display: none; | |||
} | } | ||
.evo | .evo-hero-chips .CategoryTreeItem a { | ||
display: inline-block; | |||
padding: 0.25rem 0.75rem; | |||
color | border: 1px solid var( --border-color-base, #3a3a44 ); | ||
color: var( --color- | border-radius: 999px; | ||
background: var( --color-surface-0, #0e0e12 ); | |||
color: var( --color-base, #ddd ); | |||
font-size: 0.8125rem; | |||
text-decoration: none; | |||
} | } | ||
.evo | .evo-hero-chips .CategoryTreeItem a:hover { | ||
border-color: var( --color-progressive, #6aa9ff ); | |||
color: var( --color-progressive, #6aa9ff ); | |||
color: var( --color- | |||
} | } | ||
.evo- | /* Card grid */ | ||
.evo-home-grid { | |||
display: grid; | display: grid; | ||
grid-template-columns: | grid-template-columns: 2fr 1fr; | ||
gap: | gap: 1rem; | ||
} | } | ||
.evo- | .evo-card { | ||
min-width: 0; | |||
padding: 1.25rem; | |||
border: 1px solid var( --border-color-base ) | border: 1px solid var( --border-color-base, #3a3a44 ); | ||
border-radius: var( --border-radius-large, 12px ); | |||
border-radius: var( --border-radius-large ) | background: var( --color-surface-1, #16161c ); | ||
background: var( --color-surface-1 ); | |||
} | } | ||
.evo- | .evo-card-full { | ||
grid-column: 1 / -1; | grid-column: 1 / -1; | ||
} | } | ||
.evo- | .evo-card-flush { | ||
margin: 0 0 0. | padding: 0; | ||
padding-bottom: 0. | overflow: hidden; | ||
font-size: 1. | } | ||
.evo-card-kicker { | |||
margin-bottom: 0.75rem; | |||
font-family: var( --font-family-monospace, ui-monospace, monospace ); | |||
font-size: 0.75rem; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
} | |||
.evo-card ul { | |||
margin: 0 0 0 1.1em; | |||
} | |||
.evo-card-more { | |||
margin-top: 0.75rem; | |||
font-size: 0.875rem; | |||
} | |||
.evo-card-links { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 0.5rem 1.5rem; | |||
} | |||
/* Featured card */ | |||
.evo-feat { | |||
position: relative; | |||
display: flex; | |||
align-items: flex-end; | |||
min-height: 18rem; | |||
height: 100%; | |||
background: var( --color-surface-2, #1e1e26 ); | |||
} | |||
.evo-feat-image, | |||
.evo-feat-image a, | |||
.evo-feat-image img { | |||
position: absolute; | |||
inset: 0; | |||
width: 100%; | |||
height: 100%; | |||
} | |||
.evo-feat-image img { | |||
object-fit: cover; | |||
} | |||
.evo-feat-body { | |||
position: relative; | |||
width: 100%; | |||
padding: 3rem 1.25rem 1.25rem; | |||
background: linear-gradient( to bottom, transparent, rgba( 0, 0, 0, 0.8 ) ); | |||
color: #fff; | |||
} | |||
.evo-feat-empty .evo-feat-body { | |||
background: none; | |||
color: var( --color-base, #ddd ); | |||
} | |||
.evo-feat-badge { | |||
display: inline-block; | |||
margin-bottom: 0.5rem; | |||
padding: 0.125rem 0.5rem; | |||
border-radius: var( --border-radius-medium, 8px ); | |||
background: rgba( 0, 0, 0, 0.55 ); | |||
color: #fff; | |||
font-size: 0.75rem; | |||
} | |||
.evo-feat-title { | |||
font-size: 1.75rem; | |||
font-weight: 700; | font-weight: 700; | ||
line-height: 1.2; | |||
border-bottom: | } | ||
.evo-feat-title a, | |||
.evo-feat-title a:visited { | |||
color: inherit; | |||
} | |||
.evo-feat-empty .evo-feat-title { | |||
color: var( --color-emphasized, #fff ); | |||
} | |||
.evo-feat-summary { | |||
margin-top: 0.375rem; | |||
font-size: 0.9375rem; | |||
opacity: 0.9; | |||
} | |||
/* New articles list ({{Special:NewPages}}) */ | |||
.evo-newpages ul { | |||
margin: 0; | |||
list-style: none; | |||
} | |||
.evo-newpages li { | |||
display: flex; | |||
justify-content: space-between; | |||
gap: 0.75rem; | |||
padding: 0.375rem 0; | |||
border-bottom: 1px solid var( --border-color-base, #3a3a44 ); | |||
font-size: 0.875rem; | |||
} | |||
.evo-newpages li:last-child { | |||
border-bottom: 0; | |||
} | } | ||
.evo- | .evo-newpages li:has( a[ title='Main Page' ] ) { | ||
display: none; | |||
} | } | ||
.evo-newpages .mw-newpages-time { | |||
order: 2; | |||
color: var( --color-subtle, #9a9aa6 ); | |||
white-space: nowrap; | |||
} | } | ||
.evo-newpages .mw-newpages-length, | |||
.evo- | .evo-newpages .mw-newpages-edittag, | ||
.evo-newpages .mw-newpages-history, | |||
.evo-newpages .mw-userlink, | |||
.evo-newpages .mw-usertoollinks, | |||
.evo-newpages .comment, | |||
.evo-newpages .mw-changeslist-separator, | |||
.evo-newpages .mw-tag-markers { | |||
display: none; | display: none; | ||
} | } | ||
.evo- | @media screen and ( max-width: 900px ) { | ||
.evo- | .evo-home-grid { | ||
grid-template-columns: 1fr; | |||
} | |||
.evo-hero { | |||
padding: 1.75rem 1.25rem 1.5rem; | |||
} | |||
.evo-hero-title { | |||
font-size: 1.875rem; | |||
} | |||
} | |||
/* ===================== Writers only ===================== */ | |||
/* Shown to administrators by MediaWiki:Group-sysop.css */ | |||
.evo-editor-only, | |||
#p-Contribute { | |||
display: none; | |||
} | } | ||
Revision as of 06:00, 18 October 2026
/* Site-wide styles (all skins). Uses Citizen's theme variables so everything
follows the light/dark theme. Fallback values are for other skins. */
/* ===================== Infoboxes ===================== */
.evo-infobox {
float: right;
clear: right;
width: 20rem;
max-width: 100%;
margin: 0 0 1rem 1.5rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: var( --border-radius-large, 12px );
background: var( --color-surface-1, #16161c );
font-size: 0.875rem;
line-height: 1.5;
overflow: hidden;
}
/* Image first, edge to edge */
.evo-infobox-image {
background: var( --color-surface-2, #1e1e26 );
text-align: center;
line-height: 0;
}
.evo-infobox-image img {
width: 100%;
height: auto;
}
.evo-infobox-caption {
padding: 0.5rem 1rem 0;
font-size: 0.8125rem;
color: var( --color-subtle, #9a9aa6 );
}
.evo-infobox-head {
padding: 0.875rem 1rem 0.75rem;
}
.evo-infobox-kicker {
font-size: 0.75rem;
color: var( --color-subtle, #9a9aa6 );
}
.evo-infobox-title {
font-size: 1.375rem;
font-weight: 700;
line-height: 1.25;
color: var( --color-emphasized, #fff );
}
.evo-infobox-subtitle {
margin-top: 0.125rem;
color: var( --color-subtle, #9a9aa6 );
}
/* Sections (collapsible) */
.evo-infobox-section {
border-top: 1px solid var( --border-color-base, #3a3a44 );
padding: 0.5rem 0 0.375rem;
}
.evo-infobox-header {
padding: 0.25rem 1rem;
font-weight: 600;
color: var( --color-emphasized, #fff );
}
.evo-infobox-section .mw-collapsible-toggle {
margin-right: 1rem;
margin-top: 0.25rem;
font-size: 0.75rem;
}
.evo-infobox-row {
display: flex;
gap: 1rem;
padding: 0.3125rem 1rem;
}
.evo-infobox-label {
flex: 0 0 42%;
color: var( --color-subtle, #9a9aa6 );
}
.evo-infobox-data {
flex: 1 1 auto;
min-width: 0;
overflow-wrap: anywhere;
}
@media screen and ( max-width: 720px ) {
.evo-infobox {
float: none;
width: auto;
margin: 0 0 1rem 0;
}
}
/* ===================== Notices ({{Notice}}, {{Stub}}, {{WIP}}) ===================== */
.evo-notice {
display: flex;
align-items: flex-start;
gap: 0.625rem;
margin: 0 0 1rem 0;
padding: 0.5rem 0.75rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: var( --border-radius-medium, 8px );
background: var( --color-surface-1, #16161c );
font-size: 0.875rem;
color: var( --color-base, #ddd );
}
.evo-notice::before {
content: '';
flex: 0 0 auto;
width: 1.125rem;
height: 1.125rem;
margin-top: 0.0625rem;
background-color: var( --color-subtle, #9a9aa6 );
-webkit-mask: var( --evo-notice-icon ) center / contain no-repeat;
mask: var( --evo-notice-icon ) center / contain no-repeat;
}
/* Info: circle with an "i" */
.evo-notice-info {
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 9h2v6H9zm0-4h2v2H9z'/%3E%3C/svg%3E" );
}
/* Stub: circle with a plus */
.evo-notice-stub {
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 6h2v3h3v2h-3v3H9v-3H6V9h3z'/%3E%3C/svg%3E" );
}
/* Work in progress: pencil */
.evo-notice-wip {
--evo-notice-icon: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M13.6 2.6a2 2 0 0 1 2.8 0l1 1a2 2 0 0 1 0 2.8L7 16.8 2.5 17.5l.7-4.5zM12.2 6 4.9 13.3l-.3 2.1 2.1-.3L14 7.8z'/%3E%3C/svg%3E" );
}
/* ===================== Main Page ===================== */
.evo-hero {
position: relative;
margin: 0 0 1.5rem;
padding: 2.5rem 2rem 2rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: var( --border-radius-large, 12px );
background:
radial-gradient( ellipse at 85% 0%, oklch( 60% 0.12 var( --color-progressive-oklch__h, 262 ) / 0.22 ), transparent 60% ),
var( --color-surface-1, #16161c );
overflow: hidden;
}
.evo-hero-stats {
display: flex;
flex-wrap: wrap;
gap: 1.25rem;
margin-bottom: 1rem;
font-family: var( --font-family-monospace, ui-monospace, monospace );
font-size: 0.8125rem;
color: var( --color-subtle, #9a9aa6 );
}
.evo-stat-value {
color: var( --color-emphasized, #fff );
}
.evo-hero-title {
max-width: 40rem;
font-size: 2.5rem;
font-weight: 700;
line-height: 1.15;
letter-spacing: -0.02em;
color: var( --color-emphasized, #fff );
}
.evo-hero-title-muted {
color: var( --color-subtle, #9a9aa6 );
font-weight: 600;
}
/* Search box (InputBox type=search) */
.evo-hero-search {
margin-top: 1.5rem;
max-width: 36rem;
}
.evo-hero-search form,
.evo-hero-search .mw-inputbox-centered {
margin: 0;
text-align: left;
}
.evo-hero-search .mw-inputbox-element,
.evo-hero-search input[type='search'],
.evo-hero-search input[name='search'] {
width: 100%;
box-sizing: border-box;
padding: 0.75rem 1rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: var( --border-radius-medium, 8px );
background: var( --color-surface-0, #0e0e12 );
color: var( --color-base, #ddd );
font-size: 1rem;
}
.evo-hero-search input[type='submit'] {
display: none;
}
/* Category chips (automatic, from Category:Universe) */
.evo-hero-chips {
margin-top: 0.75rem;
}
.evo-hero-chips .CategoryTreeTag {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.evo-hero-chips .CategoryTreeBullet,
.evo-hero-chips .CategoryTreeChildren,
.evo-hero-chips .CategoryTreeEmptyBullet {
display: none;
}
.evo-hero-chips .CategoryTreeItem a {
display: inline-block;
padding: 0.25rem 0.75rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: 999px;
background: var( --color-surface-0, #0e0e12 );
color: var( --color-base, #ddd );
font-size: 0.8125rem;
text-decoration: none;
}
.evo-hero-chips .CategoryTreeItem a:hover {
border-color: var( --color-progressive, #6aa9ff );
color: var( --color-progressive, #6aa9ff );
}
/* Card grid */
.evo-home-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 1rem;
}
.evo-card {
min-width: 0;
padding: 1.25rem;
border: 1px solid var( --border-color-base, #3a3a44 );
border-radius: var( --border-radius-large, 12px );
background: var( --color-surface-1, #16161c );
}
.evo-card-full {
grid-column: 1 / -1;
}
.evo-card-flush {
padding: 0;
overflow: hidden;
}
.evo-card-kicker {
margin-bottom: 0.75rem;
font-family: var( --font-family-monospace, ui-monospace, monospace );
font-size: 0.75rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var( --color-subtle, #9a9aa6 );
}
.evo-card ul {
margin: 0 0 0 1.1em;
}
.evo-card-more {
margin-top: 0.75rem;
font-size: 0.875rem;
}
.evo-card-links {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
}
/* Featured card */
.evo-feat {
position: relative;
display: flex;
align-items: flex-end;
min-height: 18rem;
height: 100%;
background: var( --color-surface-2, #1e1e26 );
}
.evo-feat-image,
.evo-feat-image a,
.evo-feat-image img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.evo-feat-image img {
object-fit: cover;
}
.evo-feat-body {
position: relative;
width: 100%;
padding: 3rem 1.25rem 1.25rem;
background: linear-gradient( to bottom, transparent, rgba( 0, 0, 0, 0.8 ) );
color: #fff;
}
.evo-feat-empty .evo-feat-body {
background: none;
color: var( --color-base, #ddd );
}
.evo-feat-badge {
display: inline-block;
margin-bottom: 0.5rem;
padding: 0.125rem 0.5rem;
border-radius: var( --border-radius-medium, 8px );
background: rgba( 0, 0, 0, 0.55 );
color: #fff;
font-size: 0.75rem;
}
.evo-feat-title {
font-size: 1.75rem;
font-weight: 700;
line-height: 1.2;
}
.evo-feat-title a,
.evo-feat-title a:visited {
color: inherit;
}
.evo-feat-empty .evo-feat-title {
color: var( --color-emphasized, #fff );
}
.evo-feat-summary {
margin-top: 0.375rem;
font-size: 0.9375rem;
opacity: 0.9;
}
/* New articles list ({{Special:NewPages}}) */
.evo-newpages ul {
margin: 0;
list-style: none;
}
.evo-newpages li {
display: flex;
justify-content: space-between;
gap: 0.75rem;
padding: 0.375rem 0;
border-bottom: 1px solid var( --border-color-base, #3a3a44 );
font-size: 0.875rem;
}
.evo-newpages li:last-child {
border-bottom: 0;
}
.evo-newpages li:has( a[ title='Main Page' ] ) {
display: none;
}
.evo-newpages .mw-newpages-time {
order: 2;
color: var( --color-subtle, #9a9aa6 );
white-space: nowrap;
}
.evo-newpages .mw-newpages-length,
.evo-newpages .mw-newpages-edittag,
.evo-newpages .mw-newpages-history,
.evo-newpages .mw-userlink,
.evo-newpages .mw-usertoollinks,
.evo-newpages .comment,
.evo-newpages .mw-changeslist-separator,
.evo-newpages .mw-tag-markers {
display: none;
}
@media screen and ( max-width: 900px ) {
.evo-home-grid {
grid-template-columns: 1fr;
}
.evo-hero {
padding: 1.75rem 1.25rem 1.5rem;
}
.evo-hero-title {
font-size: 1.875rem;
}
}
/* ===================== Writers only ===================== */
/* Shown to administrators by MediaWiki:Group-sysop.css */
.evo-editor-only,
#p-Contribute {
display: none;
}