Skip to content

Commit 4433d7f

Browse files
authoredNov 8, 2021
Website: Improved readability (#3177)
1 parent 746da79 commit 4433d7f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed
 

‎assets/style.css

+10-10
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ header, footer {
132132
padding: 30px -webkit-calc(50% - 450px); /* Workaround for bug */
133133
padding: 30px calc(50% - 450px);
134134
color: white;
135-
text-shadow: 0 -1px 2px black;
136-
background: url(img/spectrum.png) fixed;
135+
text-shadow: 0 -1px 2px black, 0 0 4px black,
136+
0 -1px 0 black, 0 1px 0 black, -1px 0 0 black, 1px 0 0 black;
137+
background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)), url(img/spectrum.png) fixed;
137138
}
138139

139140
header:before,
@@ -191,12 +192,11 @@ footer:before {
191192
}
192193

193194
#features {
194-
margin-top: 2em;
195-
font-size: 80%;
195+
margin-top: 1.6em;
196196
}
197197

198198
#features li {
199-
margin: 0 0 2em 0;
199+
margin: 0 0 1.6em 0;
200200
list-style: none;
201201
display: inline-block;
202202
width: 49%;
@@ -205,25 +205,25 @@ footer:before {
205205
}
206206

207207
#features li:nth-child(odd) {
208-
padding-right: 2.5em;
208+
padding-right: 2em;
209209
}
210210
#features li:nth-child(even) {
211-
padding-left: 2.5em;
211+
padding-left: 2em;
212212
}
213213

214214
#features li:before {
215215
content: '✓';
216216
float: left;
217217
margin-left: -.8em;
218218
color: #7fab14;
219-
font-size: 400%;
219+
font-size: 320%;
220220
line-height: 1;
221221
}
222222

223223
#features li strong {
224224
display: block;
225225
margin-bottom: .1em;
226-
font-size: 200%;
226+
font-size: 160%;
227227
}
228228

229229
header .download-button {
@@ -239,6 +239,7 @@ footer:before {
239239
text-align: center;
240240
text-transform: uppercase;
241241
letter-spacing: .2em;
242+
text-shadow: 0 -1px 2px black;
242243
}
243244

244245
#theme > p {
@@ -370,7 +371,6 @@ footer {
370371
margin-top: 2em;
371372
background-position: bottom;
372373
color: white;
373-
text-shadow: 0 -1px 2px black;
374374
}
375375

376376
footer:before {

0 commit comments

Comments
 (0)
Please sign in to comment.