Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use stylus

  • Loading branch information...
commit c96274cb8f3f3e9b6b4a6e3b01f6596dba930240 1 parent 4e9a3bb
@Hanse Hanse authored
View
2  .gitignore
@@ -0,0 +1,2 @@
+.DS_Store
+node_modules
View
5 Makefile
@@ -1,4 +1,7 @@
-all: build
+all: css/style.css
+
+css/style.css: css/style.styl
+ stylus --use ./node_modules/nib/lib/nib css/style.styl
build:
jekyll build
View
109 css/style.css
@@ -0,0 +1,109 @@
+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,
+dl,
+dt,
+dd,
+ol,
+ul,
+li,
+fieldset,
+form,
+label,
+legend,
+table,
+caption,
+tbody,
+tfoot,
+thead,
+tr,
+th,
+td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-family: inherit;
+ font-size: 100%;
+ vertical-align: baseline;
+}
+body {
+ line-height: 1;
+ color: #000;
+ background: #fff;
+}
+ol,
+ul {
+ list-style: none;
+}
+table {
+ border-collapse: separate;
+ border-spacing: 0;
+ vertical-align: middle;
+}
+caption,
+th,
+td {
+ text-align: left;
+ font-weight: normal;
+ vertical-align: middle;
+}
+a img {
+ border: none;
+}
+* {
+ margin: 0;
+ padding: 0;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ -webkit-font-smoothing: antialiased;
+}
+html {
+ border-top: 10px dashed #f1ede9;
+}
+body {
+ font-family: 'Helvetica Neue', sans-serif;
+ line-height: 2;
+ color: #666;
+ font-size: 18px;
+ background: #fefefe;
+}
View
20 css/style.styl
@@ -0,0 +1,20 @@
+@import "nib/reset"
+@import "nib/vendor"
+
+global-reset()
+
+*
+ margin 0
+ padding 0
+ box-sizing border-box
+ font-smoothing antialiased
+
+html
+ border-top 10px dashed #F1EDE9
+
+body
+ font-family 'Helvetica Neue', sans-serif
+ line-height 2
+ color #666
+ font-size 18px
+ background #fefefe
View
7 index.html
@@ -1,11 +1,14 @@
---
layout: default
-title:
+title: Webkomblogg
---
{% for post in site.posts %}
<article>
- <h2><a href="{{post.url}}">{{post.title}} <span>&rarr;</span></a></h2>
+ <header>
+ <h2><a href="{{post.url}}">{{post.title}}</a></h2>
+ <p>Skrevet av {{post.author}} <time>{{post.date}}</time></p>
+ </header>
{{ post.content }}
</article>
Please sign in to comment.
Something went wrong with that request. Please try again.