Skip to content

Commit 4f322cd

Browse files
authored
Merge pull request #36 from jen67/newapp
added some codes
2 parents 05bb743 + d0a736c commit 4f322cd

File tree

1 file changed

+12
-116
lines changed

1 file changed

+12
-116
lines changed

intro-section-with-dropdown-navigation-main/src/scss/utils/_responsive.scss

Lines changed: 12 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@media (min-width: 768px) {
22
header {
33
padding: 2rem;
4+
position: relative;
45

56
.logo {
67
width: auto;
@@ -41,57 +42,12 @@
4142
}
4243
}
4344

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 {
7346
display: flex;
7447
flex-direction: row;
48+
gap: 3rem;
7549
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;
9551

9652
.menu-icon {
9753
display: none;
@@ -103,84 +59,23 @@
10359

10460

10561
.leftShift {
106-
right: 1%;
62+
right: 38%;
10763
}
10864

10965
ul {
110-
top: 160%;
66+
top: 80%;
11167
width: auto;
11268
background-color: $almost-White;
113-
// position: absolute;
69+
position: absolute;
11470
flex-direction: column;
71+
gap: 1rem;
11572
border-radius: 9px;
116-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
73+
box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
11774
}
11875

11976
.drop {
12077
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+
}
18479
}
18580
}
18681
}
@@ -194,14 +89,15 @@
19489

19590
main{
19691
display: flex;
92+
gap: 5rem;
19793
flex-direction: row-reverse;
19894
padding-left: 3rem;
19995
padding-right: 3rem;
20096

20197
.main-section-texts{
20298
text-align:left;
20399
h1{
204-
font-size: 3.8rem;
100+
font-size: 3.6rem;
205101
}
206102
p{
207103
font-size: 1.5rem;

0 commit comments

Comments
 (0)