Skip to content

Commit

Permalink
header
Browse files Browse the repository at this point in the history
  • Loading branch information
nor0x committed Sep 12, 2024
1 parent 9013c1a commit 4c1aea6
Showing 2 changed files with 49 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WahlGPT.Web/Pages/Home.razor
Original file line number Diff line number Diff line change
@@ -11,6 +11,13 @@
<!-- Header -->
<section id="header">
<div class="inner">
<nav class="top-menu">
<ul>
<li><a onclick="getElementById('two').scrollIntoView({ behavior: 'smooth' })">So funktioniert's</a></li>
<li> | </li>
<li><a onclick="getElementById('footer').scrollIntoView({ behavior: 'smooth' })">Support</a></li>
</ul>
</nav>
<img class="welcome-icon" src="images/header-img.png" />
<h1>
Willkommen zu <strong>WahlGPT</strong>
42 changes: 42 additions & 0 deletions WahlGPT.Web/wwwroot/css/app.css
Original file line number Diff line number Diff line change
@@ -13,6 +13,34 @@
margin-bottom: -2rem;
}

.top-menu {
margin-top: 4rem;
margin-bottom: 4rem;
}

#header {
padding-top: 0 !important;
}

.top-menu ul {
list-style: none;
display: flex;
margin: 0 auto;
text-align: center;
justify-content: right;
margin-right: 4rem;
padding: 0;
gap: 0.5rem;
margin-top: -2rem;
margin-bottom: 2rem;
}

.top-menu li {
text-align: center;
padding: 0;
cursor: pointer;
}

.action li {
width: 100%;
}
@@ -359,4 +387,18 @@ code {
.header-info-text {
width: 80% !important;
}

.top-menu ul {
list-style: none;
display: flex;
margin: 0 auto;
text-align: center;
justify-content: center;
margin-right: 0;
padding: 0;
gap: 0.5rem;
margin-top: -2rem;
margin-bottom: 2rem;
}

}

0 comments on commit 4c1aea6

Please sign in to comment.