From 60923201bdc22adc933ecdc0bbc64e0c48f1d1aa Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Wed, 16 Jan 2013 21:35:20 -0800 Subject: [PATCH] added footer to bootstrap layout. --- NzbDrone.Web/Content2/Menu.css | 1 + NzbDrone.Web/Content2/base.css | 15 +++++++++++---- NzbDrone.Web/Views/Shared/_Bootstrap.cshtml | 17 +++++++---------- 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/NzbDrone.Web/Content2/Menu.css b/NzbDrone.Web/Content2/Menu.css index 3a7d83110..18371b918 100644 --- a/NzbDrone.Web/Content2/Menu.css +++ b/NzbDrone.Web/Content2/Menu.css @@ -2,6 +2,7 @@ { height: 60px; display: inline-block; + margin-bottom: 10px; } #menu ul diff --git a/NzbDrone.Web/Content2/base.css b/NzbDrone.Web/Content2/base.css index 7d9307bc5..c2b1d3c82 100644 --- a/NzbDrone.Web/Content2/base.css +++ b/NzbDrone.Web/Content2/base.css @@ -7,8 +7,7 @@ font-size: 13px; } -body -{ +body { background: #191919 url(images/background.jpg) no-repeat right top; font-size: 13px; color: #3C3C3C; @@ -34,6 +33,14 @@ body } -body { - +#footer { + text-align: center; + font-size: 16px; + text-decoration: none; + font-weight: lighter; + margin: 20px 0 30px 0; } + + #footer a:hover { + text-decoration: underline; + } diff --git a/NzbDrone.Web/Views/Shared/_Bootstrap.cshtml b/NzbDrone.Web/Views/Shared/_Bootstrap.cshtml index 5adfbbc15..824101108 100644 --- a/NzbDrone.Web/Views/Shared/_Bootstrap.cshtml +++ b/NzbDrone.Web/Views/Shared/_Bootstrap.cshtml @@ -10,15 +10,7 @@ - @if (string.IsNullOrWhiteSpace(ViewBag.Title) || String.Equals(ViewBag.Title, "NzbDrone", StringComparison.InvariantCultureIgnoreCase)) - { - ViewBag.Title = "NzbDrone"; - } - else - { - ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title); - } - @ViewBag.Title + @ViewBag.Title - NzbDrone @@ -54,7 +46,7 @@
@@ -65,6 +57,11 @@ @RenderBody()
+ @Bundles.RenderScripts()