File tree Expand file tree Collapse file tree 1 file changed +12
-116
lines changed
intro-section-with-dropdown-navigation-main/src/scss/utils Expand file tree Collapse file tree 1 file changed +12
-116
lines changed Original file line number Diff line number Diff line change 1
1
@media (min-width : 768px ) {
2
2
header {
3
3
padding : 2rem ;
4
+ position : relative ;
4
5
5
6
.logo {
6
7
width : auto ;
41
42
}
42
43
}
43
44
44
- ul {
45
- @media (min-width : 768px ) {
46
- header {
47
- padding : 2rem ;
48
-
49
- .logo {
50
- width : auto ;
51
- }
52
-
53
- nav {
54
- position : static ;
55
- top : auto ;
56
- right : auto ;
57
- background-color : transparent ;
58
- width : auto ;
59
- padding : 0 ;
60
- min-height : auto ;
61
- transition : none ;
62
- display : flex ;
63
- flex-direction : row ;
64
- align-items : center ;
65
- justify-content : space-between ;
66
- animation : none ;
67
-
68
- .overlay {
69
- display : none ;
70
- }
71
-
72
- .auth {
45
+ ul {
73
46
display : flex ;
74
47
flex-direction : row ;
48
+ gap : 3rem ;
75
49
font-size : 1rem ;
76
- gap : 1rem ;
77
- align-items : center ;
78
- justify-content : center ;
79
- padding-block : 0 ;
80
- position : absolute ;
81
- right : 0 ;
82
-
83
- button {
84
- margin-right : 2rem ;
85
- }
86
- }
87
-
88
- ul {
89
- display : flex ;
90
- flex-direction : row ;
91
- gap : 1rem ;
92
- font-size : 1rem ;
93
- margin-right : 16rem ;
94
- position : relative ;
50
+ margin-right : 30rem ;
95
51
96
52
.menu-icon {
97
53
display : none ;
103
59
104
60
105
61
.leftShift {
106
- right : 1 % ;
62
+ right : 38 % ;
107
63
}
108
64
109
65
ul {
110
- top : 160 % ;
66
+ top : 80 % ;
111
67
width : auto ;
112
68
background-color : $almost-White ;
113
- // position: absolute;
69
+ position : absolute ;
114
70
flex-direction : column ;
71
+ gap : 1rem ;
115
72
border-radius : 9px ;
116
- box-shadow : 0 4 px 8 px rgba (0 , 0 , 0 , 0.1 );
73
+ box-shadow : rgba (0 , 0 , 0 , 0.2 ) 0 px 18 px 50 px -10 px ;
117
74
}
118
75
119
76
.drop {
120
77
display : none ;
121
- }
122
- }
123
- }
124
- }
125
-
126
- .menu-icons {
127
- img {
128
- display : none ;
129
- }
130
- }
131
- }
132
-
133
- main {
134
- display : flex ;
135
- flex-direction : row-reverse ;
136
- padding-left : 3rem ;
137
- padding-right : 3rem ;
138
-
139
- .main-section-texts {
140
- text-align :left ;
141
- h1 {
142
- font-size : 3.8rem ;
143
- }
144
- p {
145
- font-size : 1.5rem ;
146
- }
147
- }
148
-
149
- }
150
- }
151
-
152
- display : flex ;
153
- flex-direction : row ;
154
- gap : 1rem ;
155
- font-size : 1rem ;
156
- // margin-right: 16rem;
157
- position : relative ;
158
-
159
- .menu-icon {
160
- display : none ;
161
- }
162
-
163
- li {
164
- font-size : 1rem ;
165
- padding :0 ;
166
-
167
-
168
- .leftShift {
169
- right : 1% ;
170
- }
171
-
172
- ul {
173
- top : 160% ;
174
- width : auto ;
175
- background-color : $almost-White ;
176
- flex-direction : column ;
177
- border-radius : 9px ;
178
- box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.1 );
179
- }
180
-
181
- // .drop {
182
- // display: none;
183
- // }
78
+ }
184
79
}
185
80
}
186
81
}
194
89
195
90
main {
196
91
display : flex ;
92
+ gap : 5rem ;
197
93
flex-direction : row-reverse ;
198
94
padding-left : 3rem ;
199
95
padding-right : 3rem ;
200
96
201
97
.main-section-texts {
202
98
text-align :left ;
203
99
h1 {
204
- font-size : 3.8 rem ;
100
+ font-size : 3.6 rem ;
205
101
}
206
102
p {
207
103
font-size : 1.5rem ;
You can’t perform that action at this time.
0 commit comments