|
| 1 | +html { |
| 2 | + box-sizing: border-box; |
| 3 | + background: url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat; |
| 4 | + background-size: cover; |
| 5 | + min-height: 100vh; |
| 6 | + display: flex; |
| 7 | + justify-content: center; |
| 8 | + align-items: center; |
| 9 | + text-align: center; |
| 10 | + font-family: Futura,"Trebuchet MS",Arial,sans-serif; |
| 11 | +} |
1 | 12 |
|
2 | | - html { |
3 | | - box-sizing: border-box; |
4 | | - background: url('http://wes.io/hx9M/oh-la-la.jpg') center no-repeat; |
5 | | - background-size: cover; |
6 | | - min-height: 100vh; |
7 | | - display: flex; |
8 | | - justify-content: center; |
9 | | - align-items: center; |
10 | | - text-align: center; |
11 | | - font-family: Futura,"Trebuchet MS",Arial,sans-serif; |
12 | | - } |
| 13 | +*, *:before, *:after { |
| 14 | + box-sizing: inherit; |
| 15 | +} |
13 | 16 |
|
14 | | - *, *:before, *:after { |
15 | | - box-sizing: inherit; |
16 | | - } |
| 17 | +svg { |
| 18 | + fill:white; |
| 19 | + background: rgba(0,0,0,0.1); |
| 20 | + padding: 20px; |
| 21 | + border-radius: 50%; |
| 22 | + width: 200px; |
| 23 | + margin-bottom: 50px; |
| 24 | +} |
17 | 25 |
|
18 | | - svg { |
19 | | - fill:white; |
20 | | - background: rgba(0,0,0,0.1); |
21 | | - padding: 20px; |
22 | | - border-radius: 50%; |
23 | | - width: 200px; |
24 | | - margin-bottom: 50px; |
25 | | - } |
| 26 | +.wrapper { |
| 27 | + padding: 20px; |
| 28 | + max-width: 350px; |
| 29 | + background: rgba(255,255,255,0.95); |
| 30 | + box-shadow: 0 0 0 10px rgba(0,0,0,0.1); |
| 31 | +} |
26 | 32 |
|
27 | | - .wrapper { |
28 | | - padding: 20px; |
29 | | - max-width: 350px; |
30 | | - background: rgba(255,255,255,0.95); |
31 | | - box-shadow: 0 0 0 10px rgba(0,0,0,0.1); |
32 | | - } |
| 33 | +h2 { |
| 34 | + text-align: center; |
| 35 | + margin: 0; |
| 36 | + font-weight: 200; |
| 37 | +} |
33 | 38 |
|
34 | | - h2 { |
35 | | - text-align: center; |
36 | | - margin: 0; |
37 | | - font-weight: 200; |
38 | | - } |
| 39 | +.plates { |
| 40 | + margin: 0; |
| 41 | + padding: 0; |
| 42 | + text-align: left; |
| 43 | + list-style: none; |
| 44 | +} |
39 | 45 |
|
40 | | - .plates { |
41 | | - margin: 0; |
42 | | - padding: 0; |
43 | | - text-align: left; |
44 | | - list-style: none; |
45 | | - } |
| 46 | +.plates li { |
| 47 | + border-bottom: 1px solid rgba(0,0,0,0.2); |
| 48 | + padding: 10px 0; |
| 49 | + font-weight: 100; |
| 50 | + display: flex; |
| 51 | +} |
46 | 52 |
|
47 | | - .plates li { |
48 | | - border-bottom: 1px solid rgba(0,0,0,0.2); |
49 | | - padding: 10px 0; |
50 | | - font-weight: 100; |
51 | | - display: flex; |
52 | | - } |
| 53 | +.plates label { |
| 54 | + flex: 1; |
| 55 | + cursor: pointer; |
| 56 | +} |
53 | 57 |
|
54 | | - .plates label { |
55 | | - flex: 1; |
56 | | - cursor: pointer; |
57 | | - } |
| 58 | +.plates input { |
| 59 | + display: none; |
| 60 | +} |
58 | 61 |
|
59 | | - .plates input { |
60 | | - display: none; |
61 | | - } |
| 62 | +.plates input + label:before { |
| 63 | + content: '⬜️'; |
| 64 | + margin-right: 10px; |
| 65 | +} |
62 | 66 |
|
63 | | - .plates input + label:before { |
64 | | - content: '⬜️'; |
65 | | - margin-right: 10px; |
66 | | - } |
| 67 | +.plates input:checked + label:before { |
| 68 | + content: '🌮'; |
| 69 | +} |
67 | 70 |
|
68 | | - .plates input:checked + label:before { |
69 | | - content: '🌮'; |
70 | | - } |
| 71 | +.add-items { |
| 72 | + margin-top: 20px; |
| 73 | +} |
71 | 74 |
|
72 | | - .add-items { |
73 | | - margin-top: 20px; |
74 | | - } |
75 | | - |
76 | | - .add-items input { |
77 | | - padding: 10px; |
78 | | - outline: 0; |
79 | | - border: 1px solid rgba(0,0,0,0.1); |
80 | | - } |
| 75 | +.add-items input { |
| 76 | + padding: 10px; |
| 77 | + outline: 0; |
| 78 | + border: 1px solid rgba(0,0,0,0.1); |
| 79 | +} |
0 commit comments