From 736ec8c09a0de5adabea40a7b470204df17515bf Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 7 May 2018 20:26:17 +0100 Subject: [PATCH] Implement secondary "navbar" containing top buttons. --- redesign/index.html | 21 +++++++++++++++++++++ redesign/nimforum.scss | 11 +++++++++++ 2 files changed, 32 insertions(+) diff --git a/redesign/index.html b/redesign/index.html index 606a07c..a11e367 100644 --- a/redesign/index.html +++ b/redesign/index.html @@ -9,6 +9,7 @@ The Nim programming language forum + @@ -29,6 +30,26 @@ + + \ No newline at end of file diff --git a/redesign/nimforum.scss b/redesign/nimforum.scss index 2f7065c..e4766d5 100644 --- a/redesign/nimforum.scss +++ b/redesign/nimforum.scss @@ -7,6 +7,12 @@ $dark-color: #3e396b; // Import full Spectre source code @import "spectre/src/spectre"; +// Global styles. +// - TODO: Make these non-global. +.btn { + margin-left: $control-padding-x; +} + // Custom styles. // - Navigation bar. $navbar-height: 60px; @@ -24,5 +30,10 @@ $logo-height: $navbar-height - 20px; .navbar-control { margin-left: $control-padding-x; +} +// - Main buttons +#main-buttons { + margin-top: $control-padding-y; + margin-bottom: $control-padding-y; } \ No newline at end of file