MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Populus DE
Zur Navigation springenZur Suche springen
Thk (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Thk (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 5: | Zeile 5: | ||
/* Quiz CSS */ |
/* Quiz CSS */ |
||
.ns-3000.action-view #column-one, #footer { |
.ns-3000.action-view:not(:has(#column-one:target)) #column-one, #footer { |
||
display:none; |
display:none; |
||
} |
} |
||
.ns-3000.action-view #column-content { |
.ns-3000.action-view:not(:has(#column-one:target)) #column-content { |
||
float:none; |
float:none; |
||
margin:0; |
margin:0; |
||
} |
} |
||
.ns-3000.action-view #content { |
.ns-3000.action-view:not(:has(#column-one:target)) #content { |
||
margin:0; |
margin:0; |
||
border:none; |
border:none; |
||
Zeile 20: | Zeile 20: | ||
} |
} |
||
.ns-3000.action-view .mw-editsection, .firstHeading { |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-editsection, .firstHeading { |
||
display:none; |
display:none; |
||
} |
} |
||
.ns-3000.action-view .toc { |
.ns-3000.action-view:not(:has(#column-one:target)) .toc { |
||
border:none; |
border:none; |
||
padding-top:0; |
padding-top:0; |
||
} |
} |
||
.ns-3000.action-view .toctitle,.tocnumber { |
.ns-3000.action-view:not(:has(#column-one:target)) .toctitle,.tocnumber { |
||
display:none; |
display:none; |
||
} |
} |
||
.ns-3000.action-view .mw-parser-output |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2 { |
||
margin:0; |
margin:0; |
||
border:0; |
border:0; |
||
Zeile 38: | Zeile 38: | ||
} |
} |
||
.ns-3000.action-view .mw-parser-output h2 |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2 ~ p { |
||
display: none; |
|||
} |
|||
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:has(> span.mw-headline:target) ~ p { |
|||
display:initial; |
display:initial; |
||
} |
} |
||
.ns-3000.action-view .mw-parser-output h2:has(> span.mw-headline:target) ~h2 ~ p { |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:has(> span.mw-headline:target) ~h2 ~ p { |
||
display:none; |
display:none; |
||
} |
} |
||
.ns-3000.action-view .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ p { |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ p { |
||
display: initial |
display: initial |
||
} |
} |
||
.ns-3000.action-view .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ h2 ~ p { |
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ h2 ~ p { |
||
display: none |
display: none |
||
} |
} |
Version vom 16. Juli 2023, 03:44 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ p, h1, h2, h3, h4, h5, h6, small, ul, ol { max-width: 48em; } /* Quiz CSS */ .ns-3000.action-view:not(:has(#column-one:target)) #column-one, #footer { display:none; } .ns-3000.action-view:not(:has(#column-one:target)) #column-content { float:none; margin:0; } .ns-3000.action-view:not(:has(#column-one:target)) #content { margin:0; border:none; padding-top:0; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-editsection, .firstHeading { display:none; } .ns-3000.action-view:not(:has(#column-one:target)) .toc { border:none; padding-top:0; } .ns-3000.action-view:not(:has(#column-one:target)) .toctitle,.tocnumber { display:none; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2 { margin:0; border:0; display: none; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2 ~ p { display: none; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:has(> span.mw-headline:target) ~ p { display:initial; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:has(> span.mw-headline:target) ~h2 ~ p { display:none; } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ p { display: initial } .ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ h2 ~ p { display: none }