MediaWiki:Eig.css: Unterschied zwischen den Versionen

Aus Planungskompendium Energieverteilung
Wechseln zu:Navigation, Suche
(bottom margin of paragraphs (useful for bullet lists format improvement))
(adjust css for migration)
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 6: Zeile 6:
/* beginning of bullet and definition lists CSS */
/* beginning of bullet and definition lists CSS */
.mw-content-ltr ul {
.mw-content-ltr ul {
     margin: 0.2em 0 0 1.4em;
     margin: 0.2em 0 0 0.9em;
}
}


Zeile 100: Zeile 100:
p.figure-title {
p.figure-title {
     margin: 0 0 1em 0;
     margin: 0 0 1em 0;
}
p.figure-title b {
    font-weight: bold !important;
}
}


Zeile 132: Zeile 136:
     margin-top: 24px;
     margin-top: 24px;
}
}
/* =================================*/
/* adjustments for MW1.27 migration */
/* =================================*/
#p-addthis {
    margin-top: 24px;
}
#toc {
    display: table;
    margin: 1em 0;
    padding: 5px;
}
.tocnumber:after {content: "-";}
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;}

Aktuelle Version vom 21. Dezember 2019, 14:47 Uhr

/* change margin after normal paragraphs  (same margin before and after) */
p {
    margin: .4em 0 .4em 0;
}

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

.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 */


.cols-2 {
    width: 340px;
    margin-top: 24px !important;
}

.cols-3 {
    width: 510px;
    margin-top: 24px !important;
}

.cols-4 {
    width: 680px;
    margin-top: 24px !important;
}

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

p.figure-title b {
    font-weight: bold !important;
}

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

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

sup, sub {
    line-height: 1;
}

.FigRef {
    font-weight: bold;
}

.manual-toc {
    margin-top: 24px;
}

/* =================================*/
/* adjustments for MW1.27 migration */
/* =================================*/
#p-addthis {
    margin-top: 24px;
}

#toc {
    display: table;
    margin: 1em 0;
    padding: 5px;
}
.tocnumber:after {content: "-";}

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