Skip to content

Commit 62b3c6a

Browse files
committed
refactored & revamped from a fresh middleman project
1 parent c63c63b commit 62b3c6a

14 files changed

+252
-192
lines changed

.DS_Store

6 KB
Binary file not shown.

README

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<style type="text/css">
5+
body { text-align:center;font-family:helvetica,arial;font-size:22px;
6+
color:#888;margin:20px}
7+
#c {margin:0 auto;width:500px;text-align:left}
8+
</style>
9+
</head>
10+
<body>
11+
<h2>Sinatra doesn&rsquo;t know this ditty.</h2>
12+
<img src='http://example.org/__sinatra__/404.png'>
13+
<div id="c">
14+
Try this:
15+
<pre>get '/README' do
16+
"Hello World"
17+
end</pre>
18+
</div>
19+
</body>
20+
</html>

fancy-hovers/index.html

+30-8
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
<title>Compass fancy-hover</title>
1212
<meta content='' name='description'>
1313
<meta content='' name='author'>
14-
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
14+
<!-- %meta{:name =>"viewport", :content => "width=device-width, initial-scale=1.0"} -->
1515
<link href='/favicon.ico' rel='shortcut icon'>
16-
<link href='/stylesheets/style.css?v=2' rel='stylesheet'>
16+
<link href='/apple-touch-icon.png' rel='apple-touch-icon'>
17+
<link href='/stylesheets/style.css?v=1' rel='stylesheet'>
1718
<script src='/javascripts/libs/modernizr-1.7.min.js'></script>
1819
</head>
1920
<body>
@@ -43,20 +44,41 @@ <h1>Here are some fancy hovers:</h1>
4344
<p>They use <a href="http://www.alistapart.com/articles/understanding-css3-transitions/">CSS3 transitions</a> to ramp the opacity of the hover state. Pretty slick, eh?</p>
4445
</section>
4546
<section>
46-
<h1>Here's the <a href="http://compass-style.org/">Compass</a>-generated <a href="http://compass-style.org/help/tutorials/spriting/">spritesheet</a>:</h1>
47+
<h1>Here's the <a href="http://compass-style.org/">Compass</a> generated <a href="http://compass-style.org/help/tutorials/spriting/">spritesheet</a>:</h1>
4748
<div id='sprite'>
48-
<img alt='the generated sprite' src='/images/hovertest-7cd2242a05.png'>
49+
<img alt='Compass-generated spritesheet' src='/images/my_sprites-767a2f24d0.png'>
4950
</div>
5051
<p>Didn't have to make this by hand. Thanks Compass!</p>
5152
</section>
5253
<section>
53-
<h1>
54-
Get the source code for this mixin
55-
<a href='https://gist.github.com/959764'>here</a>
56-
</h1>
54+
<h1>Get the source code for this mixin <a href="https://gist.github.com/959764">here</a>.</h1>
5755
</section>
5856
</div>
5957
<footer></footer>
6058
</div>
59+
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js'></script>
60+
<script>
61+
//<![CDATA[
62+
window.jQuery || document.write("<script src='javascripts/libs/jquery-1.5.1.min.js'>\x3C/script>")
63+
//]]>
64+
</script>
65+
<!-- %script{:src => "/javascripts/plugins.js"} -->
66+
<!-- %script{:src => "/javascripts/script.js"} -->
67+
<!--[if lt IE 7 ]>
68+
<script src='/javascripts/libs/dd_belatedpng.js'></script>
69+
<script>
70+
//<![CDATA[
71+
DD_belatedPNG.fix("img, .png_bg"); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb
72+
//]]>
73+
</script>
74+
<![endif]-->
75+
<script>
76+
//<![CDATA[
77+
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
78+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
79+
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
80+
s.parentNode.insertBefore(g,s)}(document,"script"));
81+
//]]>
82+
</script>
6183
</body>
6284
</html>

images/my_sprites-767a2f24d0.png

4.84 KB
Loading

images/my_sprites/facebook_off.png

1.56 KB
Loading

images/my_sprites/facebook_on.png

1.6 KB
Loading

images/my_sprites/forrst_off.png

1.71 KB
Loading

images/my_sprites/forrst_on.png

1.75 KB
Loading

images/my_sprites/rss_off.png

1.81 KB
Loading

images/my_sprites/rss_on.png

1.88 KB
Loading

images/my_sprites/twitter_off.png

1.65 KB
Loading

images/my_sprites/twitter_on.png

1.67 KB
Loading

index.html

+27-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
<title>nathos @ github</title>
1212
<meta content='' name='description'>
1313
<meta content='' name='author'>
14-
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
14+
<!-- %meta{:name =>"viewport", :content => "width=device-width, initial-scale=1.0"} -->
1515
<link href='/favicon.ico' rel='shortcut icon'>
16-
<link href='/stylesheets/style.css?v=2' rel='stylesheet'>
16+
<link href='/apple-touch-icon.png' rel='apple-touch-icon'>
17+
<link href='/stylesheets/style.css?v=1' rel='stylesheet'>
1718
<script src='/javascripts/libs/modernizr-1.7.min.js'></script>
1819
</head>
1920
<body>
@@ -29,5 +30,29 @@ <h1>What's here?</h1>
2930
</div>
3031
<footer></footer>
3132
</div>
33+
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js'></script>
34+
<script>
35+
//<![CDATA[
36+
window.jQuery || document.write("<script src='javascripts/libs/jquery-1.5.1.min.js'>\x3C/script>")
37+
//]]>
38+
</script>
39+
<!-- %script{:src => "/javascripts/plugins.js"} -->
40+
<!-- %script{:src => "/javascripts/script.js"} -->
41+
<!--[if lt IE 7 ]>
42+
<script src='/javascripts/libs/dd_belatedpng.js'></script>
43+
<script>
44+
//<![CDATA[
45+
DD_belatedPNG.fix("img, .png_bg"); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb
46+
//]]>
47+
</script>
48+
<![endif]-->
49+
<script>
50+
//<![CDATA[
51+
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]];
52+
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
53+
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
54+
s.parentNode.insertBefore(g,s)}(document,"script"));
55+
//]]>
56+
</script>
3257
</body>
3358
</html>

0 commit comments

Comments
 (0)