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 efb37de3..217ff91a 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; @@ -205,4 +206,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..a9bcfa75 --- /dev/null +++ b/web/app/themes/mitlib-parent/inc/banner.php @@ -0,0 +1,16 @@ + +
+
+

Try our new search before it launches this summer!

+
+
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. */