From 7a3d1f93924f1823f5780298685e7de4262ccb08 Mon Sep 17 00:00:00 2001 From: Catherine Walsh Date: Thu, 19 Dec 2024 15:47:20 -0500 Subject: [PATCH] feat: set up banner for shutdown --- Gemfile | 2 ++ _includes/shutdown_banner.html | 8 ++++++++ assets/css/custom.css | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 _includes/shutdown_banner.html diff --git a/Gemfile b/Gemfile index 5c41b36..54e01ae 100644 --- a/Gemfile +++ b/Gemfile @@ -15,3 +15,5 @@ group :jekyll_plugins do gem "jekyll-include-cache" gem "jekyll-algolia" end + +gem "webrick", "~> 1.9" diff --git a/_includes/shutdown_banner.html b/_includes/shutdown_banner.html new file mode 100644 index 0000000..6ff412f --- /dev/null +++ b/_includes/shutdown_banner.html @@ -0,0 +1,8 @@ + + + +
+

Due to a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted.

+

The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit http://cc.nih.gov.

+

Updates regarding government operating status and resumption of normal operations can be found at http://USA.gov.

+
\ No newline at end of file diff --git a/assets/css/custom.css b/assets/css/custom.css index c7f7690..ed1b139 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -232,3 +232,12 @@ gap:20px; margin-bottom: 0em; } +.shutdown-banner{ + text-align: center; + font-weight:bold; + padding: 20px 20px; + margin:10px; + background-color: rgb(161, 199, 225); + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */ +} +