MediaWiki:Eig.css: Unterschied zwischen den Versionen
Aus Planungskompendium Energieverteilung
(modified position of bullet points) |
(figure titles in bold, even if they are in a description list) |
||
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; | |||
} | } | ||
Version vom 4. September 2017, 13:59 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;
}