File tree Expand file tree Collapse file tree 3 files changed +80
-13
lines changed
Expand file tree Collapse file tree 3 files changed +80
-13
lines changed Original file line number Diff line number Diff line change 1+ .navbar-uncompressed {
2+ position : fixed;
3+ top : 0 ;
4+ width : 100% ;
5+ z-index : 9999 ;
6+ background-color : rgba (9 , 3 , 15 , 0.9 );
7+
8+ }
9+
10+
111.navbar {
212 padding : 0.5em ;
313 display : flex;
1525 padding : 1em ;
1626 color : var (--default-font-color );
1727 text-decoration : none;
18- /* background-image:none; */
1928 transition : all 0.5s ease-in-out;
20-
29+
2130}
2231
2332.nav-link : hover {
3342
3443.navbar > li {
3544 align-self : center;
45+ }
46+
47+ .navbar-compressed {
48+ display : none;
49+ position : fixed;
50+ top : 0 ;
51+ width : 100% ;
52+ z-index : 9999 ;
53+ background-color : rgb (38 , 26 , 50 );
54+
55+ }
56+
57+ .nav-header-menu {
58+ padding : 0.5em ;
59+ }
60+
61+ .nav-menu {
62+ margin-top : 0 ;
63+ padding-left : 0 ;
64+ height : 70vh ;
65+ }
66+
67+ .nav-element {
68+ text-align : center;
69+ padding : 0.5em ;
70+ transition : all 0.5s ease-in-out;
71+ }
72+
73+ .nav-element : hover {
74+ background-color : rgb (36 , 28 , 45 );
75+ }
76+
77+ .nav-link .compressed {
78+ padding : 0 ;
3679}
Original file line number Diff line number Diff line change 6767 color : var (--default-secundary-font-color );
6868}
6969
70- nav {
71- position : fixed;
72- top : 0 ;
73- width : 100% ;
74- z-index : 9999 ;
75- background-color : rgba (9 , 3 , 15 , 0.9 );
76-
77- }
7870
7971/* || UTILITIES */
8072
10395 font-size : 2rem ;
10496
10597}
106- .centered-article {
98+
99+ .centered-article {
107100 display : flex;
108101 flex-direction : column;
109102 justify-content : center;
@@ -232,6 +225,12 @@ nav {
232225 max-width : 85% ;
233226 }
234227
228+ .navbar {
229+ display : none !important ;
230+ }
231+ .navbar-compressed {
232+ display : block !important ;
233+ }
235234 section ,
236235 footer {
237236 width : 83% ;
@@ -246,7 +245,12 @@ nav {
246245 : root {
247246 font-size : 10px ;
248247 }
249-
248+ .navbar {
249+ display : none !important ;
250+ }
251+ .navbar-compressed {
252+ display : block !important ;
253+ }
250254 p {
251255 max-width : 90% ;
252256 }
Original file line number Diff line number Diff line change 4141
4242< body >
4343 < header >
44- < nav >
44+ < nav class =" navbar-uncompressed " >
4545 < ul class ="navbar ">
4646 < li id ="home "> < a href ="# " class ="icon-link "> < i class ="fa fa-house fa-lg "> </ i > </ a > </ li >
4747 < li >
5151 </ li >
5252 </ ul >
5353 </ nav >
54+ < nav class ="navbar-compressed ">
55+ < div class ="nav-header-menu ">
56+ < a href ="# " class ="icon-link "> < i class ="fa fa-bars fa-lg "> </ i > </ a >
57+ </ div >
58+ < ul class ="nav-menu ">
59+ < li class ="nav-element ">
60+ < a class ="nav-link compressed " href ="# "> < h2 > Home</ h2 > </ a >
61+ </ li >
62+ < li class ="nav-element ">
63+ < a class ="nav-link compressed " href ="#aboutMe "> < h2 > About me</ h2 > </ a >
64+ </ li >
65+ < li class ="nav-element ">
66+ < a class ="nav-link compressed " href ="#work "> < h2 > Work</ h2 > </ a >
67+ </ li >
68+ < li class ="nav-element ">
69+ < a class ="nav-link compressed " href ="#contact "> < h2 > Contact</ h2 > </ a >
70+ </ li >
71+
72+ </ ul >
73+ </ nav >
5474 </ header >
5575 < section >
5676 < div class ="presentation centered-article ">
You can’t perform that action at this time.
0 commit comments