summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Brewer2011-04-18 23:42:15 -0700
committerJosh Brewer2011-04-18 23:42:15 -0700
commitab15ce17a8dbc47107d72e588731f243f97dc636 (patch)
tree89e8c7ff8f73f0653238610d7dccbbca27ab3932
parentf4d4830a6d1f3d090b4a94fc48f2a5e01d7fb71c (diff)
downloadffffallback-ab15ce17a8dbc47107d72e588731f243f97dc636.tar.bz2
quick pass at no images and only css3 to render all elements for website
-rw-r--r--site/css/screen2.css32
-rw-r--r--site/index.html4
2 files changed, 18 insertions, 18 deletions
diff --git a/site/css/screen2.css b/site/css/screen2.css
index d5233fa..a4bc11d 100644
--- a/site/css/screen2.css
+++ b/site/css/screen2.css
@@ -158,7 +158,7 @@ hgroup {
}
hgroup h1 {
font-family:"kulturista-web-1","kulturista-web-2", "Courier New";
- font-size:3.75em;
+ font-size:3.5em;
font-weight:200;
line-height:1;
margin-left:1.35em;
@@ -177,7 +177,7 @@ hgroup h1:before {
position:absolute;
text-align:center;
vertical-align:center;
- top:0.05em;
+ top:0.1em;
left:0;
width:1.5em;
height:1.25em;
@@ -195,21 +195,20 @@ hgroup h2 {
margin-left:3.75em;
}
-/* Really wish H&FJ webfonts were available… but they're not. Image replacement it is.*/
.brave {
background: #2d2a27;
color:#fef1d8;
font-size:1.05em;
- left:30em;
+ left:27.5em;
line-height:1;
position:absolute;
text-transform:uppercase;
top:3.85em;
- height: 170px;
- width: 170px;
- -webkit-border-radius: 170px;
- -moz-border-radius: 170px;
- border-radius: 170px;
+ height: 7em;
+ width: 7em;
+ -webkit-border-radius: 7em;
+ -moz-border-radius: 7em;
+ border-radius: 7em;
background-clip: padding-box;
z-index:100;
}
@@ -220,11 +219,11 @@ hgroup h2 {
text-transform:uppercase;
left:10px;
top: 10px;
- height:150px;
- width: 150px;
- -webkit-border-radius: 150px;
- -moz-border-radius: 150px;
- border-radius: 150px;
+ height:6em;
+ width: 6em;
+ -webkit-border-radius: 6em;
+ -moz-border-radius: 6em;
+ border-radius: 6em;
background-clip: padding-box;
z-index:-1;
}
@@ -234,7 +233,7 @@ hgroup h2 {
font-weight: normal;
top: 1.75em;
position: relative;
- width: 3em;
+ width: 4em;
display: block;
left: 2em;
}
@@ -261,6 +260,7 @@ hgroup + p, hgroup + p + p {
position:relative;
text-align:center;
text-transform: uppercase;
+ text-shadow:0 1px 1px #2D2A27;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
@@ -286,7 +286,7 @@ hgroup + p, hgroup + p + p {
font-weight:200;
left: 11em;
letter-spacing:4px;
- margin-left:1em;
+ margin-left:0.5em;
text-transform:uppercase;
}
diff --git a/site/index.html b/site/index.html
index 5d48999..61fd6bd 100644
--- a/site/index.html
+++ b/site/index.html
@@ -30,8 +30,8 @@
<h2>A simple tool for bulletproof web typography.</h2>
</hgroup>
- <p><strong><span class="brave"><i>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 a better typographic web for everyone.</strong></p>
- <p>So in the spirit of bulletproof web design, we give you&hellip;</p>
+ <p><span class="brave"><i>It's a brave new world.</i></span> <strong>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 a better typographic web for everyone.</strong></p>
+ <p>In the spirit of bulletproof web design, we give you&hellip;</p>
<div class="bkmrklt">
<a href="#" id="bookmarklet" title="Drag me!">ffffallback</a>