From e9e2562178f8b33ce60cdd8d30a63d97fb9184da Mon Sep 17 00:00:00 2001 From: Dave Marshall Date: Fri, 19 Jul 2013 00:31:40 +0100 Subject: [PATCH 01/66] Add RickrollRoulette --- source/index.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/index.html b/source/index.html index eb34859..a9645bb 100644 --- a/source/index.html +++ b/source/index.html @@ -158,6 +158,13 @@

IpRestrict

GitHub +
+

RickrollRoulette

+

Stack middleware for randomly rickrolling clients.

+
+ GitHub +
+
From 5ed284d180889d65a389b77fc213b1f2efc57bc5 Mon Sep 17 00:00:00 2001 From: Dave Marshall Date: Wed, 24 Jul 2013 09:25:51 +0100 Subject: [PATCH 02/66] Replace RickrollRoulette with Backstage --- source/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/index.html b/source/index.html index a9645bb..1f1c182 100644 --- a/source/index.html +++ b/source/index.html @@ -159,10 +159,10 @@

IpRestrict

-

RickrollRoulette

-

Stack middleware for randomly rickrolling clients.

+

Backstage

+

Stack middleware for displaying maintenance pages.

From ec522136789a2e8886ff0ddd3905be2a431f9144 Mon Sep 17 00:00:00 2001 From: Beau Simensen Date: Mon, 29 Jul 2013 21:14:16 -0500 Subject: [PATCH 03/66] Update spacing for community middlewares. --- source/css/style.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/css/style.css b/source/css/style.css index bf23f01..078f63d 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -51,6 +51,7 @@ pre code.php { font-size: 50px; } + @media (max-width: 767px) { .jumbotron a.btn { font-size: 12px; @@ -132,6 +133,10 @@ ol.conventions .no { margin-right: 0.5em; margin-top: -0.2em; } + + .middlewares div.row-fluid h3 { + margin-top: 20px; + } } @media (min-width: 768px) { @@ -143,4 +148,8 @@ ol.conventions .no { .text li, { margin-top: 10px; } + + .middlewares div.row-fluid:not(:nth-of-type(1)) { + margin-top: 2em; + } } From 212397cee5f4d68f0a1a1702a331689df5115c1d Mon Sep 17 00:00:00 2001 From: Beau Simensen Date: Mon, 29 Jul 2013 21:20:35 -0500 Subject: [PATCH 04/66] Consolidated media selectors. --- source/css/style.css | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/source/css/style.css b/source/css/style.css index 078f63d..85391f0 100644 --- a/source/css/style.css +++ b/source/css/style.css @@ -51,24 +51,6 @@ pre code.php { font-size: 50px; } - -@media (max-width: 767px) { - .jumbotron a.btn { - font-size: 12px; - padding: 5px 9px; - } -} - -@media (min-width: 768px) { - .jumbotron { - font-size: 2em; - margin-bottom: 2em; - } - .jumbotron a.btn { - margin-top: 1em; - } -} - figure { text-align: center; } @@ -125,6 +107,11 @@ ol.conventions .no { } @media (max-width: 767px) { + .jumbotron a.btn { + font-size: 12px; + padding: 5px 9px; + } + ol.conventions li { padding-top: 0.2em; } @@ -140,6 +127,15 @@ ol.conventions .no { } @media (min-width: 768px) { + .jumbotron { + font-size: 2em; + margin-bottom: 2em; + } + + .jumbotron a.btn { + margin-top: 1em; + } + .text p, .text ul, .text ol { font-size: 1.4em; line-height: 1.6em; From f8321b2845c125a33fb9ddb6d1c011eb37096e4f Mon Sep 17 00:00:00 2001 From: Beau Simensen Date: Mon, 29 Jul 2013 22:49:59 -0500 Subject: [PATCH 05/66] 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

-