diff options
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/javascripts/util.js | 1 | ||||
| -rw-r--r-- | assets/stylesheets/css.css | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/assets/javascripts/util.js b/assets/javascripts/util.js index d100731..81103aa 100644 --- a/assets/javascripts/util.js +++ b/assets/javascripts/util.js @@ -20,6 +20,7 @@ function mix(n,a,b){ return a*(1-n)+b*n } function ceil(n){ return Math.ceil(n) } function floor(n){ return Math.floor(n) } function round(n){ return Math.round(n) } +function quantize(n,a){ return round(n / a) * a } function max(a,b){ return Math.max(a,b) } function min(a,b){ return Math.min(a,b) } function abs(n){ return Math.abs(n) } diff --git a/assets/stylesheets/css.css b/assets/stylesheets/css.css index e59793a..1e54a94 100644 --- a/assets/stylesheets/css.css +++ b/assets/stylesheets/css.css @@ -9,6 +9,8 @@ html, body { height: 100%; background: -moz-linear-gradient(top, rgba(240,249,255,1) 0%, rgba(244,251,255,1) 59%, rgba(244,251,255,1) 59%, rgba(234,247,255,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(240,249,255,1)), color-stop(59%,rgba(244,251,255,1)), color-stop(59%,rgba(244,251,255,1)), color-stop(100%,rgba(234,247,255,1))); /* Chrome,Safari4+ */ + font-family: sans-serif; + font-weight: 300; } .mx-scene { z-index: 1; |
