-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.scss
184 lines (160 loc) · 3.92 KB
/
index.scss
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
html, body {
margin: 0px;
padding: 0px;
width: 100%;
font-size: 20px;
}
a {
color: rgb(61, 134, 245);
text-decoration: none;
&:hover, &:focus {
color: rgb(15, 94, 212);
text-decoration: underline;
}
&:active {
color: rgb(15, 74, 163);
}
&:visited {
color: rgb(163, 82, 15);
}
}
.introduction {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('img/2022_icpc.webp');
background-size: cover;
background-position: 20% 50%;
width: 100%;
min-height: 100vh;
min-height: 100dvh;
.content {
padding: 5rem 3rem 2.5rem 5rem;
@media (max-width: 1024px) {
padding: 4rem 2rem 2rem 3rem
}
@media (max-width: 640px) {
padding: 3rem 1.5rem 15rem 2rem;
}
max-width: 75%;
color: rgb(146, 146, 146);
h1 {
border-left: 0.25em white solid;
padding: 0px 0px 0px 1.15em;
margin: 0px 0px 1em 0px;
font-size: 1.8rem;
.head-letter {
color: white;
}
}
p {
color: white;
}
p.links {
margin-top: 1.5em;
font-size: 1.15em;
a {
color: white;
display: inline-block;
margin-right: 0.75em;
}
}
}
}
header {
background:rgb(85, 85, 85);
color: white;
padding: 3em 0.7em;
h2 {
padding: 0px;
margin: 0px;
font-size: 1.5rem;
text-align: center;
}
.icon {
font-size: 1.2em;
}
}
.activities {
display: flex;
flex-direction: column;
.activity-row {
display: flex;
flex-direction: row;
@media (min-width: 1025px) {
&:nth-child(even) > .activity {
flex-direction: row-reverse;
}
}
@media (max-width: 1024px) {
flex-direction: column;
}
.activity {
flex: 1;
display: flex;
flex-direction: row;
@media (max-width: 640px) {
flex-direction: column;
.image {
flex: initial !important;
height: min(15rem, 50vh);
}
}
.description {
flex: 1 1 0;
padding: 2.5rem;
h3 {
font-size: 1.5rem;
padding-left: 1rem;
border-left: 5px solid black;
}
}
.image {
flex: 2 1 0;
background-size: cover;
&#first-image {
background-image: url('img/2022_cosmos_camp.webp');
}
&#second-image {
background-image: url('img/2022_icpc_2.webp');
background-position-y: top;
}
&#third-image {
background-image: url('img/2022_cpc.webp');
}
&#fourth-image {
background-image: url('img/baekjon_scoreboard.webp');
}
}
}
}
}
.join-us {
text-align: center;
padding: 3em 1em;
width: 100%;
box-sizing: border-box;
.contacts {
margin-top: 1.5em;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
gap: 2em;
.contact {
.icon {
font-size: 2.5em;
margin-bottom: 0.25em;
}
width: max-content;
}
}
}
footer {
background-color: rgb(196, 196, 196);
padding: 3rem 6rem;
@media (max-width: 1024px) {
padding: 2rem 4rem;
}
@media (max-width: 640px) {
padding: 1rem 3rem;
}
color:rgb(56, 56, 56);
}