MediaWiki

Difference between revisions of "Common.css"

From Mondothèque

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

Revision as of 13:56, 15 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;
}

.top-bar .name h1 {font-size: 1.50em}

/* Cover Image */

/* .page-Main_Page #content  */

body.page-Main_Page
 {
  background-image: url('/wiki/lastimage.php');
  background-repeat: repeat;
  background-size: 50%;
  bacground-color: teal;
}

body.page-Main_Page #content {}

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

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

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

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


body {font-family: 'Lora-Regular', sans-serif; font-size: 17px; padding-bottom: 50px !important;}

.page-Main_Page h2 {
}

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

#content h1, #content h2, #content h3, #content #firstHeading, #content .toc h2, #content #toc h2 {font-family: 'Lekton-Regular', serif}

h1, h2, h3, h4, h5 {font-family: 'Lekton-Regular', serif;}

h2 {font-size: 1.6em; margin: 1em 0 0.5em 0}
h2#firstHeading {font-size: 2em}
h3 {font-size: 1.3em; margin: 1em 0 0.5em 0}

td {vertical-align:top}

/* simplifying through erasure */

#ca-view, #ca-nstab-special, #ca-nstab-category, #ca-nstab-property, .page-Main_Page h2#firstHeading, .rdflink, h3#tagline, dl, .mw-imagepage-section-filehistory, .filehistory, #mw-imagepage-content, .mw-filepage-resolutioninfo, #filetoc, #mw-imagepage-section-filehistory p, .mw-imagepage-section-metadata, .tocnumber {display: none}

#file {margin-bottom:0.5em;}

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

h1.title-name a {color: teal !important}

#content a {color: teal; text-decoration: none;}
#content a:hover {color: teal; border-bottom: 1px solid teal}

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

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

.coverbox {
  background: white;
  padding: 0.5em 2em 1.5em 2em;
 margin-top: 1em
}

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

#siteSub, #footer-left, #footer-right-icons, div.gallerytext, div.gallerytext em, div.gallerytext i, div.gallerytext p, div.gallerytext p em, div.gallerytext p i, ol.references, ol.references em, small, .mw-metadata, .fileInfo, .fullMedia, .listfiles td {font-size: 11px !important; font-family: serif !important; line-height: 1.3em !important; text-align: left;}

ol.references {margin-bottom: 2em}

li.gallerybox {margin-bottom: 1em;}

#content ul {list-style-image: none; list-style: none;}

#bodyContent ul li::before, #mw-data-after-content ul li::before {
    content: "— ";
}

#content li.gallerybox::before {
    content: "" !important;
}

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, .cat a, .book a {color: white !important; border-bottom: 1px solid white !important}
.intro a:hover, cat a:hover, .book a:hover {}

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

.label {
    padding: 0.35em 0.5em 0.25em;
    background-color: #85cccc;
    margin-bottom: 0;
   font-family: 'Lekton-Regular'; 
}

.maps-map, .timeline-container {margin-bottom: 1em;}

#content {margin-bottom: 3em}

#mw-content-text ul.gallery {
    margin: 0.5em 0;
}

#bodyContent {margin-bottom: 2em;}

#p-cactions .actions {list-style: none; font-family: 'Lekton-Regular'; float: right}

#p-cactions .actions li {display: inline; padding-right: 1em}

li.gallerybox div.thumb {background: white;}

#index [title="Traité de documentation"] {display: none}
#index {background: pink}
#index h1 a {color: orange}