MediaWiki:Vector.css

From Sapiens Wiki
Revision as of 03:01, 17 June 2023 by ChillGenXer (talk | contribs)
Jump to navigation Jump 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.
#mw-panel .portal {
    font-size: 20px;
}

/* Vector skin specific properties */
.vector-body,
.vector-menu-content,
.vector-menu-portal,
.vector-menu-tabs li a,
.vector-menu-dropdown .menu a {
    background-color: var(--main-bg-color);
    color: white;
    border-color: var(--main-bg-color);
    font-family: SapiensLight;
    font-size: 1em;
}

/* Wiki specific properties */
#content,
#bodyContent,
#mw-head-base,
#p-logo,
#p-navigation,
#p-tb,
#p-tb-label,
#p-tb .body,
#footer {
    background-color: var(--main-bg-color);
    color: white;
    border-color: var(--main-bg-color);
    font-family: SapiensLight;
    font-size: 1.1em;
}

/* Wikitable specific properties */
table.wikitable,
table.wikitable td,
table.wikitable th {
    background-color: var(--main-bg-color);
    color: white;
    border-color: var(--main-bg-color);
    font-family: SapiensLight;
    font-size: 1em;
}

/* Increase font size of sidebar links */
#mw-panel .portal .body ul li a {
    font-size: 1.2em !important;
}

/* Change font size and color of navigation links in the sidebar */
#p-navigation .vector-menu-content-list a span,
#p-navigation .vector-menu-content-list a:visited span {
    font-size: 1.2em !important;
    font-family: 'SapiensLight' !important;
    color: #6AD8FF !important;
}

/* Change font size and color of toolbox links in the sidebar */
#p-tb .vector-menu-content-list a span,
#p-tb .vector-menu-content-list a:visited span {
    font-size: 1.2em !important;
    font-family: 'SapiensLight' !important;
    color: #6AD8FF !important;
}

/* Main Page Formatting */
body.page-Main_Page h1.firstHeading {
    display: none;
}