From 8dc1ce19841a9db26770d101da2897b5eebeb64c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 27 May 2016 18:01:49 +0100 Subject: [PATCH] restyle projects page --- theme/static/src/scss/library-overrides.scss | 15 ++++----------- theme/templates/projects.html | 12 ++++-------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/theme/static/src/scss/library-overrides.scss b/theme/static/src/scss/library-overrides.scss index 8264fbd..7c07eaf 100644 --- a/theme/static/src/scss/library-overrides.scss +++ b/theme/static/src/scss/library-overrides.scss @@ -1,4 +1,3 @@ -/* @group Bootstrap Panels */ .panel-green { @include panel-variant(#139F5B, $white, #139F5B, #139F5B); } @@ -6,10 +5,7 @@ .panel-blue { @include panel-variant(#337AB7, $white, #337AB7, #337AB7); } -/* @end Bootstrap Panels */ - -/* @group Bootstrap buttons */ .btn { border-radius: 0; } @@ -17,18 +13,12 @@ .btn.btn-github { @include button-variant(#333, #F5F5F5, #D8D8D8); } -/* @end Bootstrap buttons */ - -/* @group Pygments */ .highlight > pre { background-color: transparent; font-size: $font-size-base; } -/* @end Pygments */ - -/* @group backgrounds */ .btn-primary-dark { @include button-variant($white, $brand-orange-dark, $brand-orange-dark); } @@ -38,4 +28,7 @@ color: $brand-grey-dark; } } -/* @end backgrounds */ + +section { + padding: 75px 0; +} diff --git a/theme/templates/projects.html b/theme/templates/projects.html index c119ade..4c40413 100644 --- a/theme/templates/projects.html +++ b/theme/templates/projects.html @@ -6,13 +6,9 @@ {% block content %}
-
-
-
-

{{ article.title }}

-
-
-
+
+

{{ article.title }}

+
@@ -26,7 +22,7 @@
{% if article.download_link %} - Download {{ article.title }} + Download {{ article.title }} {% endif %} {% if article.repo %} View on Github