« MediaWiki:Eig.css » : différence entre les versions
De Guide de l'Installation Electrique
(test modification of bullet and definition lists) |
Aucun résumé des modifications |
||
(18 versions intermédiaires par un autre utilisateur non affichées) | |||
Ligne 6 : | Ligne 6 : | ||
float: inherit !important; | float: inherit !important; | ||
} | } | ||
.addthis_button_google_plusone { | .addthis_button_google_plusone { | ||
Ligne 13 : | Ligne 11 : | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
.addthis_button_tweet { | .addthis_button_tweet { | ||
Ligne 21 : | Ligne 17 : | ||
} | } | ||
ul { | /* beginning of bullet and definition lists CSS */ | ||
margin: 0.2em 0 0 0.9em | .mw-content-ltr ul { | ||
margin: 0.2em 0 0 0.9em; | |||
} | } | ||
dl { | .ns-subject .mw-content-ltr dl { | ||
padding-bottom: 0 !important; | |||
border: none; | |||
} | } | ||
.template_guide .div_content dl { | |||
padding-bottom: 5px !important; | |||
border-bottom: 1px solid #CFCFCF; | |||
} | } | ||
/* | /* specific to FR wiki - otherwise text is too long for "blogs" */ | ||
div.div_heading{ | |||
font-size: 16px; | |||
} | } | ||
*/ | |||
.mw-content-ltr dd { | |||
margin-left: 0.9em !important; | |||
} | |||
.mw-content-ltr ul, .mw-content-ltr li, .mw-content-ltr dd { | |||
font-size: 14px; | |||
} | |||
table.wikitable ul, table.wikitable li, table.wikitable dd, .template_table ul, .template_table li { | |||
font-size: 12px !important; | |||
} | |||
table.wikitable ul { | |||
margin-top: 0 !important | |||
} | |||
/* end of bullet and definition lists CSS */ | |||
.\32 col, .cols-2 { | .\32 col, .cols-2 { | ||
width: 340px; | width: 340px; | ||
margin-top: 24px !important; | |||
} | } | ||
.\33 col, .cols-3 { | .\33 col, .cols-3 { | ||
width: 510px; | width: 510px; | ||
margin-top: 24px !important; | |||
} | } | ||
.\34 col, .cols-4 { | .\34 col, .cols-4 { | ||
width: 680px; | width: 680px; | ||
margin-top: 24px !important; | |||
} | } | ||
.\35 col, .cols-5 { | .\35 col, .cols-5 { | ||
width: 850px; | width: 850px; | ||
margin-top: 24px !important; | |||
} | } | ||
Ligne 99 : | Ligne 117 : | ||
p.figure-title { | p.figure-title { | ||
margin: 0; | margin: 0 0 1em 0; | ||
} | |||
div.thumbcaption p.figure-title { | |||
margin: 0 0 0 0; | |||
} | } | ||
/* seems no more useful after modification of margin for p.figure-title to be the same as defined here, kept until confirmation | |||
ul.gallery + p.figure-title, table.EIG_gallery + p.figure-title { | ul.gallery + p.figure-title, table.EIG_gallery + p.figure-title { | ||
margin: 0 0 | margin: 0 0 1em 0; | ||
font-size:12px !important; | font-size:12px !important; | ||
} | } | ||
*/ | |||
.FR-specific-section { | .FR-specific-section { | ||
Ligne 150 : | Ligne 174 : | ||
line-height: 1; | line-height: 1; | ||
} | } | ||
.FigRef { | |||
font-weight: bold; | |||
} | |||
.manual-toc { | |||
margin-top: 24px; | |||
} | |||
#f-copyrightico img { | |||
width: auto; | |||
} | |||
/* =================================*/ | |||
/* adjustments for MW1.27 migration */ | |||
/* =================================*/ | |||
#p-addthis { | |||
margin-top: 24px; | |||
} | |||
#toc { | |||
display: table; | |||
margin: 1em 0; | |||
padding: 5px; | |||
} | |||
div#userloginForm form, div#userlogin form#userlogin2 { | |||
min-width: 352px; | |||
} | |||
body.page-Main_Page h1.firstHeading, body.page-Accueil h1.firstHeading, body.page-Hauptseite h1.firstHeading, body.page-Заглавная_страница h1.firstHeading {display:none;} |
Dernière version du 20 décembre 2019 à 07:53
/* 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;
}
/* beginning of bullet and definition lists CSS */
.mw-content-ltr ul {
margin: 0.2em 0 0 0.9em;
}
.ns-subject .mw-content-ltr dl {
padding-bottom: 0 !important;
border: none;
}
.template_guide .div_content dl {
padding-bottom: 5px !important;
border-bottom: 1px solid #CFCFCF;
}
/* specific to FR wiki - otherwise text is too long for "blogs" */
div.div_heading{
font-size: 16px;
}
.mw-content-ltr dd {
margin-left: 0.9em !important;
}
.mw-content-ltr ul, .mw-content-ltr li, .mw-content-ltr dd {
font-size: 14px;
}
table.wikitable ul, table.wikitable li, table.wikitable dd, .template_table ul, .template_table li {
font-size: 12px !important;
}
table.wikitable ul {
margin-top: 0 !important
}
/* end of bullet and definition lists CSS */
.\32 col, .cols-2 {
width: 340px;
margin-top: 24px !important;
}
.\33 col, .cols-3 {
width: 510px;
margin-top: 24px !important;
}
.\34 col, .cols-4 {
width: 680px;
margin-top: 24px !important;
}
.\35 col, .cols-5 {
width: 850px;
margin-top: 24px !important;
}
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 0 1em 0;
}
div.thumbcaption p.figure-title {
margin: 0 0 0 0;
}
/* seems no more useful after modification of margin for p.figure-title to be the same as defined here, kept until confirmation
ul.gallery + p.figure-title, table.EIG_gallery + p.figure-title {
margin: 0 0 1em 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;
}
.FigRef {
font-weight: bold;
}
.manual-toc {
margin-top: 24px;
}
#f-copyrightico img {
width: auto;
}
/* =================================*/
/* adjustments for MW1.27 migration */
/* =================================*/
#p-addthis {
margin-top: 24px;
}
#toc {
display: table;
margin: 1em 0;
padding: 5px;
}
div#userloginForm form, div#userlogin form#userlogin2 {
min-width: 352px;
}
body.page-Main_Page h1.firstHeading, body.page-Accueil h1.firstHeading, body.page-Hauptseite h1.firstHeading, body.page-Заглавная_страница h1.firstHeading {display:none;}