Jump to content

MediaWiki:Common.css

From Aurora 4x Wiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/*****************************************
**** START Navbox  ******
----------------------------------------*/

.navbox {
    border: 1px solid #aaa;
    width: 100%;
    margin: 1em 0;
    padding: 0;
    border-spacing: 0;
    background: #fdfdfd;
    font-size: 88%;
}

.navbox-title {
    background: #ccf;
    padding: 0;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    line-height: 1.6;
}

.navbox-title p {
    margin: 0.5em 1em;
}

.navbox-label {
    background: #ddf;
    padding: 0.25em 0.75em;
    text-align: right;
    font-weight: bold;
    width: 15%;
    vertical-align: top;
}

.navbox-list {
    padding: 0.25em 0.75em;
    text-align: left;
}

.navbox a {
    text-decoration: none;
}

.navbox a:hover {
    text-decoration: underline;
}

.navbox tr:nth-of-type(even) {
    background: #f7f7f7;
}

/*----------------------------------------
******* END Navbox ********
*****************************************/

/*****************************************
**** START User Tools ******
----------------------------------------*/

#vector-appearance-dropdown-label::after {
    content: "Appearance";
    margin-left: 6px;
}

#vector-appearance-dropdown-label {
    width: auto !important;
    min-width: auto !important;

    padding: 6px 10px !important;
    border: 1px solid #a2a9b1 !important;
    border-radius: 4px !important;

    display: flex !important;
    align-items: center !important;
    gap: 6px;
    box-sizing: border-box;
}

#vector-appearance-dropdown-label {
    background-color: #f8f9fa !important;
}



/*----------------------------------------
******* END User Tools ********
*****************************************/

/*****************************************
**** START wiki tables ******
----------------------------------------*/

/* General wiki tables */
.wikitable {
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    margin: 1em 0;
}

.wikitable > tr > th,
.wikitable > tr > td,
.wikitable > * > tr > th,
.wikitable > * > tr > td {
    padding: 0.5em 0.75em;
}

.wikitable > tr > th,
.wikitable > * > tr > th {
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #a2a9b1;
}

/* Infobox */
.infobox {
    float: right;
    clear: right;
    width: 22em;
    margin: 0 0 1em 1.5em;
    border: 1px solid #a2a9b1;
    border-collapse: collapse;
    background-color: #f8f9fa;
}


.infobox th {
    background-color: #eaecf0;
    font-weight: bold;
    text-align: center;
}

.infobox th,
.infobox td {
    padding: 0.6em 0.9em;	
}

/*----------------------------------------
******* END wiki tables ********
*****************************************/

/*****************************************
**** START pinned menus ******
----------------------------------------*/
/* temp commented out 
.vector-main-menu-container,
.vector-sticky-pinned-container:has(.vector-pinnable-element) {
    border: 1px solid #a2a9b1;
    padding: 0.5em;
}
*/

/*----------------------------------------
******* END pinned menus********
*****************************************/