Merge pull request 'style changes' (#20) from dev into main

Reviewed-on: #20
This commit was merged in pull request #20.
This commit is contained in:
2025-11-19 17:31:07 +00:00
2 changed files with 17 additions and 7 deletions

View File

@@ -89,7 +89,7 @@ body {
/* Layout */ /* Layout */
.container { .container {
max-width: 1200px; max-width: 1250px;
margin: 0 auto; margin: 0 auto;
padding: 0 20px; padding: 0 20px;
} }
@@ -165,6 +165,7 @@ h2 {
input[type="text"], input[type="text"],
input[type="email"], input[type="email"],
input[type="number"], input[type="number"],
input[type="date"],
select, select,
textarea { textarea {
width: 100%; width: 100%;
@@ -178,6 +179,14 @@ textarea {
font-family: inherit; font-family: inherit;
} }
/* Normalize date input appearance */
input[type="date"] {
-webkit-appearance: none;
appearance: none;
font-family: inherit;
/* Ensure text is legible and consistent */
}
textarea { textarea {
resize: vertical; resize: vertical;
min-height: 80px; min-height: 80px;
@@ -528,7 +537,8 @@ input[type="radio"] { accent-color: var(--control-accent); }
top: 20px; top: 20px;
right: 20px; right: 20px;
background: var(--card-bg); background: var(--card-bg);
border: 1px solid #22c55e; border: 1px solid hsl(142, 71%, 45%);
background-color: hsl(142, 82%, 30%);
border-radius: 12px; border-radius: 12px;
box-shadow: 0 10px 40px rgba(0,0,0,0.2); box-shadow: 0 10px 40px rgba(0,0,0,0.2);
padding: 16px 20px; padding: 16px 20px;

View File

@@ -84,7 +84,7 @@
</select> </select>
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="classname">Lehrveranstaltungsname</label> <label for="classname">Veranstaltungsname</label>
<input type="text" name="classname" id="classname" required> <input type="text" name="classname" id="classname" required>
</div> </div>
<div class="form-field"> <div class="form-field">
@@ -188,7 +188,7 @@
title = 'Monografie'; title = 'Monografie';
tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' + tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' +
'<tr>' + '<tr>' +
'<th>Autor (Nachname, Vorname)</th>' + '<th>Autor<br>(Nachname, Vorname)</th>' +
'<th>Jahr</th>' + '<th>Jahr</th>' +
'<th>Auflage</th>' + '<th>Auflage</th>' +
'<th>Titel</th>' + '<th>Titel</th>' +
@@ -202,7 +202,7 @@
title = 'Zeitschriftenartikel'; title = 'Zeitschriftenartikel';
tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' + tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' +
'<tr>' + '<tr>' +
'<th>Autor (Nachname, Vorname)</th>' + '<th>Autor<br>(Nachname, Vorname)</th>' +
'<th>Jahr</th>' + '<th>Jahr</th>' +
'<th>Band</th>' + '<th>Band</th>' +
'<th>Titel des Artikels</th>' + '<th>Titel des Artikels</th>' +
@@ -217,11 +217,11 @@
title = 'Herausgeberwerk'; title = 'Herausgeberwerk';
tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' + tableHtml = '<table class="data-table media-table" id="table-' + sectionId + '">' +
'<tr>' + '<tr>' +
'<th>Herausgeber (Nachname, Vorname)</th>' + '<th>Herausgeber<br>(Nachname, Vorname)</th>' +
'<th>Titel des Werks</th>' + '<th>Titel des Werks</th>' +
'<th>Jahr</th>' + '<th>Jahr</th>' +
'<th>Auflage</th>' + '<th>Auflage</th>' +
'<th>Autor des Artikels (Nachname, Vorname)</th>' + '<th>Autor des Artikels<br>(Nachname, Vorname)</th>' +
'<th>Titel des Artikels</th>' + '<th>Titel des Artikels</th>' +
'<th>Signatur</th>' + '<th>Signatur</th>' +
'<th>Seiten von</th>' + '<th>Seiten von</th>' +