MediaWiki

MediaWiki:Common.css

From Cambridge Larp Society

Revision as of 21:19, 19 June 2016 by Cryptophage (talk | contribs) (Modified tocs)

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 .name h1 a,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #000000;
   color: #FFFFFF;
}

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

/* 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: #333333;
}

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

h2.title{
   margin-top: 0em;
   font-size: 1.8em;
   border-bottom: 0pt;
}

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;
  background: rgb(238, 238, 238) none repeat scroll 0% 0%;
  border: thin solid rgb(170, 170, 170);
  margin: 0px 0px 8px 16px;
}

#toctitle {
    font-size: 0.8em;
}

#toctitle > .toctoggle {
	display: none;
}

#toc > ul {
	list-style: none;
	margin: 6px;
}

#toc .tocnumber {
	display: none;
}