No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
background-size: cover; | background-size: cover; | ||
background-position: top center; | background-position: top center; | ||
} | } | ||
Line 69: | Line 61: | ||
top: 0; | top: 0; | ||
left: 0; | left: 0; | ||
z-index: 1; | |||
} | } | ||
div.colorem #bigtext { | |||
width: 100vw; | |||
height: 100vh; | |||
top: 0; | |||
left: 0; | |||
position: absolute; | |||
text-align: center; | |||
vertical-align: middle; | |||
font-size: 5.6rem; | |||
line-height: 6.6rem; | |||
color: white; | |||
z-index: 2; | |||
} | |||
/* Logo on top */ | /* Logo on top */ |
Revision as of 19:50, 10 February 2023
/* All CSS here will be loaded for users of the Citizen skin */ :root { --color-base: black; --color-base--emphasized: black; --color-base--subtle: gray; /*--color-primary__h: 153; --color-primary__s: 78%; --color-primary__l: 43%; light green colour */ --color-primary__h: 120; --color-primary__s: 100%; --color-primary__l: 21%; --font-family-base: "HelveticaNeue",Helvetica,Arial,sans-serif; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color: #26262; background-color: rgba(0, 0, 0, 0); } a:hover { text-decoration: underline;} /* no wordmark in the footer */ .mw-logo-wordmark { display: none; } /* no header: we'll add page titles manually to be able to change the colour */ .firstHeading-container { visibility: hidden; } #siteSub { visibility: hidden; } /* Bring the text to 14px */ #bodyContent { font-size: 1.175em; } /* Hide the ToC */ /*.toc { visibility: hidden; } */ a.image img { max-width:100%; height:auto; } /* Colorem video */ div.colorem { width: 100%; height: 100%; position: static; /* pointer-events: none; */ overflow: hidden; background-size: cover; background-position: top center; } div.colorem video { width: 100vw; height: 100vh; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 1; } div.colorem #bigtext { width: 100vw; height: 100vh; top: 0; left: 0; position: absolute; text-align: center; vertical-align: middle; font-size: 5.6rem; line-height: 6.6rem; color: white; z-index: 2; } /* Logo on top */ .page-heading { background: url(/w/resources/assets/edgy-logo.svg) left center/contain no-repeat border-box; } .citizen-body-header--sticky { background-color: rgba(0, 0, 0, 0); } .citizen-body-header--sticky .mw-body-header { background-color: rgba(0, 0, 0, 0); } .citizen-body-header--sticky .mw-body-header::before { background-color: rgba(0, 0, 0, 0); } header.mw-body-header { gap: 0; background-color: rgba(0, 0, 0, 0); } /* hide citizen skin settings */ #citizen-pref-toggle { display: none; } /* cards */ .card { display: flex; min-width: 240px; max-width: 100%; box-sizing: border-box; flex-direction: column; flex-grow: 1; justify-content: space-between; margin: 0 0.2rem 0.4rem 0.2rem; background-color: var( --color-surface-1 ); border-radius: var( --border-radius--medium ); box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.03 ), 0 1px 2px rgba( 0, 0, 0, 0.06 ); font-size: 0.875rem; transition: box-shadow 0.2s ease; } .card:hover { box-shadow: 0 10px 20px rgba( 0, 0, 0, 0.0475 ), 0 6px 6px rgba( 0, 0, 0, 0.0575 ); } .card-col2 { width: calc( 100% / 2 - 0.4rem ); } .card-col3 { width: calc( 100% / 3 - 0.4rem ); } .card-col4 { width: calc( 100% / 4 - 0.4rem ); } .card-col5 { width: calc( 100% / 5 - 0.4rem ); } .card-col6 { width: calc( 100% / 6 - 0.4rem ); } .card-container { margin-top: 1.6rem !important; margin-right: -0.2rem; margin-bottom: 1.6rem !important; margin-left: -0.2rem; border-radius: 0 0 12px 12px; } .card-container.floatnone { padding: 0 20px; } .card-row { display: flex; width: 100%; flex-wrap: wrap; } .card-caption { font-size: 0.875rem; font-weight: 600; } .card-image a { display: flex; overflow: hidden; justify-content: center; background: none !important; } .card-image a img { transition: transform 0.2s cubic-bezier( 0.77, 0.2, 0.05, 1 ); } .card:hover .card-image a img { transform: scale( 1.1 ); } .card .card-title { margin-top: 0; margin-bottom: 0.8rem; color: var( --color-base--emphasized ); font-size: 1.25rem; font-weight: 600; line-height: 1.2; } /* CSS hack */ .card .card-title + .byline-bottom { margin-top: -0.6rem; } .card ol, .card ul { padding-left: 1.6rem; margin: 0; } .card .byline-top, .card .byline-bottom { color: var( --color-base ); font-size: 0.825rem; } .card .byline-top { margin: 0 0 0.2rem 0; } .card .byline-bottom { margin: 0.2rem 0 1.6rem 0; } .card .byline-bottom + p { margin-top: 0.8rem; } .card .numdata { margin-top: 0.8rem; } .card-top, .card-bottom { padding: 1.2rem; } .card-button { background: var( --color-base ); border-radius: 0 0 var( --border-radius--medium ) var( --border-radius--medium ); transition: opacity 0.2s ease; } .card-button:hover { opacity: 0.8; } .card-button a { display: block; padding: 0.6rem; /* Cancel out a styles */ background: none !important; color: #fff; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.25px; text-align: center; transition: background 0.2s ease, color 0.2s ease; } .card-bottom { background: var( --color-surface-2 ); } @media only screen and ( max-width: 720px ) { .card-row { overflow: auto; width: auto; flex-wrap: nowrap; padding: 0 20px; margin: 0 -20px; } }