File tree 5 files changed +105
-6
lines changed
5 files changed +105
-6
lines changed Original file line number Diff line number Diff line change 1
- < nav class ="navbar navbar-expand-lg navbar-light bg-light navbar-default ">
2
- < div class ="container-fluid ">
3
-
1
+ < nav class ="navbar navbar-expand-lg fixed-top border-bottom ">
2
+ < div class ="container-fluid justify-content-center ">
4
3
< div class ="navbar-header ">
5
4
< a href ="index.html ">
6
5
< img class ="navbar-brand page-scroll navbar-logo " src ="img/techAachen_Logo.svg " alt ="TechAachen Logo " title ="TechAachen Logo ">
20
19
< a class ="nav-item nav-link aktive " href ="contact.html "> Kontakt</ a >
21
20
</ div >
22
21
</ div >
23
- </ div >
22
+ </ div >
24
23
</ nav >
Original file line number Diff line number Diff line change 5
5
6
6
< body id ="page-top " class ="bg-light ">
7
7
8
- {% include nav-page .html %}
8
+ {% include navbar .html %}
9
9
< div class ="container ">
10
10
11
11
Original file line number Diff line number Diff line change
1
+ .navbar-default {
2
+ background-color : white ;
3
+ border-color : rgba ($theme-dark , .5 );
4
+ @include sans-serif-font ;
5
+ @include transition-all ;
6
+ .navbar-header .navbar-brand {
7
+ color : $theme-primary ;
8
+ @include sans-serif-font ;
9
+ font-weight : 700 ;
10
+ text-transform : uppercase ;
11
+ & :hover ,
12
+ & :focus {
13
+ color : darken ($theme-primary , 10% );
14
+ }
15
+ }
16
+ .nav {
17
+ > li {
18
+ > a ,
19
+ > a :focus {
20
+ text-transform : uppercase ;
21
+ font-weight : 700 ;
22
+ font-size : 13px ;
23
+ color : $theme-dark ;
24
+ & :hover {
25
+ color : $theme-primary ;
26
+ }
27
+ }
28
+ & .active {
29
+ > a ,
30
+ > a :focus {
31
+ color : $theme-primary !important ;
32
+ background-color : transparent ;
33
+ & :hover {
34
+ background-color : transparent ;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ @media (min-width : 768px ) {
41
+ background-color : transparent ;
42
+ border-color : rgba (white , .3 );
43
+ .navbar-header .navbar-brand {
44
+ color : rgba ($theme-lightgrey , .7 );
45
+ & :hover ,
46
+ & :focus {
47
+ color : $theme-primary ;
48
+ }
49
+ }
50
+ .nav > li > a ,
51
+ .nav > li > a :focus {
52
+ color : rgba ($theme-lightgrey , .7 );
53
+ & :hover {
54
+ color : $theme-darkgrey ;
55
+ }
56
+ }
57
+ & .affix {
58
+ background-color : white ;
59
+ border-color : rgba ($theme-dark , .5 );
60
+ .navbar-header .navbar-brand {
61
+ color : $theme-primary ;
62
+ font-size : 14px ;
63
+ & :hover ,
64
+ & :focus {
65
+ color : darken ($theme-primary , 10% );
66
+ }
67
+ }
68
+ .nav > li > a ,
69
+ .nav > li > a :focus {
70
+ color : $theme-dark ;
71
+ & :hover {
72
+ color : $theme-primary ;
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ .navbar-logo {
80
+ padding-top : 5px ;
81
+ padding-bottom : 10px ;
82
+ }
Original file line number Diff line number Diff line change
1
+ .navbar {
2
+ background-color : inherit ;
3
+ .nav-link {
4
+ color : $theme-darkgrey ;
5
+
6
+ & :hover {
7
+ color : $theme-primary ;
8
+ }
9
+ }
10
+ .navbar-brand {
11
+ color : $theme-darkgrey ;
12
+ }
13
+ .navbar-logo {
14
+ padding-top : 5px ;
15
+ padding-bottom : 10px ;
16
+ width : 5% ;
17
+ }
18
+ }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ $fa-font-path: "../font-awesome/fonts";
11
11
@import " mixins" ;
12
12
13
13
@import " base" ;
14
+ @import " navbar" ;
14
15
@import " button" ;
15
16
@import " header" ;
16
17
@import " section" ;
17
- @import " navbar-old" ;
You can’t perform that action at this time.
0 commit comments