Mitarbeit willkommen! Bitte schau unter Hilfe:Benutzerkonto oder informiere Dich über Populus.Wiki.

MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus Populus DE
Zur Navigation springenZur Suche springen
Zeile 32: Zeile 32:
 
}
 
}
   
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2 {
+
.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:not(:has(#column-one:target)) .mw-parser-output h2 ~ p {
+
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2 ~ :not(h2) {
 
display: none;
 
display: none;
 
}
 
}
   
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output h2:has(> span.mw-headline:target) ~ p {
+
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2:has(> span.mw-headline:target) ~ :not(h2) {
 
display:initial;
 
display:initial;
 
}
 
}
   
.ns-3000.action-view:not(:has(#column-one:target)) .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 ~ :not(h2) {
 
display:none;
 
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 {
+
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ :not(h2) {
 
display: initial
 
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 {
+
.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2:first-of-type:not(:has(~ h2 > span.mw-headline:target)) ~ h2 ~ :not(h2) {
 
display: none
 
display: none
 
}
 
}

Version vom 16. Juli 2023, 09:00 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 ~ :not(h2) {
  display: none;
}

.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2:has(> span.mw-headline:target) ~ :not(h2) {
  display:initial;
}

.ns-3000.action-view:not(:has(#column-one:target)) .mw-parser-output > h2:has(> span.mw-headline:target) ~h2 ~ :not(h2) {
  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)) ~ :not(h2) {
  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 ~ :not(h2) {
  display: none
}