From 5fc86ddd31c01065d3f270d39dc72190279f65c7 Mon Sep 17 00:00:00 2001 From: Sarah Proctor Date: Fri, 31 Jan 2025 14:22:39 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixes=20header=20color=20change?= =?UTF-8?q?=20and=20footer=20height?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit: - adds in the classes to the header that allowed for custom colorization and refined the responsive layout - Removes some of the padding in the footer to make it more compact in mobile view to account for the height of the body being set in Hyrax which assumes a footer height of 118px Ref: - https://github.com/notch8/palni_palci_knapsack/issues/142 --- .../themes/institutional_repository.scss | 10 ++++------ app/views/shared/_footer.html.erb | 8 ++++---- .../_masthead.html.erb | 20 +++++++++---------- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/app/assets/stylesheets/themes/institutional_repository.scss b/app/assets/stylesheets/themes/institutional_repository.scss index 6402e45e4..b56dcbc5e 100644 --- a/app/assets/stylesheets/themes/institutional_repository.scss +++ b/app/assets/stylesheets/themes/institutional_repository.scss @@ -41,12 +41,10 @@ // styles the top nav menu application name .institutional-repository-application-name { - span { - color: #fff; - font-size: 20px; - line-height: 50px !important; - vertical-align: middle; - } + color: #fff; + font-size: 20px; + line-height: 50px !important; + vertical-align: middle; } // styles the search bar label in the navbar diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index ad65d87b1..7ed358f58 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -8,16 +8,16 @@