MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
mNo edit summary
mNo edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
:root.skin-citizen-light {
:root.skin-citizen-light {
     --color-surface-0: #FFFAFA;
     --color-surface-0: #FFFAFA;
     --color-surface-1: #FFFAFA;
     --color-surface-1: #FFFAFA;
     --color-surface-2: #FFFAFA;
     --color-surface-2: #FFFAFA;
     --color-surface-3: #FFFAFA;
     --color-surface-3: #B8860B;
     --color-surface-4: #FDF5E6;
     --color-surface-4: #FDF5E6;
     --color-base--emphasized: #A0522D;
     --color-base--emphasized: #A0522D;
     --color-primary: #800080;
     --color-primary: #800080;
   
    --pi-background: #FDF5E6;
    --pi-secondary-background: #FDF5E6;
    --pi-secondary-background-on: #FFFFFF;
      
      
     --padding-page: 12px;
     --padding-page: 12px;
Line 17: Line 23:
border-width: 4px;
border-width: 4px;
     border-color: #A0522D;
     border-color: #A0522D;
}
h1,h2 {
font-family: 'Playfair Display', serif;
text-transform: uppercase;
}
h3 {
font-family: 'Playfair Display', serif;
text-transform: uppercase;
margin-top: 0;
}
h4 {
margin-top: 0;
}
}


Line 22: Line 43:
     width: 100%;
     width: 100%;
     height: auto;
     height: auto;
}
.infoboxHeader {
background-color: var(--color-surface-3);
color: var(--pi-secondary-background-on);
font-weight: bold;
padding: 0 6px;
text-align: center;
}
.flexcardcontainer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-start;
gap: 10px;
}
.flexcardcontainer_stretch {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: stretch;
gap: 10px;
}
.flexcard {
flex-basis: 48%;
flex-grow: 4;
}
.flexcard_vertical_ruler {
flex-basis: 1px;
background-color: #A0522D;
}
.flexcard_main {
flex-basis: 66%;
flex-grow: 2;
}
.flexcard_side {
flex-basis: 24%;
flex-grow: 2;
}
}

Latest revision as of 18:43, 16 June 2023

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

:root.skin-citizen-light {
    --color-surface-0: #FFFAFA;
    --color-surface-1: #FFFAFA;
    --color-surface-2: #FFFAFA;
    --color-surface-3: #B8860B;
    --color-surface-4: #FDF5E6;
    --color-base--emphasized: #A0522D;
    --color-primary: #800080;
    
    --pi-background: #FDF5E6;
    --pi-secondary-background: #FDF5E6;
    --pi-secondary-background-on: #FFFFFF;
    
    --padding-page: 12px;
}

#bodyContent {
	padding: 0 12px;
	border-style: solid;
	border-width: 4px;
    border-color: #A0522D;
}

h1,h2 {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
}

h3 {
	font-family: 'Playfair Display', serif;
	text-transform: uppercase;
	margin-top: 0;
}

h4 {
	margin-top: 0;
}

img.fullwidth {
    width: 100%;
    height: auto;
}

.infoboxHeader {
 	background-color: var(--color-surface-3);
 	color: var(--pi-secondary-background-on);
 	font-weight: bold;
	padding: 0 6px;
	text-align: center;
}

.flexcardcontainer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.flexcardcontainer_stretch {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 10px;
}

.flexcard {
	flex-basis: 48%;
	flex-grow: 4;
}

.flexcard_vertical_ruler {
	flex-basis: 1px;
	background-color: #A0522D;
}

.flexcard_main {
	flex-basis: 66%;
	flex-grow: 2;
}

.flexcard_side {
	flex-basis: 24%;
	flex-grow: 2;
}