Globales stylesheet verknüpft, Navigation auf allen Seiten angepasst

This commit is contained in:
«schmona» 2026-03-30 22:12:06 +02:00
parent ddd294dd79
commit cba0ab45ba
7 changed files with 87 additions and 71 deletions

View File

@ -123,8 +123,8 @@ p {
display: flex;
justify-content: space-between;
align-items: center;
min-height: 3.625rem;
padding: 0.1875rem 0.5625rem 0.1875rem var(--space-5);
min-height: 3rem;
padding: 0.1875rem 0.75rem 0.1875rem var(--space-5);
max-width: none;
width: 100%;
box-sizing: border-box;
@ -144,10 +144,31 @@ p {
display: block;
}
.button-small-links {
.nav-tab {
color: var(--black);
font-size: 1.125rem;
font-weight: 500;
letter-spacing: var(--ls-sm);
line-height: 1;
text-decoration: none;
}
.nav-tab:hover, .nav-tab:active,
.nav-tab:focus-visible {
text-decoration: underline;
text-underline-offset: 4px;
}
.button-small:hover, .button-small:active,
.button-small:focus-visible {
background: var(--olive-dark);
color: var(--black);
}
.nav-tab-links {
display: flex;
align-items: center;
gap: var(--space-1);
gap: var(--space-5);
}
@ -169,8 +190,10 @@ p {
background-color: var(--olive-dark);
}
.button-small {
color: var(--black);
background: var(--olive);
color: var(--butter-light);
font-size: 1.125rem;
font-weight: 500;
letter-spacing: var(--ls-sm);
@ -183,22 +206,8 @@ p {
.button-small:hover, .button-small:active,
.button-small:focus-visible {
background: var(--olive-light);
color: var(--black);
}
.button-login {
background: var(--olive);
background: var(--olive-dark);
color: var(--butter-light);
font-size: 1.125rem;
font-weight: 500;
letter-spacing: var(--ls-sm);
line-height: 1;
text-decoration: none;
padding: var(--space-1) var(--space-4);
border-radius: var(--radius-md);
}
.profile-pill {

View File

@ -9,26 +9,26 @@
<link rel="stylesheet" href="css/event_create.css" />
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="css/stylesheet_global.css">
</head>
<body>
<!-- Top navigation: global entry points and current page indicator -->
<!-- Top Navigation mit Seitenlinks -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link active" href="event_overview.html" aria-current="page">Event finden</a>
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="profile-pill" href="login.html" aria-label="Profil">M</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>
<main class="event-create-page">
<section class="event-flow-header" aria-label="Event erstellen Aktionen">
<a href="event_overview.html" class="button button--ghost">Abbrechen</a>
</section>
<form id="eventForm" class="event-form" novalidate>

View File

@ -4,23 +4,24 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Event-Detail</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Jost:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/event_overview.css">
</head>
<body>
<!-- Top navigation: shared with overview, highlights current area -->
<!-- Stylesheet für diese Seite-->
<link rel="stylesheet" href="css/event_overview.css">
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="css/stylesheet_global.css">
</head>
<body>
<!-- Top Navigation mit Seitenlinks -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link active" href="event_overview.html" aria-current="page">Event finden</a>
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="profile-pill" href="login.html" aria-label="Profil">M</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>

View File

@ -6,23 +6,22 @@
<title>Event-Overview</title>
<!-- Stylesheet für diese Seite-->
<link rel="stylesheet" href="css/stylesheet_global.css">
<link rel="stylesheet" href="css/event_overview.css">
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="stylesheet.css">
<link rel="stylesheet" href="css/stylesheet_global.css">
</head>
<body>
<!-- Top navigation: global entry points and current page indicator -->
<!-- Top Navigation mit Seitenlinks -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link active" href="event_overview.html" aria-current="page">Event finden</a>
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="profile-pill" href="login.html" aria-label="Profil">M</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>

View File

@ -4,23 +4,30 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Invité | Events entdecken</title>
<link rel="stylesheet" href="css/landingpage.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-dU7ZrF1pFq5kVnPzlV9+04YhARzNjCX5Q5P1shgMpuN4s5I8mI8QD4981h7kYtV7sSgNldR0z5pZW5bS2ZpY3Q==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<!-- Header: matches event detail/create with invite logo and pill navigation links -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invité">
</a>
<nav class="top-nav-links" aria-label="Hauptnavigation">
<a class="nav-link" href="event_create.html">Event erstellen</a>
<a class="nav-link nav-link--login" href="login.html">Login</a>
<!-- Stylesheet für diese Seite-->
<link rel="stylesheet" href="css/landingpage.css" />
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="css/stylesheet_global.css">
<!-- Font Awesome
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-dU7ZrF1pFq5kVnPzlV9+04YhARzNjCX5Q5P1shgMpuN4s5I8mI8QD4981h7kYtV7sSgNldR0z5pZW5bS2ZpY3Q==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
</head>
<body>
<!-- Top Navigation mit Seitenlinks -->
<header class="top-nav-wrap">
<div class="top-nav">
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>
</div>
</header>
<main class="main-content">
<!-- Hero: uses .hero, .btn, .image-card, and .hero-image for a polished first impression -->

View File

@ -19,10 +19,10 @@
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="button-small-links" aria-label="Hauptnavigation">
<a class="button-small" href="event_overview.html">Event finden</a>
<a class="button-small" href="event_create.html">Event erstellen</a>
<a class="button-login" href="login.html" aria-label="Profil">Login</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>

View File

@ -9,8 +9,8 @@
<link rel="stylesheet" href="css/login_signup.css">
<!-- Globales Stylesheet -->
<link rel="stylesheet" href="css/stylesheet_global.css">
</head>
<body>
<!-- Top Navigation mit Seitenlinks -->
<header class="top-nav-wrap">
@ -18,10 +18,10 @@
<a class="brand" href="index.html" aria-label="Zur Startseite">
<img src="assets/logo_invite.svg" alt="Invite Logo">
</a>
<nav class="button-small-links" aria-label="Hauptnavigation">
<a class="button-small" href="event_overview.html">Event finden</a>
<a class="button-small" href="event_create.html">Event erstellen</a>
<a class="button-login" href="login.html" aria-label="Profil">Login</a>
<nav class="nav-tab-links" aria-label="Hauptnavigation">
<a class="nav-tab" href="event_overview.html">Event finden</a>
<a class="nav-tab" href="event_create.html">Event erstellen</a>
<a class="button-small" href="login.html" aria-label="Profil">Login</a>
</nav>
</div>
</header>