Skip to content
This repository has been archived by the owner on Feb 27, 2018. It is now read-only.

Commit

Permalink
First build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbetta committed Feb 19, 2012
1 parent db6e7d2 commit fd2b74c
Show file tree
Hide file tree
Showing 15 changed files with 315 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_site/
.DS_Store
.rvmrc
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
permalink: pretty
paginate: 3
5 changes: 5 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<footer>
<div class='wrapper'>
Geeks go to a country is a <a href='http://geeksoflondon.com'>Geeks of London</a> event
</div>
</footer>
5 changes: 5 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<header>
<div class='wrapper'>
<a href='/'><img src="/images/logo.png" /></a>
</div>
</header>
12 changes: 12 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<aside>
<nav>
<ul>
<li class='active'><a href='#overview'>overview</a></li>
<li><a href='#theplan'>the plan</a></li>
<li><a href='#itinerary'>itinerary</a></li>
<li><a href='#location'>location</a></li>
<li><a href='#what_is_it_going_to_cost_and_when_do_i_need_to_pay'>cost</a></li>
<li><a href='#ready_to_sign_up'>signup</a></li>
</ul>
</nav>
</aside>
35 changes: 35 additions & 0 deletions _includes/pagination.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{% if paginator.previous_page || paginator.next_page %}
<div class="pagination">

{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="previous" href="/">« Previous</a>
{% else %}
<a class="previous" href="/page{{paginator.previous_page}}">« Previous</a>
{% endif %}
{% else %}
<span class="previous disabled">« Previous</span>
{% endif %}

{% if paginator.page == 1 %}
<span class="current-page">1</span>
{% else %}
<a href="/">1</a>
{% endif %}

{% for count in (2..paginator.total_pages) %}
{% if count == paginator.page %}
<span class="current-page">{{count}}</span>
{% else %}
<a href="/page{{count}}">{{count}}</a>
{% endif %}
{% endfor %}

{% if paginator.next_page %}
<a class='next' href="/page{{paginator.next_page}}">Next »</a>
{% else %}
<span class='next'>Next »</span>
{% endif %}

</div>
{% endif %}
9 changes: 9 additions & 0 deletions _includes/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<article class="post">
<h1>
<a href="{{ post.url }}">{{ post.title }}</a>
</h1>
<p class="author">
Posted by {{post.author}} on <span class="date">{{post.date | date_to_string}}</span>
</p>
{{ post.content }}
</article>
20 changes: 20 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<title>Big Geek Trip | Geeks Of London</title>
<link rel="stylesheet" href="/css/screen.css" type="text/css" media="screen" title="stylesheet" charset="utf-8">
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
{% include header.html %}
<section>
<div class='wrapper'>
{% include navigation.html %}
<div class='content'>
{{ content }}
</div>
</div>
</section>
{% include footer.html %}
</body>
</html>
10 changes: 10 additions & 0 deletions _layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
layout: default
---
<article>
<h1>
{{ page.title }}
</h1>
<br/>
{{ page.content }}
</article>
12 changes: 12 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: default
---
<article>
<h1>
<a href="{{ page.url }}">{{ page.title }}</a>
</h1>
<p class="author">
Posted by {{page.author}} on <span class="date">{{page.date | date_to_string}}</span>
</p>
{{ page.content }}
</article>
48 changes: 48 additions & 0 deletions css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
154 changes: 154 additions & 0 deletions css/screen.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
@import url("reset.css");

body {
background-color: #efefef;
margin-top: 20px;
font-family: 'Lato', sans-serif;
line-height: 1.47em;
}

a {
color: #3c595c;
}

strong {
font-weight: bold;
}

p {
margin-bottom: 20px;
}


hr {
border: 0px;
height: 1px;
background-color: #dadada;
margin-bottom: 20px;
}

header {
background-color: #f9f9f9;
border-bottom: 1px solid #d5d5d5;
border-top: 1px solid #d5d5d5;
padding: 20px 0px;
}

section {
padding: 20px 0px;
overflow: auto;
background-color: #fff;
border-bottom: 1px solid #d5d5d5;
padding-bottom: 40px;
}

section aside {
float: left;
width: 140px;
text-align: right;
border-bottom: 1px solid #ddd;
}

section aside li {
padding: 5px 3px;
border-top: 1px solid #ddd;
font-size: 15px;
font-weight: bold;
}

section aside a {
text-decoration: none;
color: #333;
}

section aside .active {
background-color: #f9f9f9;
}

section aside .active a {
color: #3c595c;
}

section .content {
float: right;
width: 475px;
}

section article {
margin-bottom: 40px;
}

section article h1 {
font-size: 30px;
font-weight:bold;
}

section .content h2 {
font-size: 24px;
line-height: 32px;
font-weight:bold;
margin-bottom: 5px;
color: #3c595c;
border-bottom: 1px solid #dadada;
padding-bottom: 5px;
}

section .content ul {
margin-bottom: 20px;
list-style: disc outside;
margin-left: 20px;
}

section article h1 a {
text-decoration: none;
}

section article .author {
font-size: 13px;
}

section .content .info {
background-color: #f2f2f2;
padding: 10px 20px;
margin-bottom: 20px;
}

section .content .info ul {
margin-bottom: 0px;
}

.wrapper {
width: 640px;
margin: 0px auto;
}

.pagination {
background-color: #fafafa;
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
padding: 3px 5px;
text-align: center;
font-size: 13px;
}

.pagination .previous {
float: left;
text-decoration: none;
}

.pagination .next {
float: right;
text-decoration: none;
}

footer {
background-color: #fafafa;
border-bottom: 1px solid #ddd;
font-size: 0.8em;
padding: 3px 0px;
}

footer .wrapper {
width: 480px;
padding-left: 170px;
}
Binary file added images/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion index.html

This file was deleted.

0 comments on commit fd2b74c

Please sign in to comment.