From 3651a3671fbcb66602953708b4e430072f5c5dec Mon Sep 17 00:00:00 2001 From: Brian Canini <canini.16@osu.edu> Date: Thu, 12 Mar 2020 11:54:58 -0400 Subject: [PATCH] front page coronavirus message --- .../asc_bootstrap/assets/sass/layout/_default.scss | 13 +++++++++++++ web/themes/asc_bootstrap/css/style.css | 10 ++++++++++ .../templates/system/page--front.html.twig | 3 +++ 3 files changed, 26 insertions(+) diff --git a/web/themes/asc_bootstrap/assets/sass/layout/_default.scss b/web/themes/asc_bootstrap/assets/sass/layout/_default.scss index 6b24afc31d..c20f2ef4e1 100755 --- a/web/themes/asc_bootstrap/assets/sass/layout/_default.scss +++ b/web/themes/asc_bootstrap/assets/sass/layout/_default.scss @@ -251,3 +251,16 @@ h6 { #user-form { margin-bottom: 40px; } + + +// -------------------------------------------------- + +//## Additional. + +.alert-link { + text-decoration: underline; +} + +.alert { + margin-bottom: 0; +} diff --git a/web/themes/asc_bootstrap/css/style.css b/web/themes/asc_bootstrap/css/style.css index 1b33c0f325..2dffbfaf14 100644 --- a/web/themes/asc_bootstrap/css/style.css +++ b/web/themes/asc_bootstrap/css/style.css @@ -9121,6 +9121,16 @@ h6 { margin-bottom: 40px; } +/* line 260, ../assets/sass/layout/_default.scss */ +.alert-link { + text-decoration: underline; +} + +/* line 264, ../assets/sass/layout/_default.scss */ +.alert { + margin-bottom: 0; +} + /* line 8, ../assets/sass/layout/_footer.scss */ .footer { background: #173E41; diff --git a/web/themes/asc_bootstrap/templates/system/page--front.html.twig b/web/themes/asc_bootstrap/templates/system/page--front.html.twig index 91541dd4aa..ad0efff7f9 100755 --- a/web/themes/asc_bootstrap/templates/system/page--front.html.twig +++ b/web/themes/asc_bootstrap/templates/system/page--front.html.twig @@ -57,6 +57,9 @@ </div> <div class="layout-container"> + <div class="alert alert-warning text-center"> + Ohio State has <strong>suspended face-to-face classes</strong> and moved to virtual instruction through at least Monday, March 30. <a href="https://wexnermedical.osu.edu/features/coronavirus/staff-and-students" class="alert-link">Additional guidance on work arrangements, travel and events.</a> + </div> <main role="main"> <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #} -- GitLab