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

Version vom 19. Juli 2023, 11:58 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:revert;
}

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

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

.ns-3000.action-view:not(:has(#column-one:target)) #toc li:has(a.selected) {
  background:#EEE;
  color:#000;
}