MediaWiki interface page
No edit summary
No edit summary
Line 27: Line 27:
.br  { color: #1b56e2; }
.br  { color: #1b56e2; }


.capability { background: url(/w/resources/assets/Small-Shape-Capability.svg) no-repeat 18px fixed left; padding-left: 22px; }
.capability { background: url(/w/resources/assets/Small-Shape-Capability.svg) left center/18px no-repeat; padding-left: 22px; }


/* no wordmark in the footer */
/* no wordmark in the footer */

Revision as of 14:24, 17 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: 0;
    --color-primary__s: 0%;
    --color-primary__l: 44%;

    --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;}

.ac { color: #1b56e2; }
.ex  { color: #1b56e2; }
.id  { color: #1b56e2; }
.or  { color: #22c8ef; }
.pr  { color: #bb27fb; }
.br  { color: #1b56e2; }

.capability { background: url(/w/resources/assets/Small-Shape-Capability.svg) left center/18px no-repeat; padding-left: 22px; }

/* 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; }

/* no drawer menu header */
.citizen-drawer__header { display: none; }

/* Bring the text to 14px */
#bodyContent { font-size: 1.275em; }

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;
}

#bigtext {
    display: block;
    width: 100%;
    height: 95vh;
    position: relative;
    text-align: center;
    vertical-align:middle;
}

.bigtext {
    display: block;
    position: absolute;
    top: 40vh;
    text-align: center;
    width: 100%;
}

@media only screen and (min-width: 400px){
    .headline--claim {
        font-size:calc(1.519rem + 3.7037vw);
        line-height:calc(2.013rem + 3.96825vw);
    }
}
@media only screen and (min-width: 1156px){
   .headline--claim {
        font-size:5.6rem;
        line-height:6.6rem;
    }
}

.headline--claim {
    margin:0 0 1.8rem;
    font-weight: 300;
    text-align:center;
    color: white;
}

@media only screen and (min-width: 400px){
   .headline--claim {
        margin-bottom:calc(1.059rem + 1.85185vw)
    }
}
@media only screen and (min-width: 1156px){
    .headline--claim{
        margin-bottom:3.2rem
    }
}

.image__wrapper,.image__wrapper--lessmargin,.image__wrapper--nomargin{
    display:block;
    margin:0;
    padding:0;
    margin-bottom:2.5rem
}
@media only screen and (min-width: 400px){
    .image__wrapper,.image__wrapper--lessmargin,.image__wrapper--nomargin{
        margin-bottom:calc(0.913rem + 3.96825vw)
    }
}
@media only screen and (min-width: 1156px){
    .image__wrapper,.image__wrapper--lessmargin,.image__wrapper--nomargin{
        margin-bottom:5.5rem
    }
}
.image__wrapper.ratio-1-1,.ratio-1-1.image__wrapper--lessmargin,.ratio-1-1.image__wrapper--nomargin{
    position:relative;
    height:0;
    padding-bottom:100%
}
.image__wrapper.ratio-3-2,.ratio-3-2.image__wrapper--lessmargin,.ratio-3-2.image__wrapper--nomargin{
    position:relative;
    height:0;
    padding-bottom:66.6666666667%
}
.image__wrapper.ratio-16-9,.ratio-16-9.image__wrapper--lessmargin,.ratio-16-9.image__wrapper--nomargin{
    position:relative;
    height:0;
    padding-bottom:56.25%
}
.image__wrapper.round,.round.image__wrapper--lessmargin,.round.image__wrapper--nomargin{
    border-radius:50%;
    overflow:hidden
}
.image__wrapper--nomargin{
    margin-bottom:0
}
.image__wrapper--lessmargin{
    margin-bottom:1.0909em
}
.image__image{
    display:block;
    max-width:100%;
    height:auto
}
.image__image.has-ratio{
    position:absolute;
    width:100%;
    height:100%;
    -o-object-fit:cover;
    object-fit:cover;
    -o-object-position:center;
    object-position:center
}

/* 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);
}

.center,.center--vertically,.center--horizontally-vertically,.center--horizontally{
    display:-ms-flexbox;
    display:flex
}
.center--horizontally,.center--horizontally-vertically{
    -ms-flex-pack:center;
    justify-content:center
}
.center--vertically,.center--horizontally-vertically{
    height:100%;
    -ms-flex-direction:column;
    flex-direction:column;
    -ms-flex-pack:center;
    justify-content:center
}

/* 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;
	}
}