Permalink
Browse files

Bringing in twitter bootstrap and starting index.html

  • Loading branch information...
1 parent 0321a71 commit 664e207feeee0787480b23badcec69583ebb5d8d Zach Moazeni committed May 8, 2012
View
@@ -1,7 +1,8 @@
window.placeArrows = ->
+ min_max = $.unique($("#timeline li").map((e) -> parseInt($(this).css("left")) )).sort()
$("#timeline li").each ->
$e = $(@)
- if $e.css("left") == "40px"
+ if parseInt($e.css("left")) == min_max[0]
$e.attr("data-align", "l")
else
$e.attr("data-align", "r")
View
Oops, something went wrong.
View
@@ -12,7 +12,7 @@ section {
position: absolute;
top: 0px;
bottom: 0px;
- left: 468px;
+ left: 428px;
}
/* line 17, ../sass/site.scss */
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,58 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>gitspective</title>
+ <link href="css/bootstrap.min.css" media="all" rel="stylesheet" type="text/css" />
+ <link href="css/site.css" media="all" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ <header>
+ <h1><img src="https://secure.gravatar.com/avatar/d46a89672353a9c5258e187c8095ea40?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" alt="zmoazeni's gravatar" /> Zach Moazeni (zmoazeni)</h1>
+ <ul>
+ <li>blog: http://collectiveidea.com</li>
+ <li>email: zach.moazeni@gmail.com</li>
+ </ul>
+ </header>
+ <div id="recent-repos">
+ <h1>Recent Repos</h1>
+ <ol>
+ <li><a href="https://github.com/zmoazeni/my_styles.git">my_styles</a> - My custom generators</li>
+ <li><a href="https://github.com/zmoazeni/my_styles.git">harvested</a> - A Ruby Wrapper for the Harvest API http://www.getharvest.com/</li>
+ <li><a href="https://github.com/zmoazeni/my_styles.git">karkeze</a> - Experimenting with Haskell and Full Text Search</li>
+ </ol>
+ </div>
+
+ <div id="recent-gists">
+ <h1>Recent Gists</h1>
+ <ol>
+ <li><a href="">https://api.github.com/gists/2550988</a></li>
+ <li><a href="">https://api.github.com/gists/2512012</a></li>
+ <li><a href="">https://api.github.com/gists/2550988</a></li>
+ </ol>
+ </div>
+
+ <section>
+ <div id="timeline-line">
+ </div>
+
+ <ol id="timeline">
+ <li style="height: 80px"><span class="corner"></span>foo</li>
+ <li><span class="corner"></span>bar</li>
+ <li><span class="corner"></span>foo asdlfj asdlfkj asdlfkj a alfkj aslfkj asf
+ ajf
+ a dflaskjdf alsdkfj aslfkj asdlfkj aslfkajs flaksjdf alskjfaslkfj aslfkj aslfkj aslfkjsa flkasjflaskjf aslkjf salkfj aslkfj aslfkjas lfkjsa lfakjs flksaj fl</li>
+ <li><span class="corner"></span>bar</li>
+ <li><span class="corner"></span>foo</li>
+ <li><span class="corner"></span>bar</li>
+ <li><span class="corner"></span>foo</li>
+ <li><span class="corner"></span>bar</li>
+ </ol>
+ </section>
+
+
+ <script src="js-lib/jquery.min.js" type="text/javascript"></script>
+ <script src="js-lib/jquery.masonry.min.js" type="text/javascript"></script>
+ <script src="js-lib/bootstrap.min.js" type="text/javascript"></script>
+ <script src="js/site.js" type="text/javascript"></script>
+</body>
+</html>
Oops, something went wrong.
View
@@ -1,10 +1,14 @@
(function() {
window.placeArrows = function() {
+ var min_max;
+ min_max = $.unique($("#timeline li").map(function(e) {
+ return parseInt($(this).css("left"));
+ })).sort();
return $("#timeline li").each(function() {
var $e;
$e = $(this);
- if ($e.css("left") === "40px") {
+ if (parseInt($e.css("left")) === min_max[0]) {
return $e.attr("data-align", "l");
} else {
return $e.attr("data-align", "r");
View
@@ -11,7 +11,7 @@ section {
position: absolute;
top: 0px;
bottom: 0px;
- left: 468px;
+ left: 428px;
}
#timeline {

0 comments on commit 664e207

Please sign in to comment.