Skip to content

Commit

Permalink
Merge pull request lloyd#43 from shane-tomlinson/master
Browse files Browse the repository at this point in the history
IE8/W3C validation fixes.
  • Loading branch information
lloyd committed Jan 18, 2012
2 parents 73ead47 + 02f016b commit d3a6011
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
12 changes: 6 additions & 6 deletions static/index.html
@@ -1,4 +1,4 @@
<!doctype html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
Expand Down Expand Up @@ -28,12 +28,12 @@ <h1 id="title">My Favorite Beer</h1>


<div class="intro"> <div class="intro">
<p> <p>
<strong>MyFavoriteBeer.org</strong> helps you remember your own favorite beer <strong>MyFavoriteBeer.org</strong> helps you remember your own favorite beer
<strong>in the cloud</strong>. This is useful for times when you are in a bar and <strong>in the cloud</strong>. This is useful for times when you are in a bar and
<strong>cannot remember</strong> what your <strong>favorite beer</strong> is. <strong>cannot remember</strong> what your <strong>favorite beer</strong> is.
</p> </p>
<p> <p>
To get started, sign in above! This <em>awesome</em> service is To get started, sign in above! This <em>awesome</em> service is
<strong>totally free</strong>! <strong>totally free</strong>!
</p> </p>
</div> </div>
Expand All @@ -55,7 +55,7 @@ <h1 id="title">My Favorite Beer</h1>
<footer> <footer>
<div> <div>
MyFavoriteBeer.org is a simple demo of how to use MyFavoriteBeer.org is a simple demo of how to use
<a href="https://browserid.org"><img src="i/browserid_logo_sm.png" alt="BrowserID"></a> <a href="https://browserid.org"><img src="i/browserid_logo_sm.png" alt="BrowserID" /></a>
to build a snazzy passphraseless login flow. You can refer to the to build a snazzy passphraseless login flow. You can refer to the
<a href="https://github.com/lloyd/myfavoritebeer.org/">source code</a> for <a href="https://github.com/lloyd/myfavoritebeer.org/">source code</a> for
details. (a <a href="http://mozillalabs.com">mozilla labs</a> thing). details. (a <a href="http://mozillalabs.com">mozilla labs</a> thing).
Expand All @@ -68,9 +68,9 @@ <h1 id="title">My Favorite Beer</h1>
</div> </div>
</footer> </footer>


</body>
<script src="https://browserid.org/include.js" type="text/javascript"></script> <script src="https://browserid.org/include.js" type="text/javascript"></script>
<script src="js/jquery.js" type="text/javascript"></script> <script src="js/jquery.js" type="text/javascript"></script>
<script src="https://crypto-js.googlecode.com/files/2.2.0-crypto-md5.js" type="text/javascript"></script> <script src="https://crypto-js.googlecode.com/files/2.2.0-crypto-md5.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script> <script src="js/main.js" type="text/javascript"></script>
</body>
</html> </html>
13 changes: 10 additions & 3 deletions static/style.less
Expand Up @@ -32,11 +32,13 @@ header {
left: 0; left: 0;
height: 50px; height: 50px;
width: 100%; width: 100%;
border-bottom: 2px solid rgb(15, 38, 61);
border-bottom: 2px solid rgba(15, 38, 61, 0.5); border-bottom: 2px solid rgba(15, 38, 61, 0.5);
-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); box-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
z-index: 10; z-index: 10;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
opacity: .8; opacity: .8;


> div { > div {
Expand Down Expand Up @@ -77,6 +79,7 @@ header {
text-align: center; text-align: center;
} }
.clickable:hover { .clickable:hover {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
opacity: .5; opacity: .5;
cursor: pointer; cursor: pointer;
} }
Expand Down Expand Up @@ -137,31 +140,35 @@ footer {
left: 0; left: 0;
right: 0; right: 0;
height: 75px; height: 75px;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
opacity: .8; opacity: .8;


a { a {
color: #000; color: #000;
} }


a:hover { a:hover {
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
opacity: .5; opacity: .5;
} }


> div { > div {
img {
border: none;
margin-bottom: -.5em;
}
width: 600px; width: 600px;
margin: auto; margin: auto;
margin-top: 10px; margin-top: 10px;
font-size: .8em; font-size: .8em;
text-align: center; text-align: center;
img {
margin-bottom: -.5em;
}
font-weight: 200; font-weight: 200;
} }


small { small {
display: block; display: block;
font-size: .8em; font-size: .8em;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
opacity: .8; opacity: .8;
margin-top: 1.5em; margin-top: 1.5em;
} }
Expand Down

0 comments on commit d3a6011

Please sign in to comment.