main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
2.5 KB
|
Line | |
---|
1 | .navbar {
|
---|
2 | background: linear-gradient(90deg, rgb(28, 27, 27) 0%, rgb(26, 23, 23) 100%);
|
---|
3 | height: 80px;
|
---|
4 | display: flex;
|
---|
5 | justify-content: center;
|
---|
6 | align-items: center;
|
---|
7 | font-size: 1.2rem;
|
---|
8 | position: sticky;
|
---|
9 | top: 0;
|
---|
10 | z-index: 999;
|
---|
11 | }
|
---|
12 |
|
---|
13 | .pad-bot {
|
---|
14 | /* padding-bottom: 1.5rem; */
|
---|
15 | }
|
---|
16 |
|
---|
17 | .navbar-container {
|
---|
18 | display: flex;
|
---|
19 | justify-content: center;
|
---|
20 | align-items: center;
|
---|
21 | width: 100%;
|
---|
22 | }
|
---|
23 |
|
---|
24 | .navbar-logo {
|
---|
25 | color: #fff;
|
---|
26 | justify-self: start;
|
---|
27 | margin-left: 20px;
|
---|
28 | cursor: pointer;
|
---|
29 | text-decoration: none;
|
---|
30 | font-size: 2rem;
|
---|
31 | display: flex;
|
---|
32 | align-items: center;
|
---|
33 | }
|
---|
34 |
|
---|
35 | .fa-typo3 {
|
---|
36 | margin-left: 0.5rem;
|
---|
37 | font-size: 1.8rem;
|
---|
38 | }
|
---|
39 |
|
---|
40 | .nav-menu {
|
---|
41 | display: grid;
|
---|
42 | grid-template-columns: repeat(4, auto);
|
---|
43 | grid-gap: 10px;
|
---|
44 | list-style: none;
|
---|
45 | text-align: center;
|
---|
46 | width: 70vw;
|
---|
47 | justify-content: end;
|
---|
48 | margin-right: 2rem;
|
---|
49 | }
|
---|
50 |
|
---|
51 | .nav-item {
|
---|
52 | height: 80px;
|
---|
53 | }
|
---|
54 |
|
---|
55 | .nav-links {
|
---|
56 | color: #fff;
|
---|
57 | display: flex;
|
---|
58 | align-items: center;
|
---|
59 | text-decoration: none;
|
---|
60 | padding: 0.5rem 1rem;
|
---|
61 | height: 100%;
|
---|
62 | }
|
---|
63 |
|
---|
64 | .nav-links:hover {
|
---|
65 | border-bottom: 4px solid #fff;
|
---|
66 | transition: all 0.2s ease-out;
|
---|
67 | }
|
---|
68 |
|
---|
69 | .fa-bars {
|
---|
70 | color: #fff;
|
---|
71 | }
|
---|
72 |
|
---|
73 | .nav-links-mobile {
|
---|
74 | display: none;
|
---|
75 | }
|
---|
76 |
|
---|
77 | .menu-icon {
|
---|
78 | display: none;
|
---|
79 | }
|
---|
80 |
|
---|
81 | @media screen and (max-width: 960px) {
|
---|
82 | .NavbarItems {
|
---|
83 | position: relative;
|
---|
84 | }
|
---|
85 |
|
---|
86 | .nav-menu {
|
---|
87 | display: flex;
|
---|
88 | flex-direction: column;
|
---|
89 | width: 100%;
|
---|
90 | height: 90vh;
|
---|
91 | position: absolute;
|
---|
92 | top: 80px;
|
---|
93 | left: -100%;
|
---|
94 | opacity: 1;
|
---|
95 | transition: all 0.5s ease;
|
---|
96 | }
|
---|
97 |
|
---|
98 | .nav-menu.active {
|
---|
99 | background: #242222;
|
---|
100 | left: 0;
|
---|
101 | opacity: 1;
|
---|
102 | transition: all 0.5s ease;
|
---|
103 | z-index: 1;
|
---|
104 | }
|
---|
105 |
|
---|
106 | .nav-links {
|
---|
107 | text-align: center;
|
---|
108 | padding: 2rem;
|
---|
109 | width: 100%;
|
---|
110 | display: table;
|
---|
111 | }
|
---|
112 |
|
---|
113 | .nav-links:hover {
|
---|
114 | background-color: #fff;
|
---|
115 | color: #242424;
|
---|
116 | border-radius: 0;
|
---|
117 | }
|
---|
118 |
|
---|
119 | .navbar-logo {
|
---|
120 | position: absolute;
|
---|
121 | top: 0;
|
---|
122 | left: 0;
|
---|
123 | transform: translate(25%, 50%);
|
---|
124 | }
|
---|
125 |
|
---|
126 | .menu-icon {
|
---|
127 | display: block;
|
---|
128 | position: absolute;
|
---|
129 | top: 0;
|
---|
130 | right: 0;
|
---|
131 | transform: translate(-100%, 60%);
|
---|
132 | font-size: 1.8rem;
|
---|
133 | cursor: pointer;
|
---|
134 | }
|
---|
135 |
|
---|
136 | .fa-times {
|
---|
137 | color: #fff;
|
---|
138 | font-size: 2rem;
|
---|
139 | }
|
---|
140 |
|
---|
141 | .nav-links-mobile {
|
---|
142 | display: block;
|
---|
143 | text-align: center;
|
---|
144 | margin: 2rem auto;
|
---|
145 | border-radius: 4px;
|
---|
146 | width: 80%;
|
---|
147 | text-decoration: none;
|
---|
148 | font-size: 1.5rem;
|
---|
149 | background-color: transparent;
|
---|
150 | color: #fff;
|
---|
151 | padding: 14px 20px;
|
---|
152 | border: 1px solid #fff;
|
---|
153 | transition: all 0.3s ease-out;
|
---|
154 | }
|
---|
155 |
|
---|
156 | .nav-links-mobile:hover {
|
---|
157 | background: #fff;
|
---|
158 | color: #242424;
|
---|
159 | transition: 250ms;
|
---|
160 | }
|
---|
161 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.