MediaWiki

Foreground.css: Difference between revisions

From Breaking Worlds

(Aside from the colour scheme I'm assuming you want the site to look the same as the main site)
(made tocs light purple to go with colour scheme)
Line 32: Line 32:
 
text-align: inherit;
 
text-align: inherit;
 
}
 
}
  +
  +
   
 
h1 {
 
h1 {
Line 72: Line 74:
 
font-size:0.8em;
 
font-size:0.8em;
 
padding: 0px 8px 8px;
 
padding: 0px 8px 8px;
background: #f8f8f8;
+
background: #ddf;
 
border: thin solid rgb(170, 170, 170);
 
border: thin solid rgb(170, 170, 170);
 
margin: 0px 0px 8px 16px;
 
margin: 0px 0px 8px 16px;

Revision as of 11:19, 20 June 2016

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