MediaWiki:Common.css: Difference between revisions

add better CSS for dark mode from @SigmaSquadron
Updated common.css.wiki from git repository
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*
This page is automatically managed through git repository synchronization.
Do not edit this page directly on the wiki - changes will be overwritten.
To edit this page, modify the file: common.css.wiki
Source: https://github.com/NixOS/nixos-wiki-infra/blob/main/pages/common.css.wiki
*/
:root {
:root {
   --home-panel-heading-background: var(--background-color-neutral);
   --home-panel-heading-background: var(--background-color-neutral);
Line 35: Line 42:
blockquote + cite::before,
blockquote + cite::before,
blockquote + p cite::before {
blockquote + p cite::before {
   content: "— ";
   content: "";
   display: inline;
   display: inline;
}
}
Line 219: Line 226:
.table .table tr:nth-child(odd) {
.table .table tr:nth-child(odd) {
   background: var(--table-even-background);
   background: var(--table-even-background);
}
/* Fix CLS issue */
.vector-toc-list-item .vector-toc-toggle .mw-ui-icon-wikimedia-expand {
  height: 0.75rem;
  min-height: 0.75rem;
  min-width: 0.75rem;
  width: 0.75rem;
}
}