573 lines
11 KiB
CSS
573 lines
11 KiB
CSS
body {
|
|
background-color: #DFF0F2;
|
|
color: black;
|
|
font-size: 15px;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
a {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
#navigation {
|
|
display: flex;
|
|
justify-content: center;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
background: #BAC8D4;
|
|
width: 100vw;
|
|
}
|
|
.link-container {
|
|
display: grid;
|
|
width: 80%;
|
|
grid-template-columns: 20% 20% 56% 4%;
|
|
background-color: #BAC8D4;
|
|
border-bottom-right-radius: 10px;
|
|
border-bottom-left-radius: 10px;
|
|
}
|
|
.links {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 25px;
|
|
}
|
|
#logo {
|
|
height: 60px;
|
|
width: 170px;
|
|
background-image: url("../images/bibArts.png");
|
|
background-position: center;
|
|
background-size: contain;
|
|
}
|
|
#footer {
|
|
position: relative;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 180px;
|
|
background-color: #BAC8D4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
z-index: 999;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.container-zahlungsmittel {
|
|
grid-column: 5;
|
|
justify-content: right;
|
|
}
|
|
.header-zahlungsarten {
|
|
padding-right: 15px;
|
|
text-align: right;
|
|
}
|
|
|
|
.inhalt {
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100vw;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
margin: 0;
|
|
padding: 0 2vw;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.zahlungsmittel-img {
|
|
height: 41px;
|
|
width: 284px;
|
|
background-image: url("../images/Zahlungsmittel.png");
|
|
background-position: center;
|
|
background-size: contain;
|
|
justify-self: right;
|
|
}
|
|
|
|
.line {
|
|
width: 97%;
|
|
height: 1px;
|
|
background-color: grey;
|
|
justify-self: center;
|
|
grid-column-start: 1;
|
|
grid-column-end: 6;
|
|
}
|
|
|
|
.link-impressum {
|
|
padding-left: 30px;
|
|
|
|
}
|
|
.text-bib {
|
|
grid-column: 5;
|
|
justify-self: right;
|
|
padding-right: 30px;
|
|
}
|
|
.container-welcome-inhalt {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
min-height: 200px;
|
|
border-radius: 10px;
|
|
background: white;
|
|
box-shadow: 0 2px 16px rgba(0,0,0,0.08);
|
|
justify-items: center;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.beispiel-austellung1-img, .beispiel-austellung2-img {
|
|
height: 200px;
|
|
width: 90vw;
|
|
max-width: 320px;
|
|
background-position: center;
|
|
background-size: contain;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.form-container {
|
|
background-color: #BAC8D4;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
padding: 32px 24px 24px 24px;
|
|
margin: 32px auto;
|
|
}
|
|
.form-horizontal {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.form-horizontal label {
|
|
margin-bottom: 2px;
|
|
}
|
|
.form-horizontal input[type="text"],
|
|
.form-horizontal input[type="email"],
|
|
.form-horizontal input[type="password"] {
|
|
width: 100%;
|
|
padding: 8px 10px;
|
|
border: 1px solid #BAC8D4;
|
|
border-radius: 4px;
|
|
font-size: 1rem;
|
|
box-sizing: border-box;
|
|
background: #fff;
|
|
}
|
|
.form-horizontal button {
|
|
width: 100%;
|
|
padding: 10px 0;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background: #4d4d4d;
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
margin-top: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
.form-horizontal button:hover {
|
|
background: #333;
|
|
}
|
|
.login-error, .form-error {
|
|
background: #ffe0e0;
|
|
color: #b30000;
|
|
border: 1px solid #ffb3b3;
|
|
border-radius: 6px;
|
|
padding: 10px 16px;
|
|
margin-bottom: 18px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
body {
|
|
font-size: 14px;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
overflow-x: hidden;
|
|
}
|
|
#navigation {
|
|
width: 100vw;
|
|
min-width: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.link-container {
|
|
width: 100vw;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
row-gap: 8px;
|
|
border-radius: 0;
|
|
padding: 0 4px;
|
|
}
|
|
.links {
|
|
font-size: 18px;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 6px 0;
|
|
text-align: center;
|
|
width: 100%;
|
|
}
|
|
#logo {
|
|
width: 120px;
|
|
height: 40px;
|
|
margin: 0 auto 8px auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.container-welcome-inhalt {
|
|
grid-template-columns: 1fr;
|
|
width: 100vw;
|
|
max-width: 100vw;
|
|
min-height: 0;
|
|
padding: 8px 0;
|
|
}
|
|
.beispiel-austellung1-img, .beispiel-austellung2-img {
|
|
width: 90vw;
|
|
max-width: 98vw;
|
|
height: 120px;
|
|
margin-bottom: 10px;
|
|
}
|
|
.inhalt {
|
|
width: 100vw;
|
|
min-width: 0;
|
|
max-width: 100vw;
|
|
padding: 0 2vw;
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
#footer {
|
|
width: 100vw;
|
|
height: auto;
|
|
min-height: 120px;
|
|
padding: 10px 0 10px 0;
|
|
font-size: 13px;
|
|
}
|
|
.container-zahlungsmittel {
|
|
width: 100vw;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
.header-zahlungsarten {
|
|
font-size: 1.1em;
|
|
padding-right: 0;
|
|
text-align: center;
|
|
}
|
|
.zahlungsmittel-img {
|
|
width: 90vw;
|
|
max-width: 200px;
|
|
height: 30px;
|
|
margin: 0 auto;
|
|
}
|
|
.line {
|
|
width: 95vw;
|
|
}
|
|
.link-impressum, .link-datenschutz, .link-nutzungsbedingungen {
|
|
display: block;
|
|
padding: 2px 0;
|
|
text-align: center;
|
|
}
|
|
.text-bib {
|
|
display: block;
|
|
text-align: center;
|
|
padding: 0;
|
|
}
|
|
.mobile-only {
|
|
display: block !important;
|
|
}
|
|
.form-container {
|
|
position: static;
|
|
width: 95vw;
|
|
max-width: 400px;
|
|
height: auto;
|
|
margin: 24px auto;
|
|
padding: 16px 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
.content-container {
|
|
position: static;
|
|
width: 95vw;
|
|
max-width: 400px;
|
|
height: auto;
|
|
margin: 24px auto;
|
|
padding: 16px 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
.form-container h1 {
|
|
font-size: 1.5em;
|
|
text-align: center;
|
|
}
|
|
.content-container h1 {
|
|
font-size: 1.5em;
|
|
text-align: center;
|
|
}
|
|
.form-container form,
|
|
.form-container label,
|
|
.form-container input {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.form-container button,
|
|
.form-container a {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
margin-top: 8px;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
#nav-toggle-btn {
|
|
display: block;
|
|
background: none;
|
|
border: none;
|
|
font-size: 2em;
|
|
cursor: pointer;
|
|
margin: 0 auto 8px auto;
|
|
transition: transform 0.2s;
|
|
}
|
|
.nav-links {
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
transition: max-height 0.3s ease;
|
|
overflow: hidden;
|
|
}
|
|
.nav-links.open {
|
|
display: flex;
|
|
}
|
|
#nav-toggle-btn.open {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
@media (min-width: 601px) {
|
|
.mobile-only {
|
|
display: none !important;
|
|
}
|
|
.desktop-only {
|
|
display: block !important;
|
|
}
|
|
#nav-toggle-btn {
|
|
display: none;
|
|
}
|
|
.nav-links {
|
|
display: flex !important;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
width: auto;
|
|
gap: 32px;
|
|
}
|
|
.nav-links .links {
|
|
margin: 0 12px;
|
|
}
|
|
.content-container {
|
|
width: 90vw;
|
|
max-width: 1200px;
|
|
margin: 24px auto;
|
|
padding: 16px 8px;
|
|
box-sizing: border-box;
|
|
}
|
|
.news-header {
|
|
text-align: center;
|
|
margin-bottom: 24px;
|
|
}
|
|
.news-header h2 {
|
|
margin-bottom: 16px;
|
|
}
|
|
.news-header .admin-btn {
|
|
margin: 0 auto;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.07);
|
|
margin: 24px 0;
|
|
overflow: hidden;
|
|
}
|
|
thead th {
|
|
background: #BAC8D4;
|
|
color: #222;
|
|
font-weight: 600;
|
|
padding: 12px 8px;
|
|
text-align: left;
|
|
border-bottom: 2px solid #e0e0e0;
|
|
}
|
|
tbody td {
|
|
padding: 10px 8px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
vertical-align: top;
|
|
}
|
|
tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
tbody tr:hover {
|
|
background: #f5faff;
|
|
}
|
|
.admin-btn, .admin-btn:visited {
|
|
display: inline-block;
|
|
background: #4d4d4d;
|
|
color: #fff;
|
|
border-radius: 5px;
|
|
padding: 7px 16px;
|
|
margin: 8px 0 12px 0;
|
|
text-decoration: none;
|
|
font-size: 1em;
|
|
font-weight: 500;
|
|
transition: background 0.2s;
|
|
}
|
|
.admin-btn:hover {
|
|
background: #222;
|
|
color: #fff;
|
|
}
|
|
td a {
|
|
color: #09add0;
|
|
text-decoration: underline;
|
|
margin: 0 4px;
|
|
font-size: 0.98em;
|
|
}
|
|
td a:hover {
|
|
color: #007b9e;
|
|
}
|
|
|
|
.news-cards {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 24px;
|
|
justify-content: flex-start;
|
|
margin: 24px 0;
|
|
}
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 12px rgba(0,0,0,0.08);
|
|
padding: 20px 18px 16px 18px;
|
|
max-width: 340px;
|
|
min-width: 220px;
|
|
flex: 1 1 300px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
margin: 0;
|
|
overflow-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
.card h3 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 1.2em;
|
|
color: #222;
|
|
}
|
|
.card .news-date {
|
|
font-size: 0.95em;
|
|
color: #888;
|
|
margin-bottom: 10px;
|
|
}
|
|
.card .news-desc {
|
|
font-size: 1em;
|
|
color: #333;
|
|
margin-bottom: 14px;
|
|
white-space: pre-line;
|
|
}
|
|
.card .admin-btn {
|
|
align-self: flex-end;
|
|
margin: 0 0 0 8px;
|
|
padding: 6px 12px;
|
|
font-size: 0.97em;
|
|
}
|
|
.card--wide {
|
|
max-width: 700px;
|
|
width: 90vw;
|
|
display: flex;
|
|
overflow-wrap: break-word;
|
|
overflow: hidden;
|
|
}
|
|
.news-desc a {
|
|
color: #007b9e;
|
|
font-weight: 600;
|
|
text-decoration: underline;
|
|
margin-left: 4px;
|
|
transition: color 0.2s;
|
|
}
|
|
.news-desc a:hover {
|
|
color: #09add0;
|
|
text-decoration: underline;
|
|
}
|
|
.news-card-actions {
|
|
margin-top: auto;
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
.news-desc {
|
|
min-height: 80px;
|
|
margin-bottom: 14px;
|
|
}
|
|
@media (max-width: 700px) {
|
|
.news-cards {
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
.card {
|
|
max-width: 98vw;
|
|
min-width: unset;
|
|
width: 100%;
|
|
}
|
|
}
|
|
.status-box {
|
|
background: #ffe0e0;
|
|
color: #b30000;
|
|
border: 1px solid #ffb3b3;
|
|
border-radius: 6px;
|
|
padding: 10px 16px;
|
|
margin-bottom: 18px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.error-box {
|
|
background: #ffe0e0;
|
|
color: #b30000;
|
|
border: 1px solid #ffb3b3;
|
|
border-radius: 6px;
|
|
padding: 10px 16px;
|
|
margin-bottom: 18px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.gutschein-header-block {
|
|
width: 100%;
|
|
max-width: 1100px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 18px;
|
|
}
|
|
.gutschein-table {
|
|
max-width: 1100px;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
} |