From d94b9b0ca215e689055fd92fe76bd9a344ae5a96 Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Sun, 10 Apr 2011 14:24:38 -0700 Subject: fine tuning some CSS --- site/css/screen.css | 1 + 1 file changed, 1 insertion(+) diff --git a/site/css/screen.css b/site/css/screen.css index 1e6a233..f55fa5d 100644 --- a/site/css/screen.css +++ b/site/css/screen.css @@ -290,6 +290,7 @@ footer p a[href="http://twitter.com/jbrewer"], footer p a[href="http://twitter.c color:rgba(143,187,204,0.4); } footer p a span {color:rgba(143,187,204,1)} +footer p a:hover span {color:#64c2e8;} footer .twitter-share-button { position:relative; top:5px; -- cgit v1.2.3 From 71423deaef0a788aab261140de8ffe95429799f6 Mon Sep 17 00:00:00 2001 From: Josh Brewer Date: Mon, 18 Apr 2011 21:20:27 -0700 Subject: updates to the website, copy, etc and reset bookmarklet --- bookmarklet/ffffallback.css | 10 ++++++++- site/css/screen.css | 54 ++++++++++++++++++++++++++++++++++++++++++--- site/index.html | 12 +++++----- 3 files changed, 65 insertions(+), 11 deletions(-) diff --git a/bookmarklet/ffffallback.css b/bookmarklet/ffffallback.css index 476aa12..d630c41 100644 --- a/bookmarklet/ffffallback.css +++ b/bookmarklet/ffffallback.css @@ -73,8 +73,16 @@ body.ffffallback-hide-original #ffffallback-content-container { display: block!important; opacity: 1!important; } +#ffffallback-controller { + margin:0; + padding:0; + border:0; + outline:0; + font-size:100%; + vertical-align:baseline; + background:transparent; +} -/* webkit scrollbar stuff from http://beautifulpixels.com/goodies/create-custom-webkit-scrollbar/ */ #ffffallback-controller { display: block!important; position: fixed!important; diff --git a/site/css/screen.css b/site/css/screen.css index f55fa5d..91d78e8 100644 --- a/site/css/screen.css +++ b/site/css/screen.css @@ -141,7 +141,7 @@ span.horizon { position:absolute; } span.rising {width:100%; margin-top:10.5em;} -span.setting {width:55em; margin-top:2.5em;margin-left:-16em;} +span.setting {width:52em; margin-top:2.5em;margin-left:-22em;} #main { border-left: 1px solid #423e39; margin:0 0 0 4em; @@ -271,7 +271,7 @@ h3 { } #main ol + p { - background:url(../images/bang.png) no-repeat 3px 2px; + background:url(../images/bang.png) no-repeat 3px 1px; font-weight:bold; padding-left:2em; margin-left:-2em; @@ -290,7 +290,9 @@ footer p a[href="http://twitter.com/jbrewer"], footer p a[href="http://twitter.c color:rgba(143,187,204,0.4); } footer p a span {color:rgba(143,187,204,1)} -footer p a:hover span {color:#64c2e8;} +footer p a[href="http://twitter.com/jbrewer"]:hover span, footer p a[href="http://twitter.com/shinypb"]:hover span { + color:#64c2e8; +} footer .twitter-share-button { position:relative; top:5px; @@ -300,6 +302,52 @@ footer .twitter-share-button { /* media queries for responsive design */ +/* One-column - iPhone portrait and any 320px device */ +@media (max-width:640px){ + .container{ + width: 320px; + } + #secondary{ + margin-left: 15px; + } +} + +/* One-column - iPhone landscape */ +@media (orientation:landscape) and (min-width:321px) and (max-width:480px){ + /* + .container{ + width: 480px; + }*/ +} + +/* Two-column - iPad */ +@media (min-width:641px) and (max-width:960px){ + hgroup { + margin-bottom:10em; + } + +} + +/* 15" MacBook Pro */ +@media (min-width:1281px) and (max-width:1600px){ + .container{ + width: 1280px; + } +} + +/* 17" MacBook Pro, iMac */ +@media (min-width:1601px) and (max-width:1920px){ + .container{ + width: 1600px; + } +} + +/* HD */ +@media (min-width:1920px) and (max-width:2240px){ + .container{ + width: 1920px; + } +} @media all and (orientation:portrait) { diff --git a/site/index.html b/site/index.html index 7ab006b..30e2931 100644 --- a/site/index.html +++ b/site/index.html @@ -10,9 +10,7 @@ - - @@ -32,7 +30,7 @@
It's a brave new world. Web fonts are here, sparking an exciting new era in web design. While this new-found freedom can be intoxicating, the importance of dependable web typography can not be overstated.
+It's a brave new world. Web fonts are here, sparking an exciting new era in web design. Ffffallback makes it easy to find the perfect fallback fonts, so you can make sure your designs degrade gracefully. Fffallback means better layouts for everyone.
So in the spirit of bulletproof web design, we give you…
Small caveat: this bookmarklet only works on webkit browsers (Chrome & Safari) or Firefox. We are might get it working for IE and Opera if time permits.
For more background on how this came to be and why it's important, read Type study: Choosing fallback fonts.
@@ -69,7 +67,7 @@Extra big high-fives to the kind souls whose encouragement brought this to life: Trent Walton, Tim Brown, Kyle Sollenberger, Yaron Schoen and Mandy Brown.
Tweet - Tell the world know about FFFFALLBACK! + Tell the world about FFFFALLBACK!
It's a brave new world. Web fonts are here, sparking an exciting new era in web design. Ffffallback makes it easy to find the perfect fallback fonts, so you can make sure your designs degrade gracefully. Fffallback means better layouts for everyone.
So in the spirit of bulletproof web design, we give you…
-It's a brave new world. Web fonts are here, sparking an exciting new era in web design. Ffffallback makes it easy to find the perfect fallback fonts, so you can make sure your designs degrade gracefully. Fffallback means better layouts for everyone.
So in the spirit of bulletproof web design, we give you…
-It's a brave new world. Web fonts are here, sparking an exciting new era in web design. Ffffallback makes it easy to find the perfect fallback fonts, so you can make sure your designs degrade gracefully. Fffallback means better layouts for everyone.
So in the spirit of bulletproof web design, we give you…
-