MediaWiki

MediaWiki:Foreground.css

Revision as of 18:27, 23 June 2024 by Shawndouglas (talk | contribs)

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.
/* Custom Foreground menubar colors */
nav.top-bar,
.top-bar, 
.top-bar .title-area, 
.top-bar.expanded .title-area, 
.top-bar .name h1 a, 
.top-bar-section,
.top-bar-section ul, 
.top-bar-section ul li.active > a, 
.top-bar-section li a:not(.button), 
.top-bar-section .has-form {
    background: #1a86b2;
}

/* Slightly lighter color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a, 
.top-bar-section .dropdown {
    background: #48a7ce !important;
}

#n-About-Me {
    font-size: large !important;
}

/* Remove left margin from logo area and shrink title text*/
.title-name {
    margin-left: 0 !important;
    font-size: 1.1rem !important;
}

#navwrapper {
    background: #1a86b2;
}

ul#top-bar-left li,
ul#top-bar-left li a
 {
    background: #1a86b2;
}

ul#top-bar-right li,
ul#top-bar-right li a {
    background: #1a86b2;
}

ul#top-bar-left li:hover,
ul#top-bar-left li a:hover,
ul#top-bar-right li:hover:not(.has-form),
ul#top-bar-right li a:hover {
    background: #3498db;
    color: #fff;
    font-weight: bold;
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #fff transparent transparent transparent;
}
.top-bar-section .has-dropdown > a:hover:after {
    border-color: #333 transparent transparent transparent;
}

li#echo-notifications {color:#3498db;}

/* Let the table of contents float right and have margin */
#toc, .toc {
    float: right;
    margin: .5em 0 1.3em 1.4em;
}

table {
    margin-bottom:0;
    width:inherit;
}

/* CSS for special footnotes */
div.reflist ol.references{
    list-style-type:inherit;
}

/* Image fixes. */
div.floatnone img {
   max-width: inherit;
}

div.portal img {
   max-width: inherit;
}

.mbox-image img {
   max-width: inherit;
}

div.tleft,
div.thumb.tleft {
  margin: .5em 1.4em 1.3em 0;
}

div.tright,
div.thumb.tright {
  margin: .5em 0 1.3em 1.4em;
}

/* Header tweaks */
h1, h2, h3, h4, h5, h6 {
   padding-top: .5em;
   padding-bottom: .17em;
}