This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.css
134 lines (116 loc) · 2.25 KB
/
index.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
132
133
134
.card {
width: 17rem;
margin: 0.5rem;
flex-shrink: 0;
}
.action {
max-width: 15rem;
width: 90%;
margin: 0.5rem auto;
}
.abouttext,
.intouchtext {
padding: 5%;
margin: auto;
}
#viewall-events:checked+.card-container>.card:nth-child(n + 4) {
display: grid;
}
#viewall-events:not(:checked)+.card-container>.card:nth-child(n + 4) {
display: none;
}
#viewall-events:checked+.card-container>.show-collapsed {
display: none;
}
#viewall-events:not(:checked)+.card-container>.show-expanded {
display: none;
}
.sponsor>h1 {
color: var(--green);
margin-bottom: 0;
}
.sponsor {
padding-bottom: 1rem;
}
.intouchtext>form>.action {
width: auto;
}
.intouchtext>form>#newsletter {
height: 2.3rem;
font-size: 1rem;
padding: 0.5rem;
font-family: Instruction, sans-serif;
}
.duo>img {
max-height: 100%;
max-width: 100%;
object-fit: cover;
object-position: center;
}
#recruit {
position: absolute;
transform: translateY(-100%);
width: 100%;
z-index: 1;
background-color: rgba(255, 255, 255, 0.8);
}
/* non-phone */
@media screen and (min-width: 590px) {
h1 {
font-size: 3rem;
}
.action {
max-width: 38rem;
}
.card-container {
flex-wrap: wrap;
justify-content: center;
padding: 0;
}
.intouchtext>form>#newsletter {
margin-right: 0.5rem;
flex-grow: 1;
}
/* .intouchtext > h1 {
margin: 0.5rem 0;
} */
}
/* phone */
@media screen and (max-width: 589px) {
.intouchtext>form {
flex-wrap: wrap;
width: 100%;
justify-content: center;
max-width: 18rem;
margin: auto;
}
.intouchtext>form>#newsletter {
width: 90%;
margin: auto;
}
h1 {
font-size: 2rem;
text-align: center;
}
.duo>div>h1 {
background-color: white;
border-radius: 1rem 1rem 0 0;
margin: 1rem auto;
padding-top: 0.5rem;
width: 14rem;
}
.duo {
margin-bottom: -3rem;
grid-template-rows: 1fr 1fr;
}
.duo>div {
grid-area: bottom;
transform: translateY(-4rem);
}
.duo>img {
grid-area: top;
}
footer {
margin: 2rem 0 0 0;
}
}