MediaWiki:Filepage.css: Difference between revisions

From Ephimoria Wiki
(Created page with "→‎CSS placed here is included on the file description page, also included on foreign client wikis: * .portable-infobox .pi-data { height: 3em; →‎sets height: display: flex; align-items: center; →‎vertically align items or text: justify-content: left ; →‎horizontally aligns items or text: background-color: #0f1429; } * .portable-infobox .pi-data-label { flex-basis: 120px; } * .portable-infobox .pi-title { font-size: 20px; fon...")
(No difference)

Revision as of 04:33, 30 July 2023

/* CSS placed here is included on the file description page, also included on foreign client wikis */
* .portable-infobox .pi-data {
    height: 3em;  /* sets height */
    display: flex;
    align-items: center; /* vertically align items or text */
    justify-content: left ; /* horizontally aligns items or text */
    background-color: #0f1429;
}

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

* .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;
}