MediaWiki:Common.css : Différence entre versions

De IPoP Wiki
Aller à : navigation, rechercher
Ligne 45 : Ligne 45 :
 
}
 
}
  
div.vectorTabs li.new a, div.vectorTabs li.new a:visited {
+
div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorTabs span > a {
 
     color: #707588;
 
     color: #707588;
 
     text-decoration: none;
 
     text-decoration: none;

Version du 25 juillet 2018 à 20:08

/* Le CSS placé ici sera appliqué à tous les habillages. */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700');

body {
 background-color: #fff;
 font-family: 'Open Sans', sans-serif;
}

#mw-content-text > div > p:nth-child(1) {
 font-weight: bold;
 color: #77b939;
}

div#simpleSearch {
 width: 15vw;
}

#left-navigation {
 margin-left: 18em;
}

div.vectorTabs {
 background-image: none;
}

div.vectorTabs ul {
 background:none;
}

div.vectorTabs ul > li {
 background: none;
}

div.vectorTabs span > a {
    float: left;
    display: block;
    color: #707588;
    text-decoration: none;
    padding-top: 0;
    background-color: #fff;
    border: 1px solid #707588;
    margin-top: 0.4em;
    line-height: 1.9em;
    padding: 5px 15px;
}

div.vectorTabs li.new a, div.vectorTabs li.new a:visited, div.vectorTabs span > a {
    color: #707588;
    text-decoration: none;
    padding-top: 0;
    background-color: #fff;
    border: 1px solid #707588;
    margin-top: 1.35em;
    line-height: 1.9em;
    padding: 0px 15px;
    font-size: 12px;
}

div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited {
        color: #fff;
    text-decoration: none;
    padding-top: 0;
    background-color: #707588;
    border: 1px solid #707588;
margin-top: 1.3em;
    line-height: 1.9em;
    padding: 0px 13px;
    font-size: 12px;
}

div.vectorTabs span {
 background: none;
}

#ca-unwatch, #ca-view, #ca-viewsource, #ca-history {
 display:none;
}

#mw-page-base {
 background: none;
}

.mw-body {
 border: none;
 margin-left: 18em;
padding-left: 0;
 margin-top: 0;
 border-top: 1px solid #707588;
 margin-right: 1em;
}

div#footer {
    margin-left: 18em;
    padding-left: 0;
}


.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4 {
 font-family: 'Open Sans', sans-serif;
}

.mw-body h2, .mw-body h3, .mw-body h4 {
    font-family: 'Open Sans',sans-serif;
    color: #77b939;
    border-bottom: none;
    padding-bottom: 5px;
font-weight: bold;
}

.mw-body h2::after, .mw-body h3::after, .mw-body h4::after {
    content: '';
    height: 1px;
    background-image: url(images/liseret.png);
    width: 100%;
    display: block;
    background-size: cover;
}

.mw-body .firstHeading {
    overflow: visible;
    text-transform: uppercase;
    color: #707588;
    font-weight: bold;
    font-size: 2em;
border:none;
}

div#simpleSearch {
 margin-top: 0.95em;
 border: 1px solid #707588;
padding-left: 10px;
}

div#simpleSearch #searchInput {
 font-family: 'Open Sans', sans-serif;
}


div#mw-panel {
 background-image: url(images/fond-bleu.png);
 background-size: contain;
font-size: 20px;
 min-height: 100vh;
 position: fixed;
 width: 12em;
}

div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited {
 color: #fff;
}

div#mw-panel div.portal h3 {
    font-size: 0.9em;
    color: #fff;
    font-weight: bold;
}

a:visited {
    color: #009de1;
}

a {
    text-decoration: none;
    color: #009de1;
    font-weight: bold;
    background: none;
}

ol a, ul a {
 font-weight: normal;
}

.mw-body-content a.external, .mw-body-content a.external:visited {
    color: #009de1;
}