From b3be57a55584ab20aa18659c2f8ad57f7ab5ca21 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 27 Jun 2017 01:02:54 +0200 Subject: [PATCH] unify server & drivers backgrounds --- _src/_assets/styles/_page-getstarted.scss | 37 ++++--- _src/start.html | 114 +++++++++++----------- 2 files changed, 78 insertions(+), 73 deletions(-) diff --git a/_src/_assets/styles/_page-getstarted.scss b/_src/_assets/styles/_page-getstarted.scss index fddb6aa..949d779 100644 --- a/_src/_assets/styles/_page-getstarted.scss +++ b/_src/_assets/styles/_page-getstarted.scss @@ -38,7 +38,7 @@ height: 3rem; border-radius: 50%; font-size: $font-size-lg; - vertical-align: 0.4rem; + vertical-align: .4rem; background: $headings-color; color: $gray; font-weight: 400; @@ -69,6 +69,10 @@ // .section--server { padding-bottom: 0; + + .btn { + margin-top: $spacer / 2; + } } .starbase { @@ -101,7 +105,7 @@ position: relative; z-index: 1; margin-bottom: -1.45%; - opacity: 0.7; + opacity: .7; } // surface layer @@ -112,24 +116,16 @@ left: -5%; right: -5%; bottom: 0; - background: #5d6f82; + background: lighten($gray, 8%); height: 24%; width: calc(100vw + 10%); } } .starbase--drivers { - margin-bottom: $spacer * 2; - - // horizon layer - &:before { - background: darken($gray, 3%); - } - .starbase__image { // surface layer &:before { - background: lighten($gray, 2%); height: 37%; } @@ -140,15 +136,16 @@ } } -.serverchoice { - background: #536476; +.choice { + background: lighten($gray, 3%); padding-top: $spacer * 4; padding-bottom: $spacer * 4; } -.serverchoice__title { +.choice__title { font-size: $font-size-h3; margin-top: 0; + margin-bottom: $spacer * $line-height; // the bottom line &:after { @@ -156,7 +153,7 @@ height: 2px; width: 3rem; display: block; - margin: ($spacer * 2) 0 0; + margin: ($spacer * $line-height) 0 0; background: $gray-light; } } @@ -169,6 +166,14 @@ } } +.section--drivers { + padding-bottom: 0; + + .choice__title { + margin-bottom: $spacer * 2; + } +} + .driver { padding: $spacer; background: rgba($brand-main-blue-light, .15); @@ -231,7 +236,7 @@ } .driver__version { - opacity: 0.75; + opacity: .75; } .driver--community { diff --git a/_src/start.html b/_src/start.html index 6b5a38d..3cb07ad 100644 --- a/_src/start.html +++ b/_src/start.html @@ -97,7 +97,7 @@ redirect_from: - -
+
+
-
-
+
+
-

Official drivers

+

Official drivers

-
+
- {% for driver in site.data.drivers.official %} - - {% endfor %}
+
-
-
+

Official tools

+
-

Official tools

-
+ {% for driver in site.data.drivers.tools %} + - {% endfor %} -
+
+

Community drivers

+
-
+ {% for driver in site.data.drivers.community %} + +