-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsection2.css
More file actions
109 lines (92 loc) · 2.24 KB
/
Copy pathsection2.css
File metadata and controls
109 lines (92 loc) · 2.24 KB
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
.section2 {
max-width: var(--width);
margin-inline: auto;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 6rem;
background: url("/section2/sun.png");
background-repeat: no-repeat;
background-position: 50% 100%;
height: 100vh;
.sectionHeader {
text-align: center;
text-wrap: pretty;
h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
p {
font-size: 1.225rem;
font-weight: 500;
color: var(--gray);
}
}
.slideCon {
display: flex;
gap: 10rem;
width: 100vw;
translate: none;
rotate: none;
scale: none;
&> :first-child {
margin-left: 15rem;
}
&>div {
/*width: 100vw;*/
display: flex;
flex-shrink: 0;
justify-content: center;
align-items: center;
gap: 5rem;
&>div {
max-width: 534px;
h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 1rem;
}
p {
font-size: 1rem;
line-height: 1.5rem;
font-weight: 500;
color: var(--gray);
}
}
}
}
}
@media screen and (max-width: 768px) {
.section2 {
height: 100%;
padding-bottom: 6rem;
.sectionHeader {
p {
padding-inline: 1.5rem;
text-wrap: pretty;
br {
display: none;
}
}
}
.slideCon {
flex-direction: column;
background-position: 50% 0%;
gap: 4rem;
&> :first-child {
margin-left: 0;
}
.slideItem {
flex-direction: column-reverse;
text-align: center;
padding-inline: 1rem;
gap: 2rem;
img {
max-width: 80vw;
}
}
}
}
}