Skip to content

Commit 2378d9f

Browse files
committed
navbar bugfixes
1 parent abd4840 commit 2378d9f

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2>Web-Developer</h2>
3333
<section class="contentSection" id="section1">
3434
<h2 class="sectionHeading">Über Mich</h2>
3535
<p class="infotext">
36-
Ich programmiere seit 2024 Webseiten mit HTML, CCC und JavaScript. 2025
36+
Ich programmiere seit 2024 Webseiten mit HTML, CSS und JavaScript. 2025
3737
habe ich auch angefangen mit node.js Webserver und Backends zu
3838
programmieren.
3939
</p>

style.css

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ header {
3030

3131
position: absolute;
3232
display: flex;
33+
flex-direction: row;
3334

3435
border-radius: 30px;
3536

@@ -38,6 +39,7 @@ header {
3839
.navbarFixed {
3940
position: fixed;
4041
display: flex;
42+
flex-direction: row;
4143

4244
top: 0px;
4345
left: 0px;
@@ -73,16 +75,25 @@ header {
7375
border: none;
7476
visibility: hidden;
7577
}
78+
.linkContainer {
79+
width: calc(100% - 100px);
80+
display: flex;
81+
flex-direction: row;
82+
align-content: center;
83+
justify-content: space-between;
84+
}
7685
.navbarLink {
77-
height: 60px;
86+
height: 60px !important;
7887
margin: 0 20px 0 20px;
7988

89+
display: flex;
8090
align-content: center;
8191
z-index: 16;
8292

8393
text-decoration: none;
8494
font-weight: 600;
8595
font-size: 24px;
96+
line-height: 60px;
8697

8798
transition: 500ms;
8899
}

0 commit comments

Comments
 (0)