projects
/
nanofun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7e080
)
fix dynamic sizing of touches
author
Frédéric Péters
<fpeters@0d.be>
Tue, 21 Feb 2017 09:47:00 +0000
(10:47 +0100)
committer
Frédéric Péters
<fpeters@0d.be>
Tue, 21 Feb 2017 09:47:00 +0000
(10:47 +0100)
nanofun.css
patch
|
blob
|
history
diff --git
a/nanofun.css
b/nanofun.css
index
e819244
..
785d614
100644
(file)
--- a/
nanofun.css
+++ b/
nanofun.css
@@
-1,4
+1,6
@@
-body {
+html, body {
+ padding: 0;
+ margin: 0;
font-family: sans-serif;
font-size: 16px;
}
@@
-9,10
+11,11
@@
body {
div.nanotouch {
border: 1px dashed #333;
+ box-sizing: border-box;
padding: 1.5rem;
position: relative;
- width:
7
vw;
- height:
7
vw;
+ width:
10
vw;
+ height:
10
vw;
margin: 1vw;
display: inline-block;
overflow: hidden;