MediaWiki:Common.css: Difference between revisions

From Ephimoria Wiki
No edit summary
No edit summary
Line 17: Line 17:
     font-weight: bold;
     font-weight: bold;
     color: orange;
     color: orange;
     height: 3em;  /* sets height */
     height: 1em;  /* sets height */
     display: flex;
     display: flex;
     align-items: center; /* vertically align items or text */
     align-items: center; /* vertically align items or text */

Revision as of 05:48, 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 */
}

.portable-infobox .pi-data-label {
    flex-basis: 120px;
}

.portable-infobox .pi-title {
    font-weight: bold;
    color: orange;
    height: 1em;  /* sets height */
    display: flex;
    align-items: center; /* vertically align items or text */
    justify-content: center ; /* horizontally aligns items or text */
    flex-basis: 120px;
}