Zum Inhalt springen

„Hilfe:AEWI/Vector-2022.css“ – Versionsunterschied

aus AufEinWort, der freien Forschung
Die Seite wurde neu angelegt: „=== Sicherung CSS bis 6. September 2025 === <syntaxhighlight lang="css"> .bereichfenster-content p:empty { display: none; } .bereichfenster-content br:last-child { display: none; } .mw-body p { margin: 0.1em 0 1em 0 } →********************************************************************** * 🌓 1. DARK MODE ONLY (wirksam nur bei aktiviertem Night Mode) **********************************************************************: /* Farbvariabl…“
 
KKeine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 1: Zeile 1:
=== Sicherung CSS bis 6. September 2025 ===
/**
<syntaxhighlight lang="css">
* Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
.bereichfenster-content p:empty {
* Please use [[Extension:TemplateStyles]] where possible.
    display: none;
*/
#coordinates {
line-height: 2;
font-size: 92%;
white-space: nowrap;
}
}


.bereichfenster-content br:last-child {
/* Don't display some stuff on the main page */
    display: none;
.page-Main_Page #deleteconfirm,
}
.page-Main_Page #t-cite,
.mw-body p {
.page-Main_Page #footer-info-lastmod,
    margin: 0.1em 0 1em 0
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub2 {
display: none !important;
}
}


/***********************************************************************
/* Override [[phab:T265947]] */
* 🌓 1. DARK MODE ONLY (wirksam nur bei aktiviertem Night Mode)
.mw-body-content blockquote {
***********************************************************************/
border-left: none;
 
/* Farbvariablen für Night Mode */
html.skin-theme-clientpref-night {
  --background-color-page: #141414;
  --background-color-content: #1f1f1f;
  --text-color-default: #e6e6e6;
}
}


/* Invertierung für schwarze Bilder mit transparentem Hintergrund */
/* Styling for tags in changes pages */
html.skin-theme-clientpref-night .skin-invert,
.mw-tag-markers {
html.skin-theme-clientpref-night .skin-invert-image img {
font-style: italic;
  filter: invert(100%);
font-size: 90%;
}
}


/* Spezielle Night-Mode-Hintergründe */
@media screen {
html.skin-theme-clientpref-night {
  html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
  .ext-replacetext-searchoptions,
   html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
   .mw-highlight-lines pre,
     color: var( --color-progressive ) !important;
  .content .mw-highlight-lines pre,
  .mw-references-wrap {
     background-color: #2e2e2e !important;
   }
   }


   .ve-ce-linkAnnotation.ve-ce-annotation-active {
   /* T370074 */
    background-color: #0c2d57 !important;
  html.skin-theme-clientpref-night .mw-parser-output > figure img {  
      background: var( --background-color-disabled-fixed, #C8CCD1 );
   }
   }
}
}


/* Bildbeschriftungen transparent */
html.skin-theme-clientpref-night figcaption {
  background-color: transparent !important;
  color: var(--text-color-default) !important;
}


/* Tabellen ohne vordefinierte Farbe: transparent */
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-night .wikitable:not([style*="background"]) {
  html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
  background-color: transparent !important;
  html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
  color: var(--text-color-default) !important;
    color: var( --color-progressive ) !important;
}
   }
 
  /* T370074 */
/* Headings im Dark Mode: wie normaler Text */
  html.skin-theme-clientpref-os .mw-parser-output > figure img {  
html.skin-theme-clientpref-night h1,
      background: var( --background-color-disabled-fixed, #C8CCD1 );
html.skin-theme-clientpref-night h2,
   }
html.skin-theme-clientpref-night h3,
html.skin-theme-clientpref-night h4,
html.skin-theme-clientpref-night h5,
html.skin-theme-clientpref-night h6 {
  color: inherit !important;
}
 
 
/***********************************************************************
* 🌐 2. SKIN-VECTOR-2022 (wirksam im Skin Vector 2022 – Day + Night)
***********************************************************************/
 
/* Hintergrund und Textfarbe */
body.skin-vector-2022 {
  background-color: var(--background-color-page) !important;
  color: var(--text-color-default) !important;
}
 
/* Inhaltsbereiche */
.mw-body,
.mw-parser-output {
  background-color: var(--background-color-content) !important;
   color: var(--text-color-default) !important;
}
 
/* Navigation & Kopfbereiche */
.vector-header,
.vector-page-toolbar,
.vector-toc,
.vector-main-menu-container {
  background-color: var(--background-color-page) !important;
  color: var(--text-color-default) !important;
}
 
 
/***********************************************************************
* ⚙️ 3. TECHNISCHE UND EDITOR-FUNKTIONEN (Day + Night)
***********************************************************************/
 
/* Popup-Vorschauen (PagePreviews) */
.mwe-popups-container {
  height: 310px !important;
  width: 410px !important;
  max-height: 310px !important;
}
.mwe-popups-extract {
  height: 300px !important;
  width: 400px !important;
  max-height: 310px !important;
}
 
/* Hinweisbanner dauerhaft ausblenden */
.vector-sitenotice-container {
  display: none;
}
 
/* Namensraum- und Doppelpunkte im Seitentitel ausblenden */
span.mw-page-title-namespace,
span.mw-page-title-separator {
  display: none;
}
 
/* Externe Links: keine Symbole, kein Padding */
#content a.external {
  background: none !important;
   padding: 0 !important;
}
 
/* Links optional anders färben (auskommentiert) */
/*
a { color: green; }
a:link { color: black; }
a:visited { color: black; }
a:hover { color: blue; }
a:active { color: black; }
*/
 
/* Abschnitts-Bearbeiten-Links ausblenden */
.mw-editsection {
  display: none !important;
}
}
/* Literaturverweise sichtbar halten */
.mw-references-wrap {
  pointer-events: auto !important;
  opacity: 1.0 !important;
}
/* Zitate: kein Innenabstand */
.vector-body blockquote {
  padding: 0 !important;
}
/* Editor-Link-Markierung (VisualEditor) */
.ve-ce-linkAnnotation.ve-ce-annotation-active {
  box-shadow: 0 0 0 1px #c6e0ff;
  border-radius: 2px;
  padding: 2px;
  margin: -2px;
}
</syntaxhighlight>

Version vom 6. September 2025, 09:45 Uhr

/**

* Note: MediaWiki:Common.css is loaded in addition to these styles
* Please use Extension:TemplateStyles where possible.
*/
  1. coordinates {

line-height: 2; font-size: 92%; white-space: nowrap; }

/* Don't display some stuff on the main page */ .page-Main_Page #deleteconfirm, .page-Main_Page #t-cite, .page-Main_Page #footer-info-lastmod, .action-view.page-Main_Page #siteSub, .action-view.page-Main_Page #contentSub, .action-view.page-Main_Page #contentSub2 { display: none !important; }

/* Override phab:T265947 */ .mw-body-content blockquote { border-left: none; }

/* Styling for tags in changes pages */ .mw-tag-markers { font-style: italic; font-size: 90%; }

@media screen {

 html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
 html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
   color: var( --color-progressive ) !important;
 }
 /* T370074 */
 html.skin-theme-clientpref-night .mw-parser-output > figure img { 
     background: var( --background-color-disabled-fixed, #C8CCD1 );
 }

}


@media screen and (prefers-color-scheme: dark) {

 html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
 html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
   color: var( --color-progressive ) !important;
 }
 /* T370074 */
 html.skin-theme-clientpref-os .mw-parser-output > figure img { 
     background: var( --background-color-disabled-fixed, #C8CCD1 );
 }

}