MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus smw-dev03
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Keine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
||
| Zeile 10: | Zeile 10: | ||
display: block !important; | display: block !important; | ||
margin-left: 0em; | margin-left: 0em; | ||
} | } | ||
.checkbox-list input[type="checkbox"] { | .checkbox-list input[type="checkbox"] { | ||
margin-right: 8px; | |||
margin-right: 8px | transform: scale(1.2); /* Slightly larger checkbox */ | ||
transform: scale(1.2); | |||
} | } | ||
.checkbox-list label { | .checkbox-list label { | ||
font-family: | font-family: Arial, Helvetica, sans-serif; | ||
font-size: 1em; | font-size: 1em; | ||
color: #333; | color: #333; /* Darker text color to match the image */ | ||
line-height: 1.6; | line-height: 1.6; /* Slightly more spacing */ | ||
margin: | display: block; | ||
padding: | 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; | |||
} | } | ||
| Zeile 53: | Zeile 52: | ||
padding: 0 !important; | padding: 0 !important; | ||
text-align: left !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;
}
/* 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;
}