From d6ccf55c2ba6423075eddd20b7f7813a200a5c8b Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Wed, 25 Mar 2026 13:35:00 -0400 Subject: [PATCH 1/4] Adding temporary USE callout banner to library homepage --- .../css/scss/partials/_alerts.scss | 32 +++++++++++++++++++ web/app/themes/mitlib-parent/header.php | 10 ++++++ web/app/themes/mitlib-parent/inc/banner.php | 16 ++++++++++ 3 files changed, 58 insertions(+) create mode 100644 web/app/themes/mitlib-parent/inc/banner.php diff --git a/web/app/themes/mitlib-parent/css/scss/partials/_alerts.scss b/web/app/themes/mitlib-parent/css/scss/partials/_alerts.scss index d7421fb4..e040ed8d 100644 --- a/web/app/themes/mitlib-parent/css/scss/partials/_alerts.scss +++ b/web/app/themes/mitlib-parent/css/scss/partials/_alerts.scss @@ -98,6 +98,7 @@ } } +// New contextual alert and spotlight styles .mitlib-alert, .mitlib-spotlight { border: 4px solid $info-border-color; margin-bottom: 20px; @@ -193,4 +194,35 @@ p { padding-bottom: 4px; } +} + +// Full page banner styles +div.mitlib-banner { + background-color: #007899; + padding: 20px 32px; + display: flex; + justify-content: center; + + div.wrap-notice { + max-width: 1024px; + width: 100%; + } + + h1 { + font-size: 1.2rem; + color: #e5f9ff; + padding: 0; + margin-bottom: 0; + } + + a { + text-decoration: underline; + text-underline-offset: 0.3rem; + text-decoration-color: #00c8ff; + color: #fff; + } + + a:hover { + text-decoration-color: #99E9FF; + } } \ No newline at end of file diff --git a/web/app/themes/mitlib-parent/header.php b/web/app/themes/mitlib-parent/header.php index 230281ff..91e3c69e 100644 --- a/web/app/themes/mitlib-parent/header.php +++ b/web/app/themes/mitlib-parent/header.php @@ -41,6 +41,16 @@ > + + +
diff --git a/web/app/themes/mitlib-parent/inc/banner.php b/web/app/themes/mitlib-parent/inc/banner.php new file mode 100644 index 00000000..8ee59103 --- /dev/null +++ b/web/app/themes/mitlib-parent/inc/banner.php @@ -0,0 +1,16 @@ + +
+
+

Try our new search before it launches this summer!

+
+
From 3b735fa0e5a6fff6bddfd7dfad7884f818fe078c Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Wed, 25 Mar 2026 15:33:13 -0400 Subject: [PATCH 2/4] Responsive bug in H1 background --- web/app/themes/mitlib-parent/inc/banner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/themes/mitlib-parent/inc/banner.php b/web/app/themes/mitlib-parent/inc/banner.php index 8ee59103..a9bcfa75 100644 --- a/web/app/themes/mitlib-parent/inc/banner.php +++ b/web/app/themes/mitlib-parent/inc/banner.php @@ -11,6 +11,6 @@ ?>
-

Try our new search before it launches this summer!

+

Try our new search before it launches this summer!

From 43b377de7a10b884332436b92c885ebfda2be470 Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Thu, 26 Mar 2026 10:48:49 -0400 Subject: [PATCH 3/4] Incrementing version of parent theme style sheet --- web/app/themes/mitlib-parent/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/themes/mitlib-parent/style.css b/web/app/themes/mitlib-parent/style.css index 574acf3a..46aa14ba 100644 --- a/web/app/themes/mitlib-parent/style.css +++ b/web/app/themes/mitlib-parent/style.css @@ -1,7 +1,7 @@ /* Theme Name: MITlib Parent Author: MIT Libraries -Version: 0.8 +Version: 0.9 Description: The parent theme for the MIT Libraries' Pentagram-designed identity. */ From fa138fc480ba4c25ae793c22ca6a15265d98c95e Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Fri, 3 Apr 2026 11:23:26 -0400 Subject: [PATCH 4/4] incrementing style sheet version to stay above recent changes --- web/app/themes/mitlib-parent/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/themes/mitlib-parent/style.css b/web/app/themes/mitlib-parent/style.css index 46aa14ba..a2a98b8f 100644 --- a/web/app/themes/mitlib-parent/style.css +++ b/web/app/themes/mitlib-parent/style.css @@ -1,7 +1,7 @@ /* Theme Name: MITlib Parent Author: MIT Libraries -Version: 0.9 +Version: 0.10 Description: The parent theme for the MIT Libraries' Pentagram-designed identity. */