Skip to content

Commit 493e3a3

Browse files
committed
move styles, fix assets
1 parent 095c174 commit 493e3a3

File tree

2 files changed

+309
-294
lines changed

2 files changed

+309
-294
lines changed

assets/css/custom.css

Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
body {
2+
font-size: 18px;
3+
}
4+
5+
body p {
6+
padding: 0;
7+
margin: 0;
8+
}
9+
10+
h1 {
11+
font-size: 1.5em;
12+
}
13+
14+
h2, h3 {
15+
text-align: center;
16+
font-size: 2em;
17+
padding: 40px 0;
18+
}
19+
20+
h3 {
21+
font-size: 1.5em;
22+
color: darkgray;
23+
}
24+
25+
.wrapper {
26+
max-width: 900px;
27+
margin: 0 auto;
28+
}
29+
30+
.clearfix {
31+
content: "";
32+
display: table;
33+
clear: both;
34+
}
35+
36+
.main-content .one-in-row p {
37+
text-align: left;
38+
}
39+
40+
.three-in-row > div > img {
41+
max-width: 170px;
42+
border-radius: 100%;
43+
display: inline-block width: 170px;
44+
height: 170px;
45+
}
46+
47+
.keeper-name {
48+
display: block;
49+
font-weight: bold;
50+
}
51+
52+
.keeper-role {
53+
color: gray;
54+
display: block;
55+
}
56+
57+
.keeper-contacts {
58+
display: block;
59+
}
60+
61+
.head {
62+
color: white;
63+
height: 300px;
64+
text-shadow: black 2px 2px;
65+
font-size: 2em;
66+
padding: 0 20px;
67+
}
68+
69+
.main-content {
70+
padding: 0 0 80px 0;
71+
}
72+
73+
.main-content p {
74+
text-align: center;
75+
}
76+
77+
.five-in-row, .four-in-row, .two-in-row, .three-in-row {
78+
display: -ms-flexbox;
79+
display: -webkit-flex;
80+
display: flex;
81+
-webkit-flex-direction: row;
82+
-ms-flex-direction: row;
83+
flex-direction: row;
84+
-webkit-flex-wrap: wrap;
85+
-ms-flex-wrap: wrap;
86+
flex-wrap: wrap;
87+
-webkit-justify-content: center;
88+
-ms-flex-pack: center;
89+
justify-content: center;
90+
-webkit-align-content: stretch;
91+
-ms-flex-line-pack: stretch;
92+
align-content: stretch;
93+
-webkit-align-items: stretch;
94+
-ms-flex-align: stretch;
95+
align-items: stretch;
96+
align-items: stretch;
97+
}
98+
99+
.flex-centerize-items {
100+
-webkit-align-content: center;
101+
-ms-flex-line-pack: center;
102+
align-content: center;
103+
-webkit-align-items: center;
104+
-ms-flex-align: center;
105+
align-items: center;
106+
}
107+
108+
.five-in-row >div, .four-in-row >div , .two-in-row > div, .three-in-row > div {
109+
-webkit-order: 0;
110+
-ms-flex-order: 0;
111+
order: 0;
112+
-webkit-flex: 0 1 auto;
113+
-ms-flex: 0 1 auto;
114+
flex: 0 1 auto;
115+
-webkit-align-self: auto;
116+
-ms-flex-item-align: auto;
117+
align-self: auto;
118+
text-align: center;
119+
}
120+
121+
.two-in-row > div, .three-in-row > div {
122+
width: 300px;
123+
padding: 0 40px 60px 40px;
124+
}
125+
126+
.two-in-row > div {
127+
width: 450px;
128+
padding: 0 20px 60px 20px;
129+
}
130+
131+
.four-in-row >div {
132+
width: 225px;
133+
padding: 0 20px 10px 20px;
134+
}
135+
136+
.five-in-row >div {
137+
width: 180px;
138+
padding: 0 10px 10px 10px;
139+
}
140+
141+
.five-in-row >div h3 {
142+
padding: 5px 0;
143+
}
144+
145+
.three-in-row >div h3 {
146+
padding: 10px 0;
147+
}
148+
149+
.description {
150+
padding: 0 60px;
151+
}
152+
153+
.ico-telegram {
154+
display: inline-block;
155+
width: 48px;
156+
height: 48px;
157+
background: center center no-repeat;
158+
background-size: cover;
159+
overflow: hidden;
160+
color: transparent;
161+
}
162+
163+
.ico-discord {
164+
display: inline-block;
165+
width: 54px;
166+
height: 54px;
167+
background: center center no-repeat;
168+
background-size: cover;
169+
overflow: hidden;
170+
color: transparent;
171+
}
172+
173+
.ico-github {
174+
display: inline-block;
175+
width: 64px;
176+
height: 64px;
177+
/* TODO: fix icon: download, crop, remove the hack with background-position-y */
178+
background: url(https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png) center center no-repeat;
179+
background-position-y: 7px;
180+
background-size: cover;
181+
overflow: hidden;
182+
color: transparent;
183+
}
184+
185+
.extra-wrapper {
186+
background: top center no-repeat;
187+
background-size: cover;
188+
}
189+
190+
.extra-wrapper.footer {
191+
background-image: none;
192+
}
193+
194+
.extra-wrapper .content {
195+
max-width: 900px;
196+
margin: 0 auto;
197+
padding-top: 0.5em;
198+
}
199+
200+
.extra-wrapper .content.head {
201+
padding-top: 1.25em;
202+
}
203+
204+
.sponsors > div {
205+
overflow: hidden
206+
}
207+
208+
.sponsors img {
209+
max-width: 200px;
210+
max-width: 120px;
211+
}
212+
213+
.footer .content {
214+
font-size: 1.2rem;
215+
}
216+
217+
.footer .content ul {
218+
list-style: none;
219+
}
220+
221+
.footer {
222+
background: #222;
223+
padding: 20px 0;
224+
}
225+
226+
.footer a {
227+
color: white;
228+
}
229+
230+
.footer div {
231+
padding-bottom: 0
232+
}
233+
234+
.badge {
235+
z-index: 1;
236+
top: 0;
237+
position: absolute;
238+
display: block;
239+
overflow: hidden;
240+
width: 13em;
241+
height: 13em;
242+
font-size: 23px;
243+
right: 0;
244+
}
245+
246+
.badge a {
247+
position: absolute;
248+
right: -50%;
249+
bottom: 50%;
250+
left: -50%;
251+
visibility: visible;
252+
-webkit-transform: rotate(45deg);
253+
transform: rotate(45deg);
254+
-webkit-transform-origin: 50% 100%;
255+
transform-origin: 50% 100%;
256+
text-align: center;
257+
color: #fff;
258+
background: #be2f4f;
259+
line-height: 1.9;
260+
}
261+
262+
@media (max-width: 940px) {
263+
.badge {
264+
font-size: 17px;
265+
}
266+
}
267+
268+
@media (max-width: 840px) {
269+
.extra-wrapper .content.head {
270+
padding-top: 0.5em;
271+
}
272+
273+
.badge {
274+
font-size: 15px;
275+
}
276+
}
277+
278+
@media (max-width: 660px) {
279+
h1 {
280+
font-size: 1.3em;
281+
}
282+
283+
.head p {
284+
font-size: 2rem;
285+
}
286+
287+
.extra-wrapper .content.head {
288+
padding-top: 1em;
289+
}
290+
}
291+
292+
@media (max-width: 540px) {
293+
h1 {
294+
font-size: 1rem;
295+
}
296+
297+
h2, h3 {
298+
font-size: 1.5em;
299+
}
300+
301+
.head p {
302+
font-size: 1.7rem;
303+
}
304+
}

0 commit comments

Comments
 (0)