-
Notifications
You must be signed in to change notification settings - Fork 0
/
media-query.css
131 lines (125 loc) · 2.09 KB
/
media-query.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
@media (max-width: 600px) {
nav {
height: 8vh;
padding: 0 6vw;
overflow: initial;
}
nav h1 {
font-size: 3.5vh;
}
.links {
display: none;
}
.links {
position: absolute;
display: flex;
flex-direction: column;
background-color: rgba(52, 52, 50, 0.82);
backdrop-filter: blur(1rem);
-webkit-backdrop-filter: blur(1rem);
-webkit-backdrop-filter: blur(0.5rem);
left: -100%;
z-index: 99;
top: 100%;
width: 100%;
border-radius: 1rem;
padding: 2rem;
transition: 0.2s ease-in-out;
}
.active {
left: 0;
}
#nav-toggle {
display: block;
font-size: 7vw;
font-weight: 700;
}
.page1 {
flex-direction: column;
padding-top: 8vh;
gap: 2rem;
}
.page1 > img {
width: 200px;
height: 200px;
}
.basicInfo h1 {
font-size: 2rem;
}
.basicBtn {
flex-direction: column;
}
.basicBtn #btn1 {
font-size: 1rem;
padding: 0.4rem 0.5rem;
}
.basicBtn #btn2 {
font-size: 1rem;
padding: 0.4rem 0.5rem;
}
.basicIco img {
width: 3.5vh;
}
.page2 {
padding-top: 9vh;
}
.page2 section {
flex-direction: column;
gap: 1rem;
}
section img {
width: 50vw;
}
.aboutHead h1 {
font-size: 5vh;
}
.aboutHead p {
font-size: 2vh;
}
.aboutMe {
padding: 10px;
gap: 1rem;
}
.cards {
flex-direction: column;
padding: 10px;
gap: 1rem;
}
.card {
width: 100%;
min-height: 25vh;
padding: 20px;
}
.aboutMe p {
font-size: 16px;
line-height: normal;
letter-spacing: normal;
}
.page3 {
padding-top: 8vh;
min-height: 150%;
}
.skill-box {
min-height: 100vh;
}
.div-skill-box {
width: 100%;
height: 50vh;
}
.page4 {
flex-direction: column;
padding-top: 9vh;
min-height: 250%;
}
.pro-cards {
flex-wrap: wrap;
}
.pro-card {
width: 100%;
min-height: 70vh;
}
.page5 {
padding-top: 9vh;
height: 100%;
}
}