Clean up CSS to use global stylesheet, fix carousel, add impressum page and footer to all pages, update login styles
This commit is contained in:
1 parent
a456caa24a
commit
6d3f699ea4
10 files changed
+534
-592
No files matched your search
+212
-371
@@ -1,273 +1,63 @@
|
||||
/* Instagram and Invite logo in gallery info area */
|
||||
.gallery__icon--instagram {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
object-fit: contain;
|
||||
border-radius: 8px;
|
||||
background: none;
|
||||
/* Olive green filter for PNG: #6b6b05 */
|
||||
filter: brightness(0) saturate(100%) invert(27%) sepia(81%) saturate(749%) hue-rotate(24deg) brightness(90%) contrast(90%);
|
||||
}
|
||||
/* ===========================================
|
||||
INDEX.CSS — Styles specific to index.html
|
||||
Global styles (reset, variables, body, nav,
|
||||
brand, typography) are in stylesheet_global.css
|
||||
=========================================== */
|
||||
|
||||
.gallery__icon--invite {
|
||||
height: 56px;
|
||||
width: 56px;
|
||||
object-fit: contain;
|
||||
margin-left: 0;
|
||||
transform: translate(-4%, -1%);
|
||||
position: relative;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
:root {
|
||||
--black: #000000;
|
||||
--white: #ffffff;
|
||||
--button-green: #6b6b05;
|
||||
--button-green-dark: #514c04;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: #FFFDE3; /* butter background color from stylesheet */
|
||||
}
|
||||
|
||||
.page-wrapper {
|
||||
max-width: 1440px;
|
||||
margin: 0 auto;
|
||||
background: var(--white);
|
||||
padding: 40px;
|
||||
border: 1px solid var(--black);
|
||||
}
|
||||
|
||||
/* --- 1. Basic Layout Logic --- */
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 24px;
|
||||
border: 1px solid var(--black);
|
||||
margin-bottom: 40px; /* Using your 40px margin from the first block */
|
||||
}
|
||||
|
||||
.header__brand {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-weight: 700;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.brand__logo {
|
||||
height: 34px;
|
||||
width: auto;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
/* Grouping container for 'Event finden' and 'Login' */
|
||||
.header__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.top-nav-wrap {
|
||||
background: #FFFDE3;
|
||||
padding: 18px 0;
|
||||
}
|
||||
|
||||
.top-nav {
|
||||
background: rgba(255, 255, 255, 0.95);
|
||||
border-radius: 30px;
|
||||
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.1);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
min-height: 58px;
|
||||
padding: 12px 24px;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
box-sizing: border-box;
|
||||
margin: 0 0 40px;
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.brand img {
|
||||
width: auto;
|
||||
height: 100%;
|
||||
max-width: 104px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.top-nav-links {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
}
|
||||
/* --- Navigation overrides (index-specific) --- */
|
||||
|
||||
.nav-link {
|
||||
color: #221c1a;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
padding: 8px 20px;
|
||||
border: 2px solid #e5e1b7;
|
||||
border-radius: 20px;
|
||||
border: 2px solid var(--olive-light);
|
||||
transition: background-color 0.2s ease, color 0.2s ease;
|
||||
}
|
||||
|
||||
.nav-link:hover,
|
||||
.nav-link.active,
|
||||
.nav-link:focus-visible {
|
||||
background: #6b6b05;
|
||||
color: #ffffff;
|
||||
border-color: #6b6b05;
|
||||
background: var(--olive);
|
||||
color: var(--white);
|
||||
border-color: var(--olive);
|
||||
}
|
||||
|
||||
.nav-link--login {
|
||||
background: #6b6b05;
|
||||
color: #ffffff;
|
||||
border-color: #6b6b05;
|
||||
background: var(--olive);
|
||||
color: var(--white);
|
||||
border-color: var(--olive);
|
||||
}
|
||||
|
||||
.nav-link--login:hover,
|
||||
.nav-link--login:focus-visible {
|
||||
background: #ffffff;
|
||||
color: #6b6b05;
|
||||
border-color: #6b6b05;
|
||||
background: var(--white);
|
||||
color: var(--olive);
|
||||
border-color: var(--olive);
|
||||
}
|
||||
|
||||
|
||||
/* --- Page layout --- */
|
||||
|
||||
.main-content {
|
||||
width: min(100% - 4rem, 1120px);
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 50px;
|
||||
margin-bottom: 80px;
|
||||
|
||||
/* --- Hero section --- */
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 50px;
|
||||
margin-bottom: 80px;
|
||||
align-items: center;
|
||||
padding: 40px 0;
|
||||
}
|
||||
|
||||
.how-it-works {
|
||||
margin-bottom: 70px;
|
||||
}
|
||||
|
||||
.how-it-works__header {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.how-it-works__header h2 {
|
||||
font-size: 2rem;
|
||||
margin: 0;
|
||||
color: #221c1a;
|
||||
}
|
||||
|
||||
.how-it-works__steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(180px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.how-step {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 28px 20px;
|
||||
background: #6B6B05;
|
||||
border-radius: 28px;
|
||||
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.how-step__icon {
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: var(--button-green);
|
||||
color: var(--white);
|
||||
border-radius: 50%;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.how-step__number {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
background: #f4efd7;
|
||||
color: #221c1a;
|
||||
border-radius: 50%;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.how-step__label {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
font-weight: 600;
|
||||
color: #221c1a;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.how-step__icon--brown {
|
||||
background: #66340d;
|
||||
}
|
||||
|
||||
.how-step__label--brown {
|
||||
color: #FFFDE3;
|
||||
}
|
||||
|
||||
.how-step__label--big {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.how-step--numbered {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.how-step__corner-number {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 16px;
|
||||
font-size: 2.2rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.how-step__corner-number--brown {
|
||||
color: #FFFDE3;
|
||||
}
|
||||
|
||||
.how-step__png {
|
||||
width: 192px;
|
||||
height: 192px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.how-step__png--brown {
|
||||
filter: brightness(0) saturate(100%) invert(99%) sepia(6%) saturate(1200%) hue-rotate(10deg) brightness(104%) contrast(97%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.how-it-works__steps {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
.hero__left {
|
||||
max-width: 520px;
|
||||
.hero__left h1 {
|
||||
white-space: nowrap;
|
||||
font-size: 2.4rem;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.hero__left p {
|
||||
@@ -285,7 +75,7 @@ body {
|
||||
width: 100%;
|
||||
max-width: 396px;
|
||||
overflow: hidden;
|
||||
border-radius: 30px;
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.hero-image {
|
||||
@@ -293,7 +83,7 @@ body {
|
||||
max-width: 396px;
|
||||
max-height: 464px;
|
||||
height: auto;
|
||||
border-radius: 30px;
|
||||
border-radius: var(--radius-lg);
|
||||
object-fit: cover;
|
||||
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
@@ -313,17 +103,103 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* Carousel gallery */
|
||||
|
||||
/* --- "So funktioniert's" steps --- */
|
||||
|
||||
.how-it-works {
|
||||
margin-bottom: 70px;
|
||||
}
|
||||
|
||||
.how-it-works__header {
|
||||
text-align: center;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.how-it-works__header h2 {
|
||||
font-size: 2rem;
|
||||
margin: 0;
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
.how-it-works__steps {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(180px, 1fr));
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.how-step {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 16px;
|
||||
padding: 28px 20px;
|
||||
background: var(--white);
|
||||
border-radius: 28px;
|
||||
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
|
||||
}
|
||||
|
||||
.how-step--numbered {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.how-step__corner-number {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
left: 16px;
|
||||
font-size: 2.2rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.how-step__corner-number--brown {
|
||||
color: var(--brown);
|
||||
}
|
||||
|
||||
.how-step__png {
|
||||
width: 192px;
|
||||
height: 192px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.how-step__png--brown {
|
||||
filter: brightness(0) saturate(100%) invert(18%) sepia(56%) saturate(2800%) hue-rotate(16deg) brightness(92%) contrast(95%);
|
||||
}
|
||||
|
||||
.how-step__label {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
font-weight: 600;
|
||||
color: var(--black);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.how-step__label--brown {
|
||||
color: var(--brown);
|
||||
}
|
||||
|
||||
.how-step__label--big {
|
||||
font-size: 1.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.how-it-works__steps {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* --- Carousel gallery --- */
|
||||
|
||||
.gallery__carousel {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.gallery__track {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 30px; /* Space between photos and dots */
|
||||
scroll-behavior: smooth;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.gallery__item {
|
||||
@@ -331,7 +207,7 @@ body {
|
||||
min-width: calc((100% - 40px) / 3);
|
||||
border-radius: 24px;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
background: var(--white);
|
||||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
|
||||
aspect-ratio: 2 / 3;
|
||||
}
|
||||
@@ -347,25 +223,30 @@ body {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
backdrop-filter: none;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
border-radius: 50%;
|
||||
background: rgba(0, 0, 0, 0.35);
|
||||
backdrop-filter: blur(4px);
|
||||
border: 2px solid rgba(255, 255, 255, 0.4);
|
||||
color: var(--white);
|
||||
cursor: pointer;
|
||||
font-size: 1.6rem;
|
||||
font-size: 1.2rem;
|
||||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
|
||||
transition: transform 0.2s ease, color 0.2s ease;
|
||||
transition: background 0.2s ease, transform 0.2s ease;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.gallery__arrow:hover {
|
||||
transform: translateY(-50%) scale(1.15);
|
||||
color: #e5e1b7;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
transform: translateY(-50%) scale(1.1);
|
||||
}
|
||||
|
||||
.gallery__arrow:focus-visible {
|
||||
outline: 2px solid var(--brown);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.gallery__arrow--prev {
|
||||
@@ -376,7 +257,39 @@ body {
|
||||
right: 12px;
|
||||
}
|
||||
|
||||
/* Center arrow removed – using side arrows only */
|
||||
|
||||
/* --- Carousel dot indicators --- */
|
||||
|
||||
.gallery__dots {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: 10px;
|
||||
padding: 12px 0 8px;
|
||||
}
|
||||
|
||||
.gallery__dot {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--brown);
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
transition: background 0.25s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.gallery__dot:hover {
|
||||
background: rgba(102, 52, 13, 0.3);
|
||||
transform: scale(1.2);
|
||||
}
|
||||
|
||||
.gallery__dot:focus-visible {
|
||||
outline: 2px solid var(--brown);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
|
||||
.gallery__dot--active {
|
||||
background: var(--brown);
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
@@ -390,100 +303,8 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/* --- 2. Button & Link Styling --- */
|
||||
.btn {
|
||||
border: none;
|
||||
background: var(--button-green);
|
||||
color: var(--white);
|
||||
padding: 12px 22px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
text-decoration: none; /* Keeps the link from having an underline */
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 999px;
|
||||
font-size: 0.95rem;
|
||||
transition: background-color 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
background-color: var(--button-green-dark);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.nav__link {
|
||||
color: var(--black); /* Fixes the purple link issue */
|
||||
}
|
||||
|
||||
/* --- 3. The "X" Box Logic --- */
|
||||
.image-card__placeholder, .placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 250px;
|
||||
position: relative;
|
||||
border: 1px solid var(--black);
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
.image-card__placeholder::before, .image-card__placeholder::after,
|
||||
.placeholder::before, .placeholder::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0; bottom: 0;
|
||||
}
|
||||
|
||||
/* Drawing the diagonal lines for the wireframe look */
|
||||
.image-card__placeholder::before, .placeholder::before {
|
||||
background: linear-gradient(to top left, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
||||
}
|
||||
|
||||
.image-card__placeholder::after, .placeholder::after {
|
||||
background: linear-gradient(to top right, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
||||
}
|
||||
/* The "X" Box Logic - IMPORTANT */
|
||||
.image-card__placeholder, .placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 250px; /* Ensures the box has height */
|
||||
position: relative; /* REQUIRED for the X lines to stay inside */
|
||||
border: 1px solid var(--black);
|
||||
background: var(--white);
|
||||
}
|
||||
|
||||
/* Creating the diagonal lines */
|
||||
.image-card__placeholder::before, .image-card__placeholder::after,
|
||||
.placeholder::before, .placeholder::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0; left: 0; right: 0; bottom: 0;
|
||||
}
|
||||
|
||||
.image-card__placeholder::before, .placeholder::before {
|
||||
background: linear-gradient(to top left, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
||||
}
|
||||
|
||||
.image-card__placeholder::after, .placeholder::after {
|
||||
background: linear-gradient(to top right, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
||||
}
|
||||
|
||||
/* Badges and Buttons */
|
||||
.social-badge {
|
||||
display: flex;
|
||||
justify-content: center; /* This centers the dots */
|
||||
gap: 10px;
|
||||
margin-top: 20px; /* This creates space between the photos and the dots */
|
||||
/* REMOVE any line that says "position: absolute" or "bottom: 16px" */
|
||||
}
|
||||
|
||||
.social-badge__dot { width: 12px; height: 12px; background: var(--black); border-radius: 50%; }
|
||||
|
||||
.profile-badge {
|
||||
width: 60px; height: 60px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid var(--black);
|
||||
margin-top: 20px;
|
||||
}
|
||||
/* --- Gallery info (Instagram link) --- */
|
||||
|
||||
.gallery__info {
|
||||
display: flex;
|
||||
@@ -491,31 +312,51 @@ body {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.gallery__handle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 1.1rem;
|
||||
.gallery__icon--instagram {
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
object-fit: contain;
|
||||
border-radius: 8px;
|
||||
background: none;
|
||||
filter: brightness(0) saturate(100%) invert(27%) sepia(81%) saturate(749%) hue-rotate(24deg) brightness(90%) contrast(90%);
|
||||
}
|
||||
|
||||
.gallery__icon--invite {
|
||||
height: 56px;
|
||||
width: 56px;
|
||||
object-fit: contain;
|
||||
margin-left: 0;
|
||||
transform: translate(-4%, -1%);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
/* --- CTA button --- */
|
||||
|
||||
.btn {
|
||||
border: none;
|
||||
background: var(--olive);
|
||||
color: var(--white);
|
||||
padding: 12px 22px;
|
||||
font-weight: 700;
|
||||
color: var(--black);
|
||||
gap: 6px;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 0.95rem;
|
||||
transition: background-color 0.2s ease, transform 0.2s ease;
|
||||
}
|
||||
|
||||
.gallery__icon {
|
||||
font-size: 1.15rem;
|
||||
color: #DD541A;
|
||||
.btn:hover {
|
||||
background-color: var(--olive-dark);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.gallery__at {
|
||||
font-size: 1.1rem;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.gallery__brand {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #DD541A;
|
||||
}
|
||||
/* --- Footer --- */
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
+136
-152
@@ -1,97 +1,37 @@
|
||||
/* Grundlegende Resets */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
/* ===========================================
|
||||
LOGIN_SIGNUP.CSS — Styles for login & signup
|
||||
Global styles (reset, variables, body, nav,
|
||||
typography) are in stylesheet_global.css
|
||||
=========================================== */
|
||||
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f5f5f5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Header Styles */
|
||||
.header {
|
||||
background-color: white;
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
||||
padding: 15px 30px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
/* --- Page layout --- */
|
||||
|
||||
.header-logo {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #0084ff;
|
||||
text-decoration: none;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.header-buttons {
|
||||
display: flex;
|
||||
gap: 15px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header-btn {
|
||||
padding: 10px 20px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.header-btn-secondary {
|
||||
background-color: transparent;
|
||||
color: #0084ff;
|
||||
border: 2px solid #0084ff;
|
||||
}
|
||||
|
||||
.header-btn-secondary:hover {
|
||||
background-color: #0084ff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.header-btn-primary {
|
||||
background-color: #0084ff;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.header-btn-primary:hover {
|
||||
background-color: #0073e6;
|
||||
}
|
||||
|
||||
/* Main content wrapper */
|
||||
.main-content {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding: 20px;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.container {
|
||||
background-color: white;
|
||||
border-radius: 8px;
|
||||
background-color: var(--white);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
max-width: 1000px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
gap: var(--space-4);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* --- Image section --- */
|
||||
|
||||
.image-section {
|
||||
flex: 1;
|
||||
background-color: #e8f4f8;
|
||||
background-color: var(--butter-light);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -104,6 +44,9 @@ body {
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
|
||||
/* --- Form section --- */
|
||||
|
||||
.form-section {
|
||||
flex: 1;
|
||||
padding: 40px;
|
||||
@@ -112,112 +55,130 @@ body {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Formularelemente */
|
||||
h1 {
|
||||
color: #333;
|
||||
margin-bottom: 20px;
|
||||
color: var(--black);
|
||||
margin-bottom: var(--space-4);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.info-box {
|
||||
background-color: #e8f4f8;
|
||||
border-left: 4px solid #0084ff;
|
||||
padding: 15px;
|
||||
margin-bottom: 30px;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
/* --- Form elements --- */
|
||||
|
||||
.form-group {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
margin-bottom: var(--space-1);
|
||||
color: var(--black);
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="password"] {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
font-size: 14px;
|
||||
padding: var(--space-2);
|
||||
border: 2px solid var(--olive-light);
|
||||
border-radius: var(--radius-md);
|
||||
font-size: 0.9rem;
|
||||
font-family: var(--font-main);
|
||||
transition: border-color 0.3s ease;
|
||||
font-family: Arial, sans-serif;
|
||||
background: var(--white);
|
||||
color: var(--black);
|
||||
}
|
||||
|
||||
input:focus {
|
||||
outline: none;
|
||||
border-color: #0084ff;
|
||||
box-shadow: 0 0 5px rgba(0, 132, 255, 0.3);
|
||||
border-color: var(--olive);
|
||||
box-shadow: 0 0 5px rgba(107, 107, 5, 0.25);
|
||||
}
|
||||
|
||||
button {
|
||||
button[type="submit"] {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
background-color: #0084ff;
|
||||
color: white;
|
||||
padding: var(--space-2);
|
||||
background-color: var(--olive);
|
||||
color: var(--white);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-main);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
margin-top: 10px;
|
||||
transition: background-color 0.3s ease, transform 0.2s ease;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: #0073e6;
|
||||
button[type="submit"]:hover {
|
||||
background-color: var(--olive-dark);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
button:active {
|
||||
background-color: #0063cc;
|
||||
button[type="submit"]:active {
|
||||
background-color: var(--olive-dark);
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Hilfstexte & Fehler */
|
||||
.signup-hint, .login-hint {
|
||||
|
||||
/* --- Info box --- */
|
||||
|
||||
.info-box {
|
||||
background-color: var(--butter-light);
|
||||
border-left: 4px solid var(--olive);
|
||||
padding: var(--space-3);
|
||||
margin-bottom: var(--space-6);
|
||||
border-radius: 4px;
|
||||
font-size: 0.9rem;
|
||||
color: var(--black);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
|
||||
/* --- Hints & errors --- */
|
||||
|
||||
.signup-hint,
|
||||
.login-hint {
|
||||
text-align: center;
|
||||
margin-top: 20px;
|
||||
color: #666;
|
||||
font-size: 14px;
|
||||
margin-top: var(--space-4);
|
||||
color: var(--black);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.signup-hint a, .login-hint a {
|
||||
color: #0084ff;
|
||||
.signup-hint a,
|
||||
.login-hint a {
|
||||
color: var(--olive);
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.signup-hint a:hover, .login-hint a:hover {
|
||||
.signup-hint a:hover,
|
||||
.login-hint a:hover {
|
||||
text-decoration: underline;
|
||||
color: var(--olive-dark);
|
||||
}
|
||||
|
||||
.error-message {
|
||||
color: #d32f2f;
|
||||
font-size: 13px;
|
||||
color: var(--tomato);
|
||||
font-size: 0.8rem;
|
||||
margin-top: 5px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.form-group.has-error input {
|
||||
border-color: #d32f2f;
|
||||
box-shadow: 0 0 5px rgba(211, 47, 47, 0.3);
|
||||
border-color: var(--tomato);
|
||||
box-shadow: 0 0 5px rgba(212, 75, 36, 0.3);
|
||||
}
|
||||
|
||||
.form-group.has-error .error-message {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Modal / Popup Styles */
|
||||
|
||||
/* --- Modal / Popup --- */
|
||||
|
||||
.modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -242,9 +203,9 @@ button:active {
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
background-color: white;
|
||||
background-color: var(--white);
|
||||
padding: 40px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
||||
max-width: 500px;
|
||||
width: 90%;
|
||||
@@ -259,12 +220,12 @@ button:active {
|
||||
|
||||
.modal-header {
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: var(--space-4);
|
||||
}
|
||||
|
||||
.modal-header h2 {
|
||||
color: #0084ff;
|
||||
font-size: 24px;
|
||||
color: var(--olive);
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.close-btn {
|
||||
@@ -272,7 +233,7 @@ button:active {
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-size: 28px;
|
||||
color: #999;
|
||||
color: var(--black);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
@@ -284,19 +245,57 @@ button:active {
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
color: var(--black);
|
||||
font-size: 1rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 30px;
|
||||
margin-bottom: var(--space-6);
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
gap: var(--space-2);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
/* Responsive Anpassungen */
|
||||
.btn-primary {
|
||||
padding: var(--space-2) var(--space-5);
|
||||
background-color: var(--olive);
|
||||
color: var(--white);
|
||||
border: none;
|
||||
border-radius: var(--radius-pill);
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
font-family: var(--font-main);
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: var(--olive-dark);
|
||||
}
|
||||
|
||||
|
||||
/* --- Footer --- */
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: var(--space-3) var(--space-5);
|
||||
border: none;
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.footer__link {
|
||||
color: var(--black);
|
||||
text-decoration: underline;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
|
||||
/* --- Responsive --- */
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.container {
|
||||
flex-direction: column;
|
||||
@@ -305,19 +304,4 @@ button:active {
|
||||
.image-section {
|
||||
min-height: 300px;
|
||||
}
|
||||
|
||||
.header {
|
||||
flex-direction: column;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.header-buttons {
|
||||
width: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.header-btn {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user