Skip to content

Commit

Permalink
Added an initial version of the website.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricemach committed Sep 1, 2011
1 parent dbbd11f commit bbc62c2
Show file tree
Hide file tree
Showing 13 changed files with 871 additions and 131 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ node_modules/
lib/*.js
benchmarks/out/*.dat
benchmarks/out/*.out
tests/*.js
tests/*.js
_site
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.git*
material/
_site
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zappajs.org
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source: docs
99 changes: 99 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<!DOCTYPE html>
<html>
<head>
<title>Zappa: {{page.title}}</title>
<link rel="stylesheet" href="/css/highlight.css">
<style>
html, body {
margin: 0;
padding: 0;
color: #999;
font-family: Lucida Grande, sans-serif;
font-size: 18px;
}

html {
background-color: #000;
background-image: url(/images/zappa.png);
background-repeat: no-repeat;
background-attachment: fixed;
background-size: auto 100%;
}

h1, h2, h3, h4, h5, h6 {
font-family: Georgia;
font-weight: normal;
color: #fff;
margin-left: -20px;
}

h1 {font-size: 38px}
h2 {font-size: 32px}
h3 {font-size: 28px}
h4 {font-size: 24px}

#wrapper {
width: 700px;
margin-left: auto;
margin-right: 90px;
}

header {
margin: 0;
margin-left: -20px;
padding: 0;
}

header h1 {
margin: 0;
margin-top: -8px;
padding: 0;
font-size: 180px;
}

header a {text-decoration: none; margin: 0}

a {color: #fff}
a:hover {color: #ccc}

nav {
margin-left: -20px;
margin-top: 20px;
margin-bottom: 10px;
font-size: 22px;
text-transform: uppercase;
font-family: Lucida Grande;
}

nav a {text-decoration: none}
nav a:hover {text-decoration: underline}

ul {padding-left: 5px}

article#content {
line-height: 36px;
padding-bottom: 90px;
}
</style>
</head>
<body>
<div id="wrapper">
<nav>
<a href="/crashcourse">Crash Course</a> |
<a href="/reference">Reference</a> |
<a href="https://github.com/mauricemach/zappa/tree/master/examples">Examples</a> |
<a href="/zappa.html">Source</a>
</nav>

<header>
<h1><a href="/">zappa</a></h1>

<a href="http://github.com/mauricemach/zappa"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/assets.github.com/img/71eeaab9d563c2b3c590319b398dd35683265e85/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub"></a>
</header>

<article id="content">
{{ content }}
</article>
</div>
</body>
</html>
Loading

0 comments on commit bbc62c2

Please sign in to comment.