Skip to content

Commit

Permalink
added first files for website
Browse files Browse the repository at this point in the history
  • Loading branch information
pyotrgalois committed Jun 18, 2014
1 parent aa2a7b9 commit 088402f
Show file tree
Hide file tree
Showing 5 changed files with 230 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 404.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
h1 404
h3 Whoops. Looks like what you're looking for can't be found.
6 changes: 6 additions & 0 deletions _layout.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
doctype
html
head
link(rel="stylesheet" href="/main.css")
body
!= yield
183 changes: 183 additions & 0 deletions _normalize.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,183 @@
normalize() // v3.0.0
html
font-family sans-serif
-ms-text-size-adjust 100%
-webkit-text-size-adjust 100%

body
margin 0

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary
display block

audio,
canvas,
progress,
video
display inline-block
vertical-align baseline

audio
&:not([controls])
display none
height 0

[hidden],
template
display none

a
background transparent

a:active,
a:hover
outline 0

abbr[title]
border-bottom 1px dotted

b,
strong
font-weight bold

dfn
font-style italic

h1
font-size 2em
margin 0.67em 0

mark
background #ff0
color #000

small
font-size 80%

sub,
sup
font-size 75%
line-height 0
position relative
vertical-align baseline

sup
top -0.5em

sub
bottom -0.25em

img
border 0

svg
&:not(:root)
overflow hidden

figure
margin 1em 40px

hr
-moz-box-sizing content-box
box-sizing content-box
height 0

pre
overflow auto

code,
kbd,
pre,
samp
font-family monospace, monospace
font-size 1em

button,
input,
optgroup,
select,
textarea
color inherit
font inherit
margin 0

button
overflow visible

button,
select
text-transform none

button,
html input[type="button"],
input[type="reset"],
input[type="submit"]
-webkit-appearance button
cursor pointer

button[disabled],
html input[disabled]
cursor default

button::-moz-focus-inner,
input::-moz-focus-inner
border 0
padding 0

input
line-height normal

input[type="checkbox"],
input[type="radio"]
box-sizing border-box
padding 0

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button
height auto

input[type="search"]
-webkit-appearance textfield
-moz-box-sizing content-box
-webkit-box-sizing content-box
box-sizing content-box

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration
-webkit-appearance none

fieldset
border 1px solid #c0c0c0
margin 0 2px
padding 0.35em 0.625em 0.75em

legend
border 0
padding 0

textarea
overflow auto

optgroup
font-weight bold

table
border-collapse collapse
border-spacing 0

td,
th
padding 0

normalize()
9 changes: 9 additions & 0 deletions index.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
section#intro
h1
span="Spawned Shelter"
p="Learning about Erlang development is not easy — especially since great resources on how to do this are hard to find. This page is a collection of the best articles, videos and presentations we've found on the topic."

section#toc
ol
li
a="Why Erlang?"
30 changes: 30 additions & 0 deletions main.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@import "_nib"
@import "_normalize"

global-reset()
reset-html5()

html
margin: 0
padding: 0
height: 100%
width: 100%
overflow: auto
overflow-y: scroll

body
font 12px Helvetica, Arial, sans-serif
margin: 0
padding: 0
height: 100%
width: 100%

ol
list-style-type: decimal

#intro
background-color: #be2826
height: 100%

#toc
height: 100%

0 comments on commit 088402f

Please sign in to comment.