« MediaWiki:Eig.css » : différence entre les versions

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(modified CSS to include same formatting for highlightbox and fr-specific ones (inside, after the div adding fr-specific border))
(test modification of bullet and definition lists)
Ligne 22 : Ligne 22 :


ul {
ul {
     margin: 0 0 0.5em 0.9em !important;
     margin: 0.2em 0 0 0.9em !important;
}
}


dl {
    margin-top: .2em;
    margin-bottom: 0em;
}
dd {
    margin-left: 0.9em;
    margin-right: 0;
}
/*
td > ul, td > ul > li > ul, div > ul {
td > ul, td > ul > li > ul, div > ul {
     margin: 0.3em 0 0 0.9em !important;
     margin: 0.3em 0 0 0.9em !important;
}
}
*/


.\32 col, .cols-2 {
.\32 col, .cols-2 {

Version du 16 novembre 2016 à 13:27

/* Le CSS placé ici sera appliqué à tous les habillages. */

.addthis_default_style .at300b {
    clear: left;
    display: inline-block;
    float: inherit !important;
}



.addthis_button_google_plusone {
    margin-right: 15px;
    padding: 0 !important;
}



.addthis_button_tweet {
    margin: 0 10px 0 0 !important;
    padding: 0 !important;
}

ul {
    margin: 0.2em 0 0 0.9em !important;
}

dl {
    margin-top: .2em;
    margin-bottom: 0em;
}

dd {
    margin-left: 0.9em;
    margin-right: 0;
}

/*
td > ul, td > ul > li > ul, div > ul {
    margin: 0.3em 0 0 0.9em !important;
}
*/

.\32 col, .cols-2 {
    width: 340px;
}

.\33 col, .cols-3 {
    width: 510px;
}

.\34 col, .cols-4 {
    width: 680px;
}

.\35 col, .cols-5 {
    width: 850px;
}

li.gallerybox div.thumb {
    text-align: center;
    border: 1px solid #ccc;
    background-color: #FFFFFF;
    margin: 2px;
}

.gallerytext p {
    font-size: 12px !important;
    color: #4F5659;
    margin: 0;
}

table.EIG_gallery {
    margin-top:0.5em;
    border-spacing: 10px 5px;
}

/* cannot be used right now, as Gallery template uses style= to add width  ==>   does not take into account the CSS info defined here
td.EIG-gallery-text {
    font-size: 12px !important;
    padding: 0 4px;
    margin: 0;
}

td.EIG-gallery-image {
    padding: 10px;
    border: 1px solid #ccc;
    vertical-align:middle;
    text-align:center;
}
*/

td.EIG-gallery-text > ul > li {
    font-size: 12px !important;
}

p.figure-title, p.figure-notes, p.figure-notes a {
    font-size:12px !important;
}

p.figure-title {
    margin: 0;
}

ul.gallery + p.figure-title, table.EIG_gallery + p.figure-title {
    margin: 0 0 .5em 0;
    font-size:12px !important;
}

.FR-specific-section {
    display:block;
    margin-left: -15px;
    padding:3px 15px;
    border-left:5px solid #E47F00;
/* no more borders around, only the left one
    border-top:1px solid #E47F00;
    border-bottom:1px solid #E47F00;
    border-right:1px solid #E47F00;
*/
}

.FR-specific-text {
    color:#E47F00;
    padding-bottom:2px;
}

.FR-specific-highlight-box {
    margin-left: -15px;
    padding: 3px 0px 3px 10px;
    border-left:5px solid #E47F00;
}

.highlightbox {
    background:#F5F5F5;
    border-radius: 5px 5px 5px 5px;
    font-size: 14px !important;
    padding: 5px;
    width: 65%;
}

div.FR-specific-section ul li {
    font-size: 14px;
}

div.FR-specific-section table ul li {
    font-size: 12px !important;
}


sup, sub {
    line-height: 1;
}