diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-06-03 23:24:26 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-06-03 23:24:26 -0400 |
| commit | f10393989bdd2e7dd1056930ba060aab3870a592 (patch) | |
| tree | d9a05101de765c9bbcd596d4e3d05d48c993a9e7 /print/resources/style.css | |
| parent | ea6b89581ea35acbcf3afa9e424210212be5f1a6 (diff) | |
realistic rendering checkboxes
Diffstat (limited to 'print/resources/style.css')
| -rw-r--r-- | print/resources/style.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/print/resources/style.css b/print/resources/style.css index 58ec8714..716934a8 100644 --- a/print/resources/style.css +++ b/print/resources/style.css @@ -473,6 +473,28 @@ body { border: none; background: grey; color: white; + display: inline-block; + font-size: 16px; + font-family: "Barlow", sans-serif; + padding-left: 3px; + padding-right: 3px; + margin: 0px 1px 0px 1px; + } + + input.realistic { + position: absolute; + transform: scale(0.7); + margin-left: 2px; + } + + label.realistic { + margin-left: 20px; + } + + /* prevents Chrome from sending a double event for the checkbox + and the containing <button> */ + .realistic { + pointer-events: none; } /* Color Swatches */ |
