From 020d53182e79ca6c1ddf9a68727271589872ca3c Mon Sep 17 00:00:00 2001 From: Liam Morland <lkmorlan@uwaterloo.ca> Date: Tue, 13 Apr 2021 12:29:57 -0400 Subject: [PATCH] ISTWCMS-4686: Theme block-uw-cbl-special-alert --- .../site-container/_site-container.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source/_patterns/03-layouts/site-container/_site-container.scss b/source/_patterns/03-layouts/site-container/_site-container.scss index 1f4de94e..119d45e5 100644 --- a/source/_patterns/03-layouts/site-container/_site-container.scss +++ b/source/_patterns/03-layouts/site-container/_site-container.scss @@ -26,6 +26,23 @@ } } + .block-uw-cbl-special-alert { + background: #f0f0f0; + border: 2px solid #96172e; + margin: 1em 0; + padding: 1em; + + // Prevent excess space at top from elements that have a margin-top. + > *:first-child { + margin-top: 0; + } + + // Prevent excess space at bottom from elements that have a margin-bottom. + > *:last-child { + margin-bottom: 0; + } + } + .uw-main { grid-column: 1 / 2; grid-row: 3 / 4; -- GitLab