-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsive.css
101 lines (91 loc) · 1.66 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
100
@media only screen and (max-device-width: 960px) {
/* styles for mobile browsers smaller than 480px; (iPhone) */
#Work span.head {
font-size: 1.75rem;
font-weight: bolder;
}
#Work p.desc {
font-size: 1.25rem;
max-width: 50ch;
text-align: left;
}
.b1 {
border: 2px solid #bf55cc;
font-size: 0.5rem;
}
}
@media only screen and (max-device-width: 700px) {
#Work span.head {
font-size: 1.75rem;
font-weight: bolder;
}
#Work p.desc {
font-size: 1.25rem;
max-width: 50ch;
text-align: left;
}
.b1 {
border: 2px solid #bf55cc;
font-size: 0.5rem;
}
section#Connect .trancBG {
grid-template-areas:
"."
"info"
"."
"contact"
"."
;
grid-template-columns: 100%;
height: 80%;
}
}
@media only screen and (max-device-width: 480px) {
section#Work {
grid-template-columns: 80vw ;
gap:5vw;
grid-template-areas:
"img1 "
"proj"
"."
"img2"
"proj1"
"."
"img3 "
"proj2"
;
align-content: center;
justify-items: center;
row-gap: 2vw;
row-gap: 2.5vw;
justify-content: center;
align-items: center;
opacity: 0;
text-align: center;
}
#Work .img1 img,
#Work .img2 img,
#Work .img3 img {
height: 60%;
width: 60%;
border: rgb(73, 71, 71) 1px solid;
}
#Work span.head {
font-size: 1.5rem;
font-weight: bolder;
}
#Work p.desc {
font-size: 1rem;
max-width: 50ch;
text-align: left;
}
section#Connect .trancBG .info .head {
font-size: 1.5rem;
}
section#Connect .trancBG .contact .head {
font-size: 1.5rem;
}
section#Connect .trancBG .info .desc {
font-size: 0.85rem;
}
}