Skip to content

Commit 81e117f

Browse files
committed
Simplify homepage
1 parent f474434 commit 81e117f

File tree

3 files changed

+16
-501
lines changed

3 files changed

+16
-501
lines changed

assets/css/index.css

+5-1
Original file line numberDiff line numberDiff line change
@@ -3186,6 +3186,10 @@ h4 {
31863186
text-align: center;
31873187
}
31883188

3189+
.homepage {
3190+
background: #E63B34;
3191+
}
3192+
31893193
.homepage ::selection {
31903194
background: none;
31913195
}
@@ -3219,7 +3223,7 @@ h4 {
32193223
line-height: normal;
32203224
padding: 0.7em 0;
32213225
margin-bottom: 25px;
3222-
color: #333;
3226+
color: #fff;
32233227
}
32243228

32253229
@media only screen and (min-width: 36.063em) {

assets/css/index.scss

+3-204
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ h4 { color: #000; text-transform: uppercase; font-size: 1em; margin-bottom: 5px;
7575
text-align: right;
7676
font-size: 85%;
7777
}
78-
.footer {
79-
background: $red;
80-
}
78+
8179
.header {
8280
background: $red;
8381
color: #fff;
@@ -158,6 +156,7 @@ h4 { color: #000; text-transform: uppercase; font-size: 1em; margin-bottom: 5px;
158156
}
159157

160158
.homepage {
159+
background: $red;
161160

162161
::selection {
163162
background: none;
@@ -191,7 +190,7 @@ h4 { color: #000; text-transform: uppercase; font-size: 1em; margin-bottom: 5px;
191190
line-height: normal;
192191
padding: .7em 0;
193192
margin-bottom: 25px;
194-
color: #333;
193+
color: #fff;
195194
}
196195

197196
@media #{$medium-up} {
@@ -210,208 +209,8 @@ h4 { color: #000; text-transform: uppercase; font-size: 1em; margin-bottom: 5px;
210209
@import "demo";
211210
}
212211

213-
.callout.large.primary {
214-
padding: 3em;
215-
background: #f8f8f8;
216-
margin-top: 4em;
217-
margin-bottom: 4em;
218-
}
219212

220213
.small-text {
221214
font-size: 12px;
222215
line-height: 16px;
223216
}
224-
225-
.demo-box {
226-
width: 300px;
227-
height: 200px;
228-
overflow: hidden;
229-
position: relative;
230-
}
231-
232-
.demo-box>img {
233-
height: 400px;
234-
width: 1900px;
235-
position: absolute;
236-
margin-left: -950px;
237-
display: none;
238-
pointer-events: none;
239-
margin-top: -220px;
240-
left: 50%;
241-
top: 50%;
242-
max-width: none;
243-
}
244-
245-
.demo-box-wrap h2,
246-
.target-wrap h2 {
247-
pointer-events: none;
248-
color: white;
249-
}
250-
251-
.demo-box-wrap, .target-wrap {
252-
border: 1px solid #333;
253-
font-family: sans-serif;
254-
background: #333;
255-
text-align: center;
256-
color: white;
257-
width: 302px;
258-
height: 245px;
259-
margin-left: auto;
260-
margin-right: auto;
261-
margin-bottom: 3em;
262-
}
263-
264-
.target-wrap {
265-
width: 315px;
266-
height: auto;
267-
}
268-
269-
.target {
270-
background: white;
271-
padding: 1em;
272-
color: #333;
273-
}
274-
275-
.demo-box img.active {
276-
display: block;
277-
}
278-
279-
.page-num .active {
280-
color: red;
281-
}
282-
283-
.demo-box .page-num {
284-
position: absolute;
285-
bottom: 5px;
286-
left: 50%;
287-
margin-left: -20px;
288-
color: white;
289-
z-index: 999;
290-
background: rgba( 170, 170, 170, .5 );
291-
padding: 3px;
292-
border-radius: 5px;
293-
border: 1px solid black;
294-
pointer-events: none;
295-
}
296-
297-
.demo-overlay {
298-
position: absolute;
299-
top: 0;
300-
left: 0;
301-
right: 0;
302-
bottom: 0;
303-
background: rgba( 70, 70, 70, .8 );
304-
display: none;
305-
}
306-
307-
.demo-overlay img {
308-
width: 50px;
309-
height: 50px;
310-
position: absolute;
311-
top: 50%;
312-
left: 50%;
313-
margin-left: -25px;
314-
margin-top: -25px;
315-
}
316-
317-
.row-try-it {
318-
max-width: none;
319-
}
320-
321-
.target {
322-
background: white;
323-
}
324-
325-
.hit-target {
326-
width: 96%;
327-
margin: auto;
328-
height: 75px;
329-
background: $red;
330-
color: white;
331-
text-align: center;
332-
margin-top: 1em;
333-
}
334-
.hit-target:after {
335-
position: relative;
336-
top: calc( 37px - .5em );
337-
content: "Target";
338-
}
339-
.click-gauge {
340-
-webkit-appearance: none;
341-
height: 2em;
342-
width: 100%;
343-
border-radius: 2px
344-
}
345-
.click-gauge[value]::-webkit-progress-bar {
346-
box-shadow: inset
347-
-3px -3px 3px #ccc,
348-
inset 3px 3px 3px #ccc;
349-
background-color: #fff;
350-
border-radius: 2px;
351-
overflow: hidden;
352-
}
353-
.click-gauge[value]::-webkit-progress-value {
354-
box-shadow:
355-
2px .5px 1px #333,
356-
inset 2px 2px 7px darkgreen,
357-
inset -2px -2px 7px darkgreen;
358-
border-radius: 2px 0 0 2px;
359-
position: relative;
360-
}
361-
.click-gauge.warning[value]::-webkit-progress-value {
362-
background: orange;
363-
box-shadow:
364-
2px .5px 1px #333,
365-
inset 2px 2px 7px darkorange,
366-
inset -2px -2px 7px darkorange;
367-
}
368-
.click-gauge.failure[value]::-webkit-progress-value {
369-
background: red;
370-
box-shadow:
371-
2px .5px 1px #333,
372-
inset 2px 2px 7px darkred,
373-
inset -2px -2px 7px darkred;
374-
}
375-
.output {
376-
height: 30px;
377-
width: 100%;
378-
display: block;
379-
color: #333;
380-
text-align: left;
381-
}
382-
.top-header {
383-
margin-top: -1.8em !important;
384-
}
385-
.contrib-box {
386-
width: 250px;
387-
height: 325px;
388-
background: #333;
389-
color: white;
390-
text-align: center;
391-
border: 1px solid #333;
392-
margin: auto;
393-
margin-top: 1em;
394-
margin-bottom: 1em;
395-
}
396-
397-
.contrib-box h4 {
398-
color: white;
399-
}
400-
401-
.contrib-box img {
402-
width: 100%;
403-
}
404-
405-
.support-row {
406-
text-align: center;
407-
margin-bottom: 3em;
408-
}
409-
410-
.support-row a {
411-
text-decoration: none;
412-
}
413-
414-
.support-row img {
415-
width: 150px;
416-
}
417-

0 commit comments

Comments
 (0)