-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
99 lines (82 loc) · 1.42 KB
/
responsive.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/* Responsive styling */
@media (max-width: 768px) {
nav {
flex-direction: column;
}
.hamburger-menu {
display: block;
}
.nav-links {
flex-direction: column;
min-height: 100vh;
position: fixed;
top: 0;
right: -100%;
width: 100%;
background-color: var(--color-white);
transition: 0.5s;
justify-content: center;
z-index: 999;
}
nav .nav-links a {
padding: 1rem 0;
}
nav .nav-links .close-button {
display: block;
}
button {
padding: 15px 24px;
background-color: var(--color-black);
color: var(--color-white);
border-radius: 5px;
}
.hero {
flex-direction: column;
padding: 0;
gap: 40px;
}
.hero .hero_left_content h1 {
font-size: 56px;
}
.hero-right img {
margin-top: 20px;
}
/* brands */
.brands {
gap: 30px;
justify-content: space-around;
}
/* skills section */
.skills_section {
flex-direction: column;
}
.skill_card {
flex-direction: column;
padding: 4px 0;
margin-bottom: 30px;
text-align: left;
align-items: start;
}
.skill_card h3 {
font-size: 24px;
margin-top: 20px;
}
/* gallery */
.gallery {
grid-template-columns: repeat(1, 1fr);
}
/* footer */
.footer {
flex-direction: column;
padding: 20px 0;
gap: 40px;
}
.footer-left {
flex: 1;
}
.footer-right {
flex: 1;
padding: 0;
width: 100%;
}
}