m (Add mobile headlines) |
m (Add spacing) |
||
| Line 84: | Line 84: | ||
display: table; | display: table; | ||
clear: both; | clear: both; | ||
padding-bottom: 0.2rem; | |||
} | } | ||
Revision as of 21:39, 21 March 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;
--headline-font-scale: 1;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: #26262;
background-color: rgba(0, 0, 0, 0);
}
@media (min-width: 800px) {
:root {
--headline-font-scale: 1.22699;
}
}
#mw-content-text p a {text-decoration: underline;}
a:hover { text-decoration: underline;}
/* Page headline BEGIN */
/* => hide text visually */
.page-EDGY_About .mw-body-content h1:first-of-type .mw-headline,
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type .mw-headline,
.page-Enterprise_Elements .mw-body-content h1:first-of-type .mw-headline,
.page-Glossary .mw-body-content h1:first-of-type .mw-headline,
.page-License .mw-body-content h1:first-of-type .mw-headline,
.page-EDGY_Tools .mw-body-content h1:first-of-type .mw-headline {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
position: absolute;
}
.page-EDGY_About .mw-body-content h1:first-of-type .mw-editsection,
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type .mw-editsection,
.page-Enterprise_Elements .mw-body-content h1:first-of-type .mw-editsection,
.page-Glossary .mw-body-content h1:first-of-type .mw-editsection,
.page-License .mw-body-content h1:first-of-type .mw-editsection,
.page-EDGY_Tools .mw-body-content h1:first-of-type .mw-editsection {
margin-bottom: -10px;
margin-right: -30px;
}
/* => pseudo element for the svg background */
.page-EDGY_About .mw-body-content h1:first-of-type:before,
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type:before,
.page-Enterprise_Elements .mw-body-content h1:first-of-type:before,
.page-Glossary .mw-body-content h1:first-of-type:before,
.page-License .mw-body-content h1:first-of-type:before,
.page-EDGY_Tools .mw-body-content h1:first-of-type:before {
content: "";
display: block;
width: 100%;
background-repeat: no-repeat;
background-position: left center;
background-size: contain;
float: left;
}
.page-EDGY_About .mw-body-content h1:first-of-type:after,
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type:after,
.page-Enterprise_Elements .mw-body-content h1:first-of-type:after,
.page-Glossary .mw-body-content h1:first-of-type:after,
.page-License .mw-body-content h1:first-of-type:after,
.page-EDGY_Tools .mw-body-content h1:first-of-type:after {
content: "";
display: table;
clear: both;
padding-bottom: 0.2rem;
}
/* => add all headline images */
.page-EDGY_About .mw-body-content h1:first-of-type {
max-width: calc(228px * var(--headline-font-scale));
}
.page-EDGY_About .mw-body-content h1:first-of-type:before {
padding-bottom: 10.54435218%;
background-image: url(/w/resources/assets/headline-about-edgy.svg);
}
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type{
max-width: calc(267px * var(--headline-font-scale));
}
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type:before {
padding-bottom: 20.97378277%;
background-image: url(/w/resources/assets/headline-mobile-enterprise-design-facets.svg);
}
.page-Enterprise_Elements .mw-body-content h1:first-of-type{
max-width: calc(207px * var(--headline-font-scale));
}
.page-Enterprise_Elements .mw-body-content h1:first-of-type:before {
padding-bottom: 27.0531401%;
background-image: url(/w/resources/assets/headline-mobile-enterprise-elements.svg);
}
.page-Glossary .mw-body-content h1:first-of-type{
max-width: calc(188px * var(--headline-font-scale));
}
.page-Glossary .mw-body-content h1:first-of-type:before {
padding-bottom: 12.78499893%;
background-image: url(/w/resources/assets/headline-glossary.svg);
}
.page-License .mw-body-content h1:first-of-type{
max-width: calc(142px * var(--headline-font-scale));
}
.page-License .mw-body-content h1:first-of-type:before {
padding-bottom: 16.97672774%;
background-image: url(/w/resources/assets/headline-license.svg);
}
.page-EDGY_Tools .mw-body-content h1:first-of-type {
max-width: calc(114px * var(--headline-font-scale));
}
.page-EDGY_Tools .mw-body-content h1:first-of-type:before {
padding-bottom: 21.09148431%;
background-image: url(/w/resources/assets/headline-tools.svg);
}
@media (min-width: 480px) {
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type{
max-width: calc(489px * var(--headline-font-scale));
}
.page-Enterprise_Design_Facets .mw-body-content h1:first-of-type:before {
padding-bottom: 4.91018454%;
background-image: url(/w/resources/assets/headline-enterprise-design-facets.svg);
}
.page-Enterprise_Elements .mw-body-content h1:first-of-type{
max-width: calc(402px * var(--headline-font-scale));
}
.page-Enterprise_Elements .mw-body-content h1:first-of-type:before {
padding-bottom: 5.9807122%;
background-image: url(/w/resources/assets/headline-enterprise-elements.svg);
}
}
/* Page headline END */
/* Elements headlines and links */
.Ar { color: #1b56e2; }
.Ex { color: #fc145e; }
.Id { color: #00e664; }
.Or { color: #22c8ef; }
.Pr { color: #bb27fb; }
.Br { color: #fda92b; }
.Def { font-weight: bold; font-size: 1.2em; }
.Element { padding-left: 1.3em; font-weight: bold; background-position: left center; background-repeat: no-repeat; background-size: contain; }
.Element-Purpose { background-image: url(/w/resources/assets/Small-Shape-Purpose.svg); }
.Element-Story { background-image: url(/w/resources/assets/Small-Shape-Story.svg); }
.Element-Content { background-image: url(/w/resources/assets/Small-Shape-Content.svg); }
.Element-Capability { background-image: url(/w/resources/assets/Small-Shape-Capability.svg); }
.Element-Process { background-image: url(/w/resources/assets/Small-Shape-Process.svg); }
.Element-Asset { background-image: url(/w/resources/assets/Small-Shape-Asset.svg); }
.Element-Task { background-image: url(/w/resources/assets/Small-Shape-Task.svg); }
.Element-Journey { background-image: url(/w/resources/assets/Small-Shape-Journey.svg); }
.Element-Channel { background-image: url(/w/resources/assets/Small-Shape-Channel.svg); }
.Element-Product { background-image: url(/w/resources/assets/Small-Shape-Product.svg); }
.Element-Organisation { background-image: url(/w/resources/assets/Small-Shape-Organisation.svg); }
.Element-Brand { background-image: url(/w/resources/assets/Small-Shape-Brand.svg); }
.Element-People { background-image: url(/w/resources/assets/Icon-People.svg); }
.Element-Outcome { background-image: url(/w/resources/assets/Small-Shape-Outcome.svg); }
.Element-Activity { background-image: url(/w/resources/assets/Small-Shape-Activity.svg); }
.Element-Object { background-image: url(/w/resources/assets/Small-Shape-Object.svg); }
.Icon-Identity { background-image: url(/w/resources/assets/Icon-Identity.svg); }
.Icon-Architecture { background-image: url(/w/resources/assets/Icon-Architecture.svg); }
.Icon-Experience { background-image: url(/w/resources/assets/Icon-Experience.svg); }
.Icon-Product { background-image: url(/w/resources/assets/Icon-Product.svg); }
.Icon-Organisation { background-image: url(/w/resources/assets/Icon-Organisation.svg); }
.Icon-Brand { background-image: url(/w/resources/assets/Icon-Brand.svg); }
/* 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; }
@media only screen and (max-width: 639px){
#bodyContent {
font-size: 1rem;
}
}
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,
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(255, 255, 255, 0);
}
.citizen-body-header--sticky .mw-body-header {
background-color: rgba(255, 255, 255, 0);
border-bottom: 0;
max-width: none;
}
.citizen-body-header--sticky .mw-body-header:before {
background-color: rgba(255, 255, 255, 0.7);
border-bottom: 0;
left: calc(var(--padding-page) * -1);
right: calc(var(--padding-page) * -1);
}
.mw-body-header {
max-width: none;
}
@media only screen and ( min-width: 1000px ) {
.citizen-body-header--sticky .mw-body-header:before {
left: calc(var(--padding-page) * -2);
right: calc(var(--padding-page) * -2);
}
}
header.mw-body-header {
gap: 0;
background-color: rgba(0, 0, 0, 0);
}
.citizen-body {
max-width: 1280px;
}
.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; }
/* white background for media viewer */
.mw-mmv-overlay { background-color: white; }
.mw-mmv-main.jq-fullscreened { background-color: white; }
/* 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;
}
}