MediaWiki

Difference between revisions of "Common.css"

From Mondothèque

Line 5: Line 5:
 
.top-bar-section li a:not(.button),
 
.top-bar-section li a:not(.button),
 
.top-bar-section .has-form {
 
.top-bar-section .has-form {
   background: silver;
+
   background: #f2f2f2;
 
   color: #000000;
 
   color: #000000;
 
}
 
}
Line 11: Line 11:
 
.top-bar-section > ul > .divider,
 
.top-bar-section > ul > .divider,
 
.top-bar-section > ul > [role="separator"] {
 
.top-bar-section > ul > [role="separator"] {
   border-color: silver;
+
   border-color: #f2f2f2;
 
}
 
}
  
Line 17: Line 17:
 
.top-bar-section ul li.hover > a,
 
.top-bar-section ul li.hover > a,
 
.top-bar-section ul li ul.dropdown li.hover > a{
 
.top-bar-section ul li ul.dropdown li.hover > a{
     background: teal;
+
     background: #d9d9d9;
 
}
 
}
  
 
/* Slightly darker color for the dropdowns */
 
/* Slightly darker color for the dropdowns */
 
.top-bar-section ul li ul.dropdown li > a {
 
.top-bar-section ul li ul.dropdown li > a {
     background: grey;
+
     background: #e5e5e5;
 
}
 
}
  

Revision as of 17:41, 9 December 2015

/* Custom Foreground menubar colors */
.top-bar,
.top-bar-section ul,
.top-bar-section ul li.active > a,
.top-bar-section li a:not(.button),
.top-bar-section .has-form {
   background: #f2f2f2;
   color: #000000;
}

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

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

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

/* Cover Image */

.page-Main_Page #content {
  background-image: url('/wiki/lastimage.php');
  background-size: 100%;
}

@font-face {
	font-family: 'Lekton-Regular';
	src: url('http://www.mondotheque.be/wiki/fonts/Lekton/Lekton-Regular.ttf');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Lekton-Bold';
	src: url('http://www.mondotheque.be/wiki/fonts/Lekton/Lekton-Bold.ttf');
	font-weight: bold;
	font-style: bold;
}

@font-face {
	font-family: 'Lekton-Italic';
	src: url('http://www.mondotheque.be/wiki/fonts/Lekton/Lekton-Italic.ttf');
	font-weight: italic;
	font-style: italic;
}


body {font-family: 'Lekton-Regular', sans-serif; font-size: 18px;}

.page-Main_Page h2 {
  color: teal;
}

strong, b {font-family: 'Lekton-Bold'}
em, i {font-family: 'Lekton-Italic'}

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body #firstHeading, .mw-body .toc h2, .mw-body #toc h2 {font-family: 'Lekton-Bold', serif}

a {color: teal !important;}
a:hover {text-decoration: none; color: black !important;}

td {vertical-align:top}

/* simplifying through erasure */

dl, .mw-imagepage-section-filehistory, .filehistory, #mw-imagepage-content, .mw-filepage-resolutioninfo, #filetoc, #mw-imagepage-section-filehistory p, .mw-imagepage-section-metadata {display: none}

#file {margin-bottom:0.5em;}

.mw-body sup a, .mw-body sub a, .mw-body #toc a, .mw-body .gallerytext a {border-bottom: 0px !important}

.mw-body a {text-decoration: none; border-bottom: 1px solid teal}
.mw-body a:hover {border-bottom: 1px solid black}

a.new {color: red !important; border-bottom: 1px solid red}
a:hover.new {color: teal !important; border-bottom: 1px solid teal}

a.external {color: navy !important; border-bottom: 1px solid navy}
a:hover.external {color: black !important; border-bottom: 1px solid black}

.coverbox {
  width: 40em;
  background: white;
  padding: 1em;
}

.h2 {
  padding-top: 0;
  background: white;
  display: inline;
}

div.gallerytext, div.gallerytext em, div.gallerytext i, .mw-body .references, .mw-body .references em, small, .mw-metadata, .fileInfo, .fullMedia, .listfiles td {font-size: 10px !important; font-family: serif !important; line-height: 1.4em; text-align: left;}

blockquote {font-family: Lekton-Italic}

.mw-content-ltr .references {margin-top: 2em;}

.intro, .cat, .book {padding: 1em; margin: 1em 0; color: white;}

.intro {background: teal;}
.cat {background: silver;}
.book {background: brown;}

.intro a, .intro a:hover, .cat a, .cat a:hover, .book a, .book a:hover {color: white!important; border-bottom: 1px solid white}

.cat hr {color: white; border: 0; height: 1px;}