From 878087f2350f35b3902446eadb56750bc000c714 Mon Sep 17 00:00:00 2001 From: Brian Clozel Date: Mon, 26 Jan 2015 15:53:42 +0100 Subject: [PATCH] Improve CSS layout This commit improves the page layout: * use lighter fonts for the curl command line * align download buttons * dependency choices are now using "col-xs-*" classes for mobile devices --- .../src/main/resources/static/css/spring.css | 10 ++++++++++ initializr/src/main/resources/templates/home.html | 14 +++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/initializr/src/main/resources/static/css/spring.css b/initializr/src/main/resources/static/css/spring.css index daa54b69..0ac7152e 100644 --- a/initializr/src/main/resources/static/css/spring.css +++ b/initializr/src/main/resources/static/css/spring.css @@ -3,6 +3,10 @@ body, h1, h2, h3 { font-family: "Varela Round",sans-serif; } +.top10 { + margin-top: 10%; +} + .initializr-header { color: #f1f1f1; background-color: #34302d; @@ -24,4 +28,10 @@ body, h1, h2, h3 { line-height: 30px; margin-bottom: 20px; text-transform: uppercase; +} + +kbd.curl { + color: #333; + background-color: #ddd; + font-weight: 700; } \ No newline at end of file diff --git a/initializr/src/main/resources/templates/home.html b/initializr/src/main/resources/templates/home.html index 45af8a98..432f8573 100644 --- a/initializr/src/main/resources/templates/home.html +++ b/initializr/src/main/resources/templates/home.html @@ -114,7 +114,7 @@

Project dependencies

<% dependencies.each { %> -
+

${it.name}

<% it.content.each { %>
@@ -134,30 +134,30 @@

-