Zum Inhalt springen

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

aus Helmstedt-Wiki, der freien Enzyklopädie über den Landkreis Helmstedt
KKeine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
KKeine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Zeile 56: Zeile 56:
   border-collapse: separate;
   border-collapse: separate;
   border-spacing: 0;
   border-spacing: 0;
   border: 1px solid var(--color-gray-40);
   border: 1px solid #d4e0e7;
   border-radius: 10px;
   border-radius: 10px;
   overflow: hidden;
   overflow: hidden;
Zeile 64: Zeile 64:


thead th {
thead th {
   padding: 1rem;
   padding: spacing();
   background-color: var(--color-background-secondary);
   background-color: #fafafa;
   font-weight: bold;
   font-weight: bold;
   font-size: inherit;
   font-size: inherit;
Zeile 71: Zeile 71:


thead th:not(:last-child) {
thead th:not(:last-child) {
   border-right: 1px solid var(--color-gray-40);
   border-right: 1px solid #d4e0e7;
}
}


tbody td {
tbody td {
   border-bottom: 1px solid var(--color-gray-40);
   border-bottom: 1px solid #d4e0e7;
   padding: 1rem;
   padding: 1em;
   p {
   p {
     margin: 0;
     margin: 0;
Zeile 83: Zeile 83:


tbody td:not(:last-child) {
tbody td:not(:last-child) {
   border-right: 1px solid var(--color-gray-40);
   border-right: 1px solid #d4e0e7;
}
}


Zeile 91: Zeile 91:


tbody tr:first-child td {
tbody tr:first-child td {
   border-top: 1px solid var(--color-gray-40);
   border-top: 1px solid #d4e0e7;
}
}


tfoot td {
tfoot td {
   padding-right: spacing();
   padding-right: 1em;
   white-space: nowrap;
   white-space: nowrap;
}
}


tfoot tr:first-child td {
tfoot tr:first-child td {
   border-top: 1px solid var(--color-gray-40);
   border-top: 1px solid #d4e0e7;
}
}


Zeile 126: Zeile 126:


     &.youSave {
     &.youSave {
       color: var(--color-negative);
       color: #e60a1f;
     }
     }


     &.setPrice {
     &.setPrice {
       color: var(--color-text-title-primary);
       color: #004884;
     }
     }
  }
}

Version vom 18. März 2026, 07:33 Uhr

/*
 * Koordinaten und diverse andere Anzeigen oben rechts, siehe
 * [[:Kategorie:Vorlage:mit Seitenindikator#Textelemente]].
 * Beachte, dass diese Elemente im Wikitext an beliebigen Stellen auftreten und
 * deshalb allerhand Eigenschaften erben können. Das gilt insbesondere für die
 * Schriftgröße.
 * Der folgende Darstellungsfehler ist bekannt: Wenn die Fensterbreite kleiner
 * als 982px ist und die Schriftgröße des Wurzelelements wie üblich 16px ist,
 * überlappen sich die 17px hohen Icons der Gadgets „WikiMiniAtlas“ und
 * „OpenStreetMap“ mit der SiteNotice.
 */
#mw-content-text #coordinates,
#mw-content-text #editcount,
#mw-content-text #shortcut,
body.ns-special #mw-content-text .specialpage-helplink {
	display: block;
	font-size: x-small;
	line-height: 1.5;
	position: absolute;
	right: 0;
	text-align: right;
	text-indent: 0;
	top: -9em;
	white-space: nowrap;
}

/* Wiederherstellung von Stildefinitionen der TOC-Klassen (T314254) */
.toc {
	display: table;
	padding: 7px;
}
.toc, .toccolours {
	border: 1px solid var(--dewiki-rahmenfarbe1);
	background-color: var(--dewiki-hintergrundfarbe1);
	padding: 5px;
	font-size: 95%;
}

/* Auflösung von Nowraps in mehrspaltigen Referenzlisten */
.mw-references-wrap span {
	white-space: initial !important;
}
.mw-references-wrap span[style="white-space:nowrap"] > span {
	display: inline !important;
}

/* Korrektur Schriftart der Überschriften ([[Helmstedt-Wiki:Umfragen/Darstellungsprobleme in Überschriften]]) */
.mw-body #firstHeading,
.mw-body :is(h1, h2) {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #262626;
}

/* TABELLEN */
table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d4e0e7;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 2rem;
}

thead th {
  padding: spacing();
  background-color: #fafafa;
  font-weight: bold;
  font-size: inherit;
}

thead th:not(:last-child) {
  border-right: 1px solid #d4e0e7;
}

tbody td {
  border-bottom: 1px solid #d4e0e7;
  padding: 1em;
  p {
    margin: 0;
  }
}

tbody td:not(:last-child) {
  border-right: 1px solid #d4e0e7;
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:first-child td {
  border-top: 1px solid #d4e0e7;
}

tfoot td {
  padding-right: 1em;
  white-space: nowrap;
}

tfoot tr:first-child td {
  border-top: 1px solid #d4e0e7;
}

tfoot td:not(:last-child) {
  border-right: none;
}

.product {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

//for the set contents table footer, SetContents.tsx
tfoot {
  tr {
    td p {
      margin: 0.25rem 0;
    }

    td.priceBold {
      font-weight: bold;
    }

    &.youSave {
      color: #e60a1f;
    }

    &.setPrice {
      color: #004884;
    }