forked from emilyuhde/cssconfbp17
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
264 lines (221 loc) · 4.75 KB
/
Copy pathstyle.css
File metadata and controls
264 lines (221 loc) · 4.75 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
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
/*
_ _|_ |) o _, |) _ ,_ _
/|/| / \_| |/\ | /|/| / | |/\ |/ / | |/
| |_/\_/ |_/| |/|/ | |_/\/|/ | |/|_/ |/|_/
(|
Do you also miss the CSS?
-> design our site for a day!
send a PR with your styles at
https://github.com/bpweb/cssconfbp17
-> submit a talk proposal!
our CFP is open at
https://goo.gl/forms/8eOK2syojrn0C2eh1
*/
/* attention: emoji styling hack, does not work in IE */
html {
height: 100%;
}
body {
position: relative;
margin: 0;
padding: 1rem;
height: 100%;
max-width: 100%;
display: -webkit-flex;
-webkit-flex-direction: column; /* fallback ios 8 */
-webkit-justify-content: space-between; /* fallback ios 8 */
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
background: #001133;
color: #f5f5f5;
font-family: "Foundry Gridnik", sans-serif;
text-rendering: optimizeLegibility;
font-size: 16px;
line-height: 1.5;
}
body:after {
content: 'CSS Conf Budapest';
position: absolute;
top: 42%;
left: 50%;
z-index: -1;
-webkit-transform: translate(-50%,-50%); /* fallback ios 8 */
transform: translate(-50%,-50%);
font-family: 'Panton', sans-serif;
font-size: 400%;
line-height: 1;
text-align: center;
color: #ffaa00;
text-shadow:
3px 3px 0px #cc4400,
5px 5px 0px #cc0000,
7px 7px 0px #663300;
}
.code-of-conduct::after {
opacity: .4;
}
.overlay {
flex: 1 0 auto;
}
@media (min-width: 400px) {
body {
font-size: 20px;
}
}
@media (min-width: 768px) {
body {
font-size: 26px;
padding: 1.5em;
}
}
.ℹ️ {
position: absolute;
width: 5em;
margin: 0;
color: #fff;
font-size: 100%;
line-height: 1.33;
font-family: "Panton", sans-serif;
font-weight: 400;
}
.ℹ️::after {
content: '';
position: absolute;
bottom: -9%;
right: 15%;
width: 40%;
padding: 20% 0;
border-radius: 50%;
box-shadow:
inset -4px -4px 0 4px #ffaa00,
inset -7px -7px 0 9px #cc4400,
inset -10px -10px 0 14px #cc0000,
inset 0 0 0 150px #663300;
}
.📌 {
position: relative;
-webkit-transform: rotate(10deg); /* fallback ios 8 */
transform: rotate(10deg);
box-sizing: border-box;
width: 11em;
margin: .75em 0 1em auto;
padding: 1em 1.4em;
border: 2px solid #fff;
border-radius: 15%;
background: inherit;
box-shadow:
inset 0 0 0 2px #ffaa00,
inset 0 0 0 3px #fff,
inset 0 0 0 5px #cc4400,
inset 0 0 0 6px #fff,
inset 0 0 0 8px #cc0000,
inset 0 0 0 9px #fff,
inset 0 0 0 11px #663300;
color: #fff;
font-size: 110%;
text-align: center;
font-weight: bold;
}
.📌:before {
content: '📌';
position: absolute;
top: -20%;
left: 50%;
font-size: 150%;
/* emoji style hack */
background: linear-gradient(45deg, #fff 41%,
#996600 41.1%,
#996600 42%,
#ffaa00 42.1%,
#ffaa00 53%,
#ffcc66 53%,
#ffcc66 54%,
#ffaa00 54.1%,
#FFAA00 73%,
#996600 75%,
#996600 76%,
#ffaa00 78%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* we missed it */
.💔 {
margin: auto 0 0 0;
font-size: 120%;
}
.💔:before {
content: '💔';
margin: 0 .25em 0 0;
/* emoji style hack */
background: linear-gradient(90deg, #ffaa00 47%, #cc0000 47.1%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* we will bring you some */
.🎉 {
margin: 0 0 2.5rem 0;
font-size: 120%;
}
.🎉:after{
content: '🎉';
padding: 0 0 0 0.5em;
font-size: 120%;
/* emoji style hack */
background: linear-gradient(44deg,
#cc0000 30%,
#cc0000 50%,
#cc4400 50.1%,
#ffaa00 75%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* navigation */
.🗺️ {
display: -webkit-flex; /* fallback ios 8 */
-webkit-flex-wrap: wrap; /* fallback ios 8 */
-webkit-align-self: flex-end; /* fallback ios 8 */
display: flex;
flex-wrap: wrap;
align-self: flex-end;
min-width: 70%;
font-size: 100%;
}
.overlay a {
color: #ffaa00;
}
.code-of-conduct .🗺️ {
flex: 1 0 auto;
}
/* link, anker */
.🔗 {
flex: 1 0 auto;
color: #fff;
padding: .25em .5em .25em 0;
text-decoration: none;
}
.🔗:before {
content: attr(data-emoji);
padding-right: 8px;
font-size: 120%;
}
.❤️:before {
content: '❤️';
/* emoji style hack */
background: #cc0000;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.🗣️:before {
/* emoji style hack */
background: linear-gradient(to right, #ffaa00 55%, #cc4400 55.1%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
q {
color: #cc0000;
font-style: italic;
font-size: 150%;
}