This repository was archived by the owner on Feb 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
194 lines (165 loc) · 3.24 KB
/
Copy pathstyle.css
File metadata and controls
194 lines (165 loc) · 3.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
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
* {
font-variant-ligatures: common-ligatures;
font-kerning: normal;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transition: all 1s ease;
}
body {
background: seashell;
margin: 0;
}
.titling-wrapper { text-align: center; }
.titling {
margin-top: 48px;
margin-left: auto;
margin-right: auto;
text-align: center;
transform: skew(12deg, 0);
display: inline-block;
}
h1 {
margin: 0;
font-family: Impact;
font-weight: normal;
font-size: 7.5vh;
line-height: 0.8;
letter-spacing: -0.03em;
text-transform: uppercase;
transform: scaleX(0.9);
}
h2 {
margin: 10px 0 0 0;
color: blueviolet;
font-weight: normal;
font-size: 28px;
line-height: 0.8;
letter-spacing: -0.02em;
transform: scaleX(0.9);
}
h2 a {
color: blueviolet;
text-decoration: none;
border-bottom: 1px solid blueviolet;
}
h2 a:hover {
color: black;
border-bottom: 1px solid black;
}
section {
position: absolute;
top: 50%;
left: 50%;
width: 100%;
transform: translate(-50%, -50%);
}
article {
transform: skew(-5deg, 0);
background: white;
margin-left: auto;
margin-right: auto;
padding: 24px 0 30px 30px;
max-width: 1000px;
box-shadow: 2px 3px 100px lightsalmon;
border-radius: 10px;
}
.prediction {
font-size: 8.5vh;
line-height: 1em;
letter-spacing: -0.01em;
transform: scaleX(0.96);
transform-origin: 0 0;
}
.ui { margin-top: 40px; }
.more-link, .tweet-link {
display: inline-block;
background: black;
color: white;
padding: 13px 22px 13px;
font-size: 4.25vh;
font-family: sans-serif;
letter-spacing: -0.01em;
font-weight: bold;
line-height: 1;
text-decoration: none;
display: visible !important;
border-radius: 4px;
transition: background 0.3s ease;
}
.more-link {
margin-bottom: 6px;
margin-right: 6px;
}
.tweet-link { margin-right: 20px; }
.more-link:hover { background: blueviolet; }
.tweet-link:hover { background: lightseagreen; }
.more-link:active { color: black; }
.tweet-link:active { color: black; }
footer {
position: absolute;
right: 0;
bottom: 0;
padding: 10px;
color: coral;
text-align: right;
font-family: sans-serif;
font-size: 12px;
letter-spacing: 0.07em;
}
#seed-link a,
#seed-link a:visited,
#seed-link a:hover{
text-decoration: none;
color: coral;
}
/* Media queries
----------------------------------------------------------------------------------- */
@media only screen and (max-width: 1200px) {
h1 { font-size: 6.5vh; }
h2 { font-size: 24px; }
article { max-width: 80%; }
.prediction {
font-size: 7vh;
line-height: 1.05em;
}
}
@media only screen and (max-width: 800px) {
article {
transform: skew(-4deg, 0);
padding: 20px 0 26px 26px;
}
.prediction {
font-size: 6vh;
line-height: 1.1em;
}
.more-link, .tweet-link {
font-size: 3.5vh;
padding: 13px 21px;
}
}
@media only screen and (max-width: 600px) {
h1 {
font-size: 7.5vh;
line-height: 0.8;
}
h2 { font-size: 21px; }
article {
transform: skew(-3deg, 0);
max-width: 78%;
padding: 17px 8px 20px 20px;
}
.prediction { font-size: 4.2vh; }
.ui { margin-top: 28px; }
.more-link, .tweet-link {
padding: 15px 19px;
font-size: 2.7vh;
}
}
@media only screen and (max-width: 420px) {
h1 {
font-size: 7vh;
line-height: 0.9;
}
h2 { font-size: 19px; }
}