Tag: Undo |
mNo edit summary |
||
| Line 37: | Line 37: | ||
.citizen-body-header--sticky .page-heading { | .citizen-body-header--sticky .page-heading { | ||
height: 30px; | height: 30px; | ||
} | } | ||
.page-heading > a { | .page-heading > a { | ||
Revision as of 17:05, 24 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;
}
}
/* Keep logo size consistent */
/* Page headline BEGIN */
.page-heading {
height: calc(38.52529271px * var(--headline-font-scale) * var(--headline-font-scale));
}
.citizen-body-header--sticky .page-heading {
height: 30px;
}
.page-heading > a {
display: block;
}
/* => hide text visually */
.page-heading .firstHeading-container,
.page-heading #siteSub,
.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-EDGY_License .mw-body-content h1:first-of-type .mw-headline,
.page-EDGY_Tools .mw-body-content h1:first-of-type .mw-headline,
.page-Getting_started .mw-body-content h1:first-of-type .mw-headline,
.page-Relationships .mw-body-content h1:first-of-type .mw-headline,
.page-Labels .mw-body-content h1:first-of-type .mw-headline,
.page-EDGY_Sitemap .mw-body-content h1:first-of-type .mw-headline,
.page-Enterprise_Design .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-EDGY_License .mw-body-content h1:first-of-type .mw-editsection,
.page-EDGY_Tools .mw-body-content h1:first-of-type .mw-editsection,
.page-Getting_started .mw-body-content h1:first-of-type .mw-editsection,
.page-Relationships .mw-body-content h1:first-of-type .mw-editsection,
.page-Labels .mw-body-content h1:first-of-type .mw-editsection,
.page-EDGY_Sitemap .mw-body-content h1:first-of-type .mw-editsection,
.page-Enterprise_Design .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-EDGY_License .mw-body-content h1:first-of-type:before,
.page-EDGY_Tools .mw-body-content h1:first-of-type:before,
.page-Getting_started .mw-body-content h1:first-of-type:before,
.page-Relationships .mw-body-content h1:first-of-type:before,
.page-Labels .mw-body-content h1:first-of-type:before,
.page-EDGY_Sitemap .mw-body-content h1:first-of-type:before,
.page-Enterprise_Design .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-EDGY_License .mw-body-content h1:first-of-type:after,
.page-EDGY_Tools .mw-body-content h1:first-of-type:after,
.page-Getting_started .mw-body-content h1:first-of-type:after,
.page-Relationships .mw-body-content h1:first-of-type:after,
.page-Labels .mw-body-content h1:first-of-type:after,
.page-EDGY_Sitemap .mw-body-content h1:first-of-type:after,
.page-Enterprise_Design .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 .mw-body-content h1:first-of-type{
max-width: calc(207px * var(--headline-font-scale));
}
.page-Enterprise_Design .mw-body-content h1:first-of-type:before {
padding-bottom: 27.0531401%;
background-image: url(/w/resources/assets/headline-mobile-enterprise-design.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-EDGY_License .mw-body-content h1:first-of-type{
max-width: calc(142px * var(--headline-font-scale));
}
.page-EDGY_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);
}
.page-Getting_started .mw-body-content h1:first-of-type {
max-width: calc(309px * var(--headline-font-scale));
}
.page-Getting_started .mw-body-content h1:first-of-type:before {
padding-bottom: 7.76699029%;
background-image: url(/w/resources/assets/headline-getting-started.svg);
}
.page-Relationships .mw-body-content h1:first-of-type {
max-width: calc(266px * var(--headline-font-scale));
}
.page-Relationships .mw-body-content h1:first-of-type:before {
padding-bottom: 9.02255639%;
background-image: url(/w/resources/assets/headline-relationships.svg);
}
.page-Labels .mw-body-content h1:first-of-type {
max-width: calc(130px * var(--headline-font-scale));
}
.page-Labels .mw-body-content h1:first-of-type:before {
padding-bottom: 18.43317972%;
background-image: url(/w/resources/assets/headline-labels.svg);
}
.page-EDGY_Sitemap .mw-body-content h1:first-of-type {
max-width: calc(147px * var(--headline-font-scale));
}
.page-EDGY_Sitemap .mw-body-content h1:first-of-type:before {
padding-bottom: 16.28332994%;
background-image: url(/w/resources/assets/headline-sitemap.svg);
}
@media (min-width: 480px) {
.page-Enterprise_Design .mw-body-content h1:first-of-type{
max-width: calc(348px * var(--headline-font-scale));
}
.page-Enterprise_Design .mw-body-content h1:first-of-type:before {
padding-bottom: 6.89655172%;
background-image: url(/w/resources/assets/headline-enterprise-design.svg);
}
.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 a { text-decoration: none; }
.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); }
/*breadcrumbs*/
small a { font-weight: bold; text-decoration: none; }
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; }
/* 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, object {
max-width:100%;
height:auto;
}
.youtube-container {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}
/* Then style the iframe to fit in the container div with full height and width */
.youtube-container iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
max-width: 1280px;
max-height: 720px;
}
/* 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; }