diff options
| author | Josh Brewer | 2011-04-19 00:13:19 -0700 | 
|---|---|---|
| committer | Josh Brewer | 2011-04-19 00:13:19 -0700 | 
| commit | aec7a7fca503639f78795d0baaf4a67c455704d1 (patch) | |
| tree | a36d09aa98dbdc2ea546ac3d90b39391c7a64617 | |
| parent | ab15ce17a8dbc47107d72e588731f243f97dc636 (diff) | |
| download | ffffallback-aec7a7fca503639f78795d0baaf4a67c455704d1.tar.bz2 | |
quick pass at no images and only css3 to render all elements for website
| -rw-r--r-- | site/css/screen2.css | 32 | ||||
| -rw-r--r-- | site/index.html | 2 | 
2 files changed, 28 insertions, 6 deletions
| diff --git a/site/css/screen2.css b/site/css/screen2.css index a4bc11d..bad6f32 100644 --- a/site/css/screen2.css +++ b/site/css/screen2.css @@ -250,6 +250,18 @@ hgroup + p, hgroup + p + p {    margin-bottom: 3em;    position:relative;  } + +@-webkit-keyframes drag-me { +  from { +    top:0; +    left:0; +  } +  to { +    top:-20px; +    left:30px; +  } +} +  .bkmrklt a {    background: rgba(255, 255, 255, 0.1);    border: 1px solid #2D2A27; @@ -269,17 +281,27 @@ hgroup + p, hgroup + p + p {    -o-box-shadow:      0 1px 1px rgba(255,255,255,0.1), inset 0 1px 0 rgba(0,0,0,0.2);    box-shadow:         0 1px 1px rgba(255,255,255,0.1), inset 0 1px 0 rgba(0,0,0,0.2);  } +.bkmrklt a:hover { +  -webkit-animation-name: drag-me; +  -webkit-animation-duration: 2s; +  -webkit-animation-timing-function: ease-in-out;  +}  .bkmrklt a:after {  -  content: attr(title); +  content: attr(data-drag);    display:none;  }  .bkmrklt a:hover:after {  -  cursor:move; +  background:rgba(0,0,0,0.8);    display:block;    position:absolute; -  top:-2em; -  left:25%;  -  width:4em; +  top:-3em; +  left:30%;  +  padding:0.5em 1em; +  font-family: "proxima-nova-1","proxima-nova-2", "Helvetica Neue", Calibri, Arial, Helvetica, sans-serif; +  font-size:0.5em; +  -webkit-border-radius: 5px; +  -moz-border-radius: 5px; +  border-radius: 5px;  }  .bkmrklt span {    color:#eebe5f; diff --git a/site/index.html b/site/index.html index 61fd6bd..c4e5dd2 100644 --- a/site/index.html +++ b/site/index.html @@ -34,7 +34,7 @@      <p>In the spirit of bulletproof web design, we give you…</p>      <div class="bkmrklt"> -      <a href="#" id="bookmarklet" title="Drag me!">ffffallback</a> +      <a href="#" id="bookmarklet" data-drag="Drag me!">ffffallback</a>        <span>the bookmarklet!</span>      </div> | 
