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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
(added width styling for cols-2 ... cols-5 classes (in complement / replacement to 2col ... 5col))
(correction/complement of previous modif)
Ligne 29 : Ligne 29 :
}
}


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


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


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


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

Version du 1 septembre 2016 à 07:19

/* 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 0 0.5em 0.9em !important;
}

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:14px !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;
}

.FR-specific-highlight-box .table_noCSS {
    background:#F5F5F5;
    border-radius: 5px 5px 5px 5px;
    font-size: 14px !important;
    padding: 5px;
}

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;
}