From f8321b2845c125a33fb9ddb6d1c011eb37096e4f Mon Sep 17 00:00:00 2001 From: Beau Simensen Date: Mon, 29 Jul 2013 22:49:59 -0500 Subject: [PATCH 1/2] Framework for handling specs and proposals. --- source/_views/default.html | 22 +++++++++ source/_views/spec.html | 12 +++++ source/css/style.css | 39 ++++++++++++++-- source/index.html | 96 +++++++++++++++++++++----------------- source/specs/1.md | 24 ++++++++++ source/specs/2.md | 66 ++++++++++++++++++++++++++ source/specs/3.md | 55 ++++++++++++++++++++++ 7 files changed, 266 insertions(+), 48 deletions(-) create mode 100644 source/_views/spec.html create mode 100644 source/specs/1.md create mode 100644 source/specs/2.md create mode 100644 source/specs/3.md diff --git a/source/_views/default.html b/source/_views/default.html index 609facf..a6faa0b 100644 --- a/source/_views/default.html +++ b/source/_views/default.html @@ -15,8 +15,30 @@ + +
+

Stack

+

Composing HttpKernelInterface middlewares since 2013!

+

+

+

+
+
+ +
+ {% block content_wrapper %}{% block content %}{% endblock %}{% endblock %}
diff --git a/source/_views/spec.html b/source/_views/spec.html new file mode 100644 index 0000000..438d8fd --- /dev/null +++ b/source/_views/spec.html @@ -0,0 +1,12 @@ +{% extends "default.html" %} +{% block content_wrapper %} +
+

{{ page.title }} {{ page.status }}

+
+
+ + {% block content %} +

This proposal has no content.

+ {% endblock %} +
+{% endblock %} diff --git a/source/css/style.css b/source/css/style.css index 85391f0..f0cb8a1 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -1,3 +1,22 @@ +.anchor { + font-size: .75em; + text-decoration: none; + visibility: hidden; +} + +h2:hover .anchor { + visibility: visible; + text-decoration: none; +} + +h3 a, h3 a:hover { + color: inherit; + text-decoration: none; +} + +h2 .label, +h3 .label { vertical-align: middle; } + .jumbotron { text-align: center; margin: 2em 0; @@ -12,14 +31,20 @@ } .jumbotron h1 { + display: inline-block; + font-size: 4em; + line-height: 1em; +} + +.jumbotron h1 a { display: inline-block; background-image: url(stack-logo.png); background-position: left; background-repeat: no-repeat; background-size: contain; - font-size: 5em; - line-height: 1em; text-indent: 1em; + color: inherit; + text-decoration: none; } .jumbotron p.tagline { @@ -107,7 +132,7 @@ ol.conventions .no { } @media (max-width: 767px) { - .jumbotron a.btn { + .jumbotron .nav a.btn { font-size: 12px; padding: 5px 9px; } @@ -127,12 +152,16 @@ ol.conventions .no { } @media (min-width: 768px) { - .jumbotron { + .jumbotron.huge { font-size: 2em; margin-bottom: 2em; } - .jumbotron a.btn { + .jumbotron .nav { + margin-bottom: 0; + } + + .jumbotron .nav a.btn { margin-top: 1em; } diff --git a/source/index.html b/source/index.html index 1f1c182..4364332 100644 --- a/source/index.html +++ b/source/index.html @@ -1,28 +1,9 @@ --- layout: default +is_homepage: true --- {% block full_title %}{{ site.title }} — {{ site.subtitle }}{% endblock %} {% block content %} -
-

Stack

-

Composing HttpKernelInterface middlewares since 2013!

-

-

-

-
- -
-

A common layer

@@ -168,32 +149,61 @@

Backstage

-