MediaWiki:Common.css: Unterschied zwischen den Versionen

Aus smw-dev03
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Keine Bearbeitungszusammenfassung
Markierung: Manuelle Zurücksetzung
Zeile 35: Zeile 35:
.btn-primary:hover {
.btn-primary:hover {
   background-color: #2980b9;
   background-color: #2980b9;
}
/* Target any wrapper divs or spans created by PageForms */
.checkbox-list div, .checkbox-list span {
  display: flex !important; /* Use flexbox to keep checkbox and label on the same line */
  align-items: center; /* Vertically center the checkbox and label */
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  margin-bottom: 8px; /* Space between checkbox-label pairs */
}
/* Ensure the outer container has no padding or margin that could cause an offset */
.checkbox-container {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
}

Version vom 31. März 2025, 14:46 Uhr

/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}

.checkboxcolumns {
 display: block !important;
 margin-left: 0em;
}

.checkbox-list input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2); /* Slightly larger checkbox */
}
.checkbox-list label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;
  color: #333; /* Darker text color to match the image */
  line-height: 1.6; /* Slightly more spacing */
  display: block;
  margin-bottom: 8px; /* More spacing between options */
}
.btn-primary {
  background-color: #3498db;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}
.btn-primary:hover {
  background-color: #2980b9;
}