diff --git a/README.md b/README.md index 8ebca6f..af3f497 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,11 @@ Code Layout 2. js/verlet-js/constraint.js: _constraint code_ 3. js/verlet-js/verlet.js: _verlet-js engine_ 4. js/verlet-js/objects.js: _shapes and objects (triangles, circles, tires..)_ + +Build for npm +------------- + +``` js +npm run build +``` + diff --git a/css/style.css b/css/style.css index 726ffd7..5e4a3a7 100644 --- a/css/style.css +++ b/css/style.css @@ -86,9 +86,15 @@ canvas { margin: 34px auto; background: #fff; box-shadow: 2px 2px 8px 0px rgba(0,0,0,0.1); + clear: both; + + /* disable selection of canvas */ -moz-user-select: none; - -webkit-user-select: none; - user-select: none; + -webkit-user-select: none; + -o-user-select:none; + -ms-user-select:none; + -khtml-user-select:none; + user-select: none; } @@ -107,3 +113,22 @@ canvas { padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.05); } + + +#bsa { + display: inline-block; + float: right; + width: 150px; + padding-top: 30px; + font-family: sans-serif; +} + +body .one .bsa_it_ad { background: transparent; border: none; font-family: inherit; padding: 0 15px 0 10px; margin: 0; text-align: left; } +body .one .bsa_it_ad:hover img { -moz-box-shadow: 0 0 3px #000; -webkit-box-shadow: 0 0 3px #000; box-shadow: 0 0 3px #000; } +body .one .bsa_it_ad .bsa_it_i { display: block; padding: 0; float: none; margin: 0 0 5px; } +body .one .bsa_it_ad .bsa_it_i img { padding: 0; border: none; } +body .one .bsa_it_ad .bsa_it_t { padding: 6px 0; } +body .one .bsa_it_ad .bsa_it_d { padding: 0; font-size: 10px; color: #333; } +body .one .bsa_it_p { display: none; } +body #bsap_aplink, body #bsap_aplink:hover { display: block; font-size: 9px; margin: 12px 15px 0; text-align: right; } + diff --git a/examples/cloth.html b/examples/cloth.html index 9dd57ba..d46431d 100644 --- a/examples/cloth.html +++ b/examples/cloth.html @@ -5,14 +5,15 @@ - - - - +
+