MediaWiki:Common.css: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Keine Bearbeitungszusammenfassung
Zeile 31: Zeile 31:
     --common-border: #212121;
     --common-border: #212121;
     --header-background: #070707;
     --header-background: #070707;
     --code-background: #c8ccd1;
     --code-background: #212121;
     --code-color: #83a8d8;
     --code-color: #83a8d8;
     --notice-color: #76e5f8;
     --notice-color: #76e5f8;
Zeile 119: Zeile 119:
     color: var(--link-color-visited);
     color: var(--link-color-visited);
   }
   }
}
.last-modified-bar {
  border-bottom: solid 1px var(--common-border);
  background-color: var(--common-background);
  color: var(--text-color);
}
.mw-ui-button:link,
.mw-ui-button:active,
.mw-ui-button:visited {
  background-color: var(--common-background);
  color: var(--text-color);
  border-color: var(--common-border);
}
}
/******************
/******************
Zeile 149: Zeile 161:
a.new:visited {
a.new:visited {
   color: #df6565;
   color: #df6565;
}
@media (prefers-color-scheme: dark) {
  a:not([href]) {
    color: #bcc6cf;
  }
}
}
.mw-editform #wpTextbox1 {
.mw-editform #wpTextbox1 {
Zeile 176: Zeile 193:
}
}
pre,
pre,
.content pre,
.pre {
.pre {
   background-color: var(--code-background);
   background-color: var(--code-background);
Zeile 188: Zeile 206:
   background-color: transparent;
   background-color: transparent;
   border: none;
   border: none;
}
@media (prefers-color-scheme: dark) {
  .mw-content-ltr.mw-highlight-lines pre,
  .mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 #3a3a3a;
  }
  .mw-highlight .linenos {
    color: var(--text-color);
  }
}
}
/* Color utilities */
/* Color utilities */
.text-white {
.text-white {
   color: #FFF !important;
   color: #FFF !important;
}
.text-black {
  color: #000 !important;
}
.text-light {
  color: #f8f9fa !important;
}
.text-dark {
  color: #212529 !important;
}
}
.text-default {
.text-default {
Zeile 480: Zeile 516:
.collapsible-info {
.collapsible-info {
   border: 1px solid #3a3a3a;
   border: 1px solid #3a3a3a;
   background-color: #f8f9fa;
   background-color: var(--common-background);
   padding: 5px;
   padding: 5px;
   overflow: auto;
   overflow: auto;
Zeile 503: Zeile 539:
}
}
.wrapper pre {
.wrapper pre {
   background-color: rgba(248, 249, 250, 0.75);
   /*background-color: fade(@code-background, 75%);
}
@media (prefers-color-scheme:dark) {
@media (prefers-color-scheme: dark) {
background-color: fade(@code-background-dark, 25%);
  .wrapper pre {
}*/
    background-color: rgba(200, 204, 209, 0.25);
  }
}
}
.wrapper code.clean,
.wrapper code.clean,
Zeile 515: Zeile 549:
   border: none;
   border: none;
   padding: 0;
   padding: 0;
}
.wrapper .mw-highlight-lines pre {
  box-shadow-col: inset 2.75em 0 0 rgba(0, 0, 0, 0.25);
}
}
.hgbox {
.hgbox {
8.581

Bearbeitungen