From 51956c3abd8789a87c19bc71c6592d4e052e5dea Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Wed, 26 Feb 2020 21:56:25 -0800 Subject: Optionnal footer support --- app.css | 4 ++++ app.scss | 10 ++++++++++ config.yml | 2 +- index.html | 9 +++------ 4 files changed, 18 insertions(+), 7 deletions(-) diff --git a/app.css b/app.css index 2cdb507..b514059 100644 --- a/app.css +++ b/app.css @@ -230,6 +230,10 @@ body { color: #676767; font-size: 0.85rem; transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } + body .no-footer #main-section { + margin-bottom: 0; } + body .no-footer .footer { + display: none; } body .search-bar { position: relative; display: inline-block; } diff --git a/app.scss b/app.scss index 476ee09..a0b1d42 100644 --- a/app.scss +++ b/app.scss @@ -302,6 +302,16 @@ body { transition: background-color cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; } + .no-footer { + #main-section { + margin-bottom: 0; + } + + .footer { + display: none; + } + } + .search-bar { position: relative; display: inline-block; diff --git a/config.yml b/config.yml index fa29d65..e8c4352 100644 --- a/config.yml +++ b/config.yml @@ -6,9 +6,9 @@ title: "Demo homepage" subtitle: "Homer" logo: "assets/logo.png" # icon: "fas fa-skull-crossbones" Optional icon +footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. # Optional message -# message: # url: https://.... style: "is-dark" # See https://bulma.io/documentation/components/message/#colors for styling options. diff --git a/index.html b/index.html index 4bc82c1..070656d 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ -
+
@@ -104,11 +104,8 @@
-- cgit v1.2.3