diff --git a/css/main.css b/css/main.css index 571d0e1..a17d6fb 100644 --- a/css/main.css +++ b/css/main.css @@ -226,12 +226,12 @@ a, button, input, select, textarea, label, main{ /* --- RESPONSIVE DESIGN (MOBILGERÄTE) --- */ @media (max-width: 760px) { .form-page { - justify-content: center !important; - padding: 20px 10px !important; + justify-content: center; + padding: 20px 10px; } .form-container { - flex: 0 1 auto !important; - width: 100% !important; - max-width: 450px !important; + flex: 0 1 auto; + width: 100%; + max-width: 450px; } } \ No newline at end of file diff --git a/css/profile.css b/css/profile.css index 8bea840..649c530 100644 --- a/css/profile.css +++ b/css/profile.css @@ -114,4 +114,12 @@ CSS für die Profilseite width: 100%; } + /* Überschreibt das flex-grow der main.css und erzwingt zentrieren: */ + .form-container { + flex: 0 1 auto !important; + width: 100% !important; + max-width: 450px !important; + margin: 0 auto 20px auto; /* zentrieren der Boxen */ + } + } \ No newline at end of file diff --git a/css/search-results.css b/css/search-results.css index f2fc36f..43649b7 100644 --- a/css/search-results.css +++ b/css/search-results.css @@ -69,12 +69,12 @@ CSS für die Suchergebnis-Seite .s-res-filter-option input[type="radio"] { margin: 0; - accent-color: #3182ce; /* Moderne Färbung des Radio-Buttons */ + accent-color: #3182ce; } /* --- HAUPTINHALT (ERGEBNISSE) --- */ .s-res-main-content { - min-width: 0; /* Verhindert das Ausbrechen von Flex-Elementen */ + min-width: 0; } .s-res-header { @@ -164,7 +164,7 @@ CSS für die Suchergebnis-Seite transform: translateX(3px); } -/* --- ERGEBNISSE PRO SEITE & PAGINIERUNG --- */ +/* ERGEBNISSE PRO SEITE & PAGINIERUNG */ .s-res-pagination-footer { display: flex; justify-content: space-between;