From d17b21f91a7b0d94adb0002cc9c41137eee11389 Mon Sep 17 00:00:00 2001 From: horus Date: Sun, 18 Feb 2018 14:41:58 +0100 Subject: Removes tracking code if tracker url is not set + removes unnecessary css. (website) --- site/public/css/custom.css | 40 +++++++++++++++++++++++++++++ site/public/css/sticky-footer-navbar.css | 36 -------------------------- site/resources/views/layouts/base.blade.php | 20 ++++++++++----- 3 files changed, 53 insertions(+), 43 deletions(-) delete mode 100644 site/public/css/sticky-footer-navbar.css (limited to 'site') diff --git a/site/public/css/custom.css b/site/public/css/custom.css index 40b157f..b96d7ab 100644 --- a/site/public/css/custom.css +++ b/site/public/css/custom.css @@ -1,3 +1,28 @@ +html { + position: relative; + min-height: 100%; +} +body > .container { + padding: 30px 15px 0; +} + +.card-img-right { + height: 100%; + border-radius: 0 3px 3px 0; +} +.footer > .container { + margin-top: 10px; + padding-right: 15px; + padding-left: 15px; +} +.footer { + bottom: 0; + width: 100%; + /* Set the fixed height of the footer here */ + height: auto; + line-height: 60px; /* Vertically center the text there */ + background-color: #f5f5f5; + } .custom-flex-child { min-width: 0; } @@ -124,3 +149,18 @@ footer { .s-link:hover { color: inherit; } + +.flex-auto { + -ms-flex: 0 0 auto; + -webkit-box-flex: 0; + flex: 0 0 auto; +} + +.h-250 { height: 250px; } +@media (min-width: 768px) { + .h-md-250 { height: 250px; } +} + +.border-top { border-top: 1px solid #e5e5e5; } +.border-bottom { border-bottom: 1px solid #e5e5e5; } + diff --git a/site/public/css/sticky-footer-navbar.css b/site/public/css/sticky-footer-navbar.css deleted file mode 100644 index 3e26103..0000000 --- a/site/public/css/sticky-footer-navbar.css +++ /dev/null @@ -1,36 +0,0 @@ -/* Sticky footer styles --------------------------------------------------- */ -html { - position: relative; - min-height: 100%; -} -body { - /* Margin bottom by footer height */ - margin-bottom: 300px; -} -.footer { - position: absolute; - bottom: 0; - width: 100%; - /* Set the fixed height of the footer here */ - height: 300px; - line-height: 60px; /* Vertically center the text there */ - background-color: #f5f5f5; -} - - -/* Custom page CSS --------------------------------------------------- */ -/* Not required for template or sticky footer method. */ - -/* -*/ -body > .container { - padding: 30px 15px 0; -} - -.footer > .container { - margin-top: 10px; - padding-right: 15px; - padding-left: 15px; -} diff --git a/site/resources/views/layouts/base.blade.php b/site/resources/views/layouts/base.blade.php index 5ced27e..32404d3 100644 --- a/site/resources/views/layouts/base.blade.php +++ b/site/resources/views/layouts/base.blade.php @@ -7,15 +7,8 @@ @yield('header') | Fuselkoenig.de - - - - @@ -24,6 +17,9 @@ @yield('feed') @yield('css') + + + + + @include('snippets.navbar') -- cgit v1.2.3