Zuletzt bearbeitet vor 5 Tagen
von Xineohp1506

Vorlage:Note/styles.css: Unterschied zwischen den Versionen

Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
Zeile 28: Zeile 28:
}
}


.note-tags span {
.note-tag {
   display: inline-block;
   display: inline-block;
   background-color: #3498db;
   background-color: #3498db;

Aktuelle Version vom 4. März 2025, 23:58 Uhr

/* Container für die Notiz */
.note-box {
  background-color: #FFF9E6;
  border: 1px solid #E0D4A8;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

/* Überschrift der Notiz */
.note-header {
  font-size: 1.3em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
}

/* Inhalt der Notiz */
.note-content {
  line-height: 1.6;
  font-size: 1em;
  color: #333;
}

/* Schlagwörter-Bereich */
.note-tags {
  margin-top: 10px;
}

.note-tag {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 2px 6px;
  margin: 2px;
  border-radius: 3px;
  font-size: 0.9em;
}

/* Tabellen für PageForms-Formulare */
.formtable {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

.formtable th,
.formtable td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.formtable th {
  background-color: #f9f9f9;
}

/* Buttons */
button, .mw-ui-button {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

button:hover, .mw-ui-button:hover {
  background-color: #2980b9;
}
/* Spezielles Styling für Notiz-Formulare */
.formtable input[type="text"],
.formtable input[type="date"],
.formtable textarea {
  width: 95%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.formtable label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}

@media (max-width: 768px) {
  .formtable, .formtable th, .formtable td {
    font-size: 0.9em;
  }
}