MediaWiki:Common.css: Difference between revisions
From Ephimoria Wiki
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
align-items: center; /* vertically align items or text */ | align-items: center; /* vertically align items or text */ | ||
justify-content: center ; /* horizontally aligns items or text */ | justify-content: center ; /* horizontally aligns items or text */ | ||
background-color: | background-color: #186473; | ||
} | } | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
flex-basis: 120px; | flex-basis: 120px; | ||
background-color: | background-color: #186473; | ||
} | } | ||
| Line 24: | Line 24: | ||
justify-content: center ; /* horizontally aligns items or text */ | justify-content: center ; /* horizontally aligns items or text */ | ||
flex-basis: 120px; | flex-basis: 120px; | ||
background-color: | background-color: #186473; | ||
} | } | ||
.pi-image-collection | .pi-image-collection | ||
Revision as of 06:35, 25 July 2023
/* CSS placed here will be applied to all skins */
* {font-family: Georgia}
.portable-infobox .pi-data {
height: 3em; /* sets height */
display: flex;
align-items: center; /* vertically align items or text */
justify-content: center ; /* horizontally aligns items or text */
background-color: #186473;
}
.portable-infobox .pi-data-label {
flex-basis: 120px;
background-color: #186473;
}
.portable-infobox .pi-title {
font-size: 20px;
font-weight: bold;
height: 2em; /* sets height */
display: flex;
align-items: center; /* vertically align items or text */
justify-content: center ; /* horizontally aligns items or text */
flex-basis: 120px;
background-color: #186473;
}
.pi-image-collection