MediaWiki:Vector-2022.css: Unterschied zwischen den Versionen

Aus HuskyWiki
Die Seite wurde neu angelegt: „→‎Vector (2022): →‎Remove full page's max-width: //.mw-workspace-container { // max-width: none !important; //} //.mw-content-container { // max-width: none !important; //} //.mw-page-container { // max-width: none; // padding-left: 1em; // padding-right: 1em; //} →‎reduce size of the sidebar (Mitarbeit, Hilfe, Werkzeuge, etc.): //.mw-sidebar { // width: 200px; // margin-left: 0; // padding-left: 0; // padding-right: 0; //} /* reduce…“
 
KKeine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
/* Vector (2022) */
/**
* Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
* Please use [[Extension:TemplateStyles]] where possible.
*/
#coordinates {
line-height: 2;
font-size: 92%;
white-space: nowrap;
}


/* Remove full page's max-width */
/* Don't display some stuff on the main page */
//.mw-workspace-container {
.page-Main_Page #deleteconfirm,
//  max-width: none !important;
.page-Main_Page #t-cite,
//}
.page-Main_Page #footer-info-lastmod,
//.mw-content-container {
.action-view.page-Main_Page #siteSub,
//  max-width: none !important;
.action-view.page-Main_Page #contentSub,
//}
.action-view.page-Main_Page #contentSub2 {
//.mw-page-container {
display: none !important;
//  max-width: none;
}
//  padding-left: 1em;
//  padding-right: 1em;
//}


/* reduce size of the sidebar (Mitarbeit, Hilfe, Werkzeuge, etc.) */
/* Override [[phab:T265947]] */
//.mw-sidebar {
.mw-body-content blockquote {
//  width: 200px;
border-left: none;
//  margin-left: 0;
}
//  padding-left: 0;
//  padding-right: 0;
//}


/* reduce size of the sidebar container */
@media screen {
//.mw-page-container-inner {
  /* [[phab:T360844]] */
// grid-template-columns: 210px minmax(0,1fr);
  html.skin-theme-clientpref-night table:not(.infobox) [bgcolor] a,
//}
  html.skin-theme-clientpref-night table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  html.skin-theme-clientpref-night table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  /* should not apply to th elements which have their own background. */
  html.skin-theme-clientpref-night table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
      color: #202122; /* replace with --color-base-fixed when token is available */
      text-decoration: underline;
  }


/* reduce size of the sidebar toc (table of contents) */
  html.skin-theme-clientpref-night .navbox a:link,
//.sidebar-toc {
  html.skin-theme-clientpref-night .infobox a:link {
//  width: 220px;
    color: var( --color-progressive ) !important;
//}
  }


/* thumbnails in type ahead search */
  /* T370074 */
//.cdx-thumbnail {
  html.skin-theme-clientpref-night .mw-parser-output > figure img {  
//  display:none;
      background: var( --background-color-disabled-fixed, #C8CCD1 );
//}
  }
}


/* less padding in search */
//.cdx-typeahead-search .cdx-menu-item__content {
//  padding-top: 4px;
//  padding-bottom: 4px;
//}


 
@media screen and (prefers-color-scheme: dark) {
/* Ein Herz für Farbfehlsichtige */
  html.skin-theme-clientpref-os table:not(.infobox) [bgcolor] a,
//a {
  html.skin-theme-clientpref-os table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
//  color: #0645b0;
  html.skin-theme-clientpref-os table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
//}
  html.skin-theme-clientpref-os table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
//a:visited {
    color: #202122; /* replace with --color-base-fixed when token is available */
//  color: #090080;
    text-decoration: underline;
//}
  }
//.new a {
  html.skin-theme-clientpref-os .navbox a:link,
//  color: #ba0000;
  html.skin-theme-clientpref-os .infobox a:link {
//}
    color: var( --color-progressive ) !important;
/* aus (visited) a.new.mw-usertoollinks-talk #A55858 */
  }
  /* T370074 */
  html.skin-theme-clientpref-os .mw-parser-output > figure img {
      background: var( --background-color-disabled-fixed, #C8CCD1 );
  }
}

Aktuelle Version vom 2. September 2024, 08:06 Uhr

/**
 * Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
 * Please use [[Extension:TemplateStyles]] where possible.
 */
#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;
}

@media screen {
  /* [[phab:T360844]] */
  html.skin-theme-clientpref-night table:not(.infobox) [bgcolor] a,
  html.skin-theme-clientpref-night table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  html.skin-theme-clientpref-night table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  /* should not apply to th elements which have their own background. */
  html.skin-theme-clientpref-night table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
      color: #202122; /* replace with --color-base-fixed when token is available */
      text-decoration: underline;
  }

  html.skin-theme-clientpref-night .navbox a:link,
  html.skin-theme-clientpref-night .infobox a: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 table:not(.infobox) [bgcolor] a,
  html.skin-theme-clientpref-os table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  html.skin-theme-clientpref-os table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
  html.skin-theme-clientpref-os table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
    color: #202122; /* replace with --color-base-fixed when token is available */
    text-decoration: underline;
  }
  html.skin-theme-clientpref-os .navbox a:link,
  html.skin-theme-clientpref-os .infobox a:link {
    color: var( --color-progressive ) !important;
  }
  /* T370074 */
  html.skin-theme-clientpref-os .mw-parser-output > figure img { 
      background: var( --background-color-disabled-fixed, #C8CCD1 );
  }
}