MediaWiki

MediaWiki:Foreground.css

From Breaking Worlds

Revision as of 11:20, 20 June 2016 by Cryptophage (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 */
.top-bar,
.top-bar .title-name,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: 	#CCCCFF;
   color: #444;
}

.top-bar-section > ul > .divider,
.top-bar-section > ul > [role="separator"] {
  border-color: 	#CCCCFF;
  color: #444;
}

/* Darker color for the hover over items */
.top-bar-section ul li.hover > a,
.top-bar-section ul li ul.dropdown li.hover > a {
    background: #A9A9D6;
    color: #444;
}

/* Slightly darker color for the dropdowns */
.top-bar-section ul li ul.dropdown li > a {
    background: #CCCCFF;
    color: #444;
}

table td {
    text-align: inherit;
}



h1 {
   font-size: 1.8em;
}

h2.title{
   margin-top: 0em;
   font-size: 2em;
}

h2 {
   margin-top: 0.9em;
   font-size: 1.5em;
}

h3 {
   margin-top: 0.9em;
}

.ns-subject h3{
   font-size: 1.15em;
}

h4 {
   font-size: 1em;
}


p {
   margin-bottom: 0.6em;
}

#footer-lastmod, #footer-viewcount, #tagline {
   display: none;
}

#toc {
   float:right;
   font-size:0.8em;
   padding: 0px 8px 8px;
   background: #eef;
   border: thin solid rgb(170, 170, 170);
   margin: 0px 0px 8px 16px;
   max-width: 30vw;
}

#toctitle {
    font-size: 0.8em;
}

#toctitle > .toctoggle {
   display: none;
}

#toc#toc ul {
   color: #aaa;
   margin: 0 0 0 1em;
}

#toc .tocnumber {
   display: none;
}