summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Brewer2011-04-18 21:20:27 -0700
committerJosh Brewer2011-04-18 21:20:27 -0700
commit71423deaef0a788aab261140de8ffe95429799f6 (patch)
treec4cae6575fdf6a12017b1840fc48badf62b0c9f7
parentd94b9b0ca215e689055fd92fe76bd9a344ae5a96 (diff)
downloadffffallback-71423deaef0a788aab261140de8ffe95429799f6.tar.bz2
updates to the website, copy, etc and reset bookmarklet
-rw-r--r--bookmarklet/ffffallback.css10
-rw-r--r--site/css/screen.css54
-rw-r--r--site/index.html12
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 @@
<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
- <link rel="apple-touch-icon" href="/apple-touch-icon.png">
<!-- CSS : implied media="all" -->
<link rel="stylesheet" href="css/screen.css">
@@ -32,7 +30,7 @@
<h2>A simple tool for bulletproof web typography.</h2>
</hgroup>
- <p><strong><span class="brave"><i class="ir">It's a brave new world.</i></span> 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.</strong></p>
+ <p><strong><span class="brave"><i class="ir">It's a brave new world.</i></span> 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.</strong></p>
<p>So in the spirit of bulletproof web design, we give you&hellip;</p>
<div class="bkmrklt">
@@ -53,12 +51,12 @@
<p>Small caveat: this bookmarklet only works on webkit browsers (Chrome &amp; Safari) or Firefox. We <strike>are</strike> might get it working for IE and Opera if time permits.</p>
</aside>
<ol class="steps">
- <li>Drag the bookmarklet to your browser toolbar.</li>
- <li>Go to the page you want to test and click the bookmarklet to get started.</li>
+ <li><strong>Drag</strong> the bookmarklet to your browser toolbar.</li>
+ <li>Go to the page you want to test and <strong>click</strong> the bookmarklet to get started.</li>
<li>The bookmarklet will scan the CSS of the page in order to identify existing web fonts. Then, using magical unicorns and javascript rainbows, FFFFALLBACK clones the page and provides a tool where you can test and analyze different fallback font choices.
<span class="note">You can also add an input in order to change font-size, line-height, color, etc.</span>
</li>
- <li>Bulletproof your font-stacks and rejoice!</li>
+ <li>Bulletproof your font-stacks and <strong>rejoice</strong>!</li>
</ol>
<p>For more background on how this came to be and why it's important, read <a href="http://blog.typekit.com/2011/03/24/type-study-choosing-fallback-fonts/">Type study: Choosing fallback fonts</a>.</p>
@@ -69,7 +67,7 @@
<p><small>Extra big high-fives to the kind souls whose encouragement brought this to life: <a href="http://twitter.com/TrentWalton">Trent Walton</a>, <a href="http://twitter.com/TimBrown">Tim Brown</a>, <a href="http://twitter.com/Kyle">Kyle Sollenberger</a>, <a href="http://twitter.com/yarcom">Yaron Schoen</a> and <a href="http://twitter.com/aworkinglibrary">Mandy Brown</a>.</small></p>
<p class="tweet">
<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://ffffallback.com" data-text="I'm using @ffffallback to help bulletproof my web typography. Check it out!" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- <small>Tell the world know about FFFFALLBACK!</small>
+ <small>Tell the world about FFFFALLBACK!</small>
</p>
</footer>
</div>