MediaWiki:Common.css

From SoftDiamond Wiki
Revision as of 01:03, 18 March 2023 by SoftDiamond (talk | contribs) (Replaced content with "→‎CSS placed here will be applied to all skins: #f-list #privacy { display: none; } #f-list #disclaimer { display: none; } →‎Navbox template style: table.navbox { border: 1px solid #aaa; clear: both; →‎font-size: 12px;: margin-top: 0.75em !important; →‎text-align: center;: width: 100%; border-radius: 8px; padding: 6px; background-color: var(--template-background-color-1); } →‎Border between adjacent navboxes: table.n...")
Jump to navigationJump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

#f-list #privacy { display: none; }
#f-list #disclaimer { display: none; }

/* Navbox template style */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    /*font-size: 12px;*/
    margin-top: 0.75em !important;
    /*text-align: center;*/
    width: 100%; 
    border-radius: 8px;
    padding: 6px;
    background-color: var(--template-background-color-1);
}

/* Border between adjacent navboxes */
table.navbox + table.navbox {
    margin-top: -1px;
}

.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}

.navbox-group {
    font-weight: bold;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}

/* Base background */
.navbox, .navbox-subgroup {
    background: rgba(0, 0, 0, 0.1);
}

.navbox-list {
    border-color: rgba(0, 0, 0, 0.1); /* Must match background color */
}