From c66ad88d2b1de0e33ae947c27ad1d599097824f5 Mon Sep 17 00:00:00 2001 From: Bruno Dias Date: Mon, 13 Apr 2015 17:50:46 -0300 Subject: [PATCH] Set up site --- _includes/head.html | 2 +- _includes/header.html | 4 ++- _layouts/default.html | 2 ++ _layouts/post.html | 40 ++++++++++++++++++----- _posts/2015-04-14-announcing-raconteur.md | 6 ---- _sass/_styles.scss | 15 +++++---- css/main.scss | 2 +- index.html | 35 ++++++++++++-------- news.html | 5 +-- 9 files changed, 68 insertions(+), 43 deletions(-) delete mode 100644 _posts/2015-04-14-announcing-raconteur.md diff --git a/_includes/head.html b/_includes/head.html index 382555d..77f472b 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,7 +6,7 @@ {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - + diff --git a/_includes/header.html b/_includes/header.html index 51e7eaf..6a90a72 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,6 +1,7 @@ diff --git a/_layouts/default.html b/_layouts/default.html index 3e2b35e..8dca329 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,9 +3,11 @@ {% include head.html %} {% include header.html %} +
{{ content }}
+
{% include footer.html %} diff --git a/_layouts/post.html b/_layouts/post.html index a2b4e52..b9d7113 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,15 +1,37 @@ ---- -layout: default ---- -
+ + +{% include head.html %} + + {% include header.html %} +
+
-
-

{{ page.title }}

- +
+ +
+

{{ page.title }}

+
+
+ {% if page.author %} + + {% endif %} + +
+
+
-
- {{ content }} +
+
+
+
+ {{ content }} +
+
+
+ + \ No newline at end of file diff --git a/_posts/2015-04-14-announcing-raconteur.md b/_posts/2015-04-14-announcing-raconteur.md deleted file mode 100644 index 622e27f..0000000 --- a/_posts/2015-04-14-announcing-raconteur.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: post -title: Announcing Raconteur ---- - -(Watch this space) \ No newline at end of file diff --git a/_sass/_styles.scss b/_sass/_styles.scss index 2f94ecb..cfe04e0 100644 --- a/_sass/_styles.scss +++ b/_sass/_styles.scss @@ -1,12 +1,10 @@ /* Definitions */ -$brand_background: #E24D00; +$brand_background: #009688; .site-title { - text-align: center; - } .top { @@ -20,7 +18,9 @@ $brand_background: #E24D00; .bright { padding-top: 2rem; - background: $brand_background; + $color: transparentize($brand_background, 0.1); + background: linear-gradient($color, $color), + white url(../img/bg.jpg) center/cover; h1, h2, h3, h4, h5, h6, p { color: white; @@ -28,7 +28,6 @@ $brand_background: #E24D00; a { color: white; - border-bottom: 1px solid white; } } @@ -53,6 +52,8 @@ pre:first-child { } .post-meta { - padding-top: 2rem; - padding-bottom: 2rem; + margin: 0; + font-size: 1.8rem; + text-align: right; + } \ No newline at end of file diff --git a/css/main.scss b/css/main.scss index 5f695ab..795e0a1 100644 --- a/css/main.scss +++ b/css/main.scss @@ -5,4 +5,4 @@ @import "normalize.css"; @import "skeleton.css"; -@import "styles", "syntax-highlighting"; +@import "type", "styles", "syntax-highlighting"; diff --git a/index.html b/index.html index 235dc25..53446d5 100644 --- a/index.html +++ b/index.html @@ -36,11 +36,11 @@ layout: noheader
{% highlight coffeescript %} - situation 'west-of-house', - content: """ - You are standing in an open field west of a white house, - with a boarded up front door. - """ +situation 'west-of-house', + content: """ + You are standing in an open field west of a + white house, with a boarded up front door. + """ {% endhighlight %}
@@ -50,9 +50,16 @@ layout: noheader

The Raconteur scaffold comes with everything you need to get started, configured out of the box to use a build system, CSS preprocessor, and - bundler. Don't worry too much if you don't know what any of those are: - I promise they're helpful. + bundler. Armed with a text editor (We like + Sublime), you can start writing + your story and prose, rather than support code.

+

+ The scaffold is set up to automate as much work as possible. You can + make stylesheet changes and watch them load immediately on a browser. + It even automates bundling your game and its assets into a .zip file you + can upload to Itch.io. +

Adaptive Text

@@ -74,13 +81,13 @@ layout: noheader
{% highlight coffeescript %} - situation 'reflecting-pool', - content: (character, system) -> """ - Looking into the pool, you find yourself feeling - #{character.sandbox.mood}. It glows with a strange - #{this.color} light. - """, - light: oneOf('blue', 'red', 'green').randomly() +situation 'reflecting-pool', + content: (character, system) -> """ + Looking into the pool, you find yourself feeling + #{character.sandbox.mood}. It glows with a + strange #{this.color} light. + """, + color: oneOf('blue', 'red', 'green').randomly() {% endhighlight %}
diff --git a/news.html b/news.html index 7a62b94..db6851f 100644 --- a/news.html +++ b/news.html @@ -2,8 +2,6 @@ layout: default --- -
-
@@ -32,5 +30,4 @@ layout: default

subscribe via RSS

-
-
+