summaryrefslogtreecommitdiff
path: root/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'style.css')
-rw-r--r--style.css43
1 files changed, 36 insertions, 7 deletions
diff --git a/style.css b/style.css
index 2662fc7..f05343d 100644
--- a/style.css
+++ b/style.css
@@ -335,13 +335,42 @@ select {
335} 335}
336 336
337label { 337label {
338 display: block; 338 margin-bottom: 0.4em;
339 padding-left: 40px; 339}
340 text-indent: -25px; 340
341} 341input[type=checkbox]:not(old) {
342 342 display : none;
343label input { 343 opacity : 0;
344 margin-right: 10px; 344}
345
346input[type=checkbox]:not(old) + label {
347 display : inline-block;
348 margin-left : 0;
349 line-height : 1.5em;
350 text-indent : -2.0625em; /* Make 2nd line of label align, takes border width of tickbox into account */
351 padding-left : 2.0625em;
352}
353
354input[type=checkbox]:not(old) + label > span {
355 display : inline-block;
356 width : 1em;
357 height : 1em;
358 margin : 0.25em 1em 0.25em 0;
359 border : 0.0625em solid white;
360 border-radius : 25%;
361 vertical-align : top;
362}
363
364input[type=checkbox]:not(old):checked + label > span:before {
365 content : '✓';
366 display : inline-block;
367 width : 1em;
368 color : white;
369 font-size : 1.4em;
370 line-height : 1em;
371 text-align : center;
372 font-weight : bold;
373 margin-left : 2.1em;
345} 374}
346 375
347#wrapper.step1 .block-step1 .juice, 376#wrapper.step1 .block-step1 .juice,