From 0c7cb4486a89ec6fe9680e6569ef41d4b82d557d Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Thu, 18 Feb 2021 22:21:36 +0100 Subject: use maintained theme --- themes/CodeIT/assets/css/_partial/_mask.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 themes/CodeIT/assets/css/_partial/_mask.scss (limited to 'themes/CodeIT/assets/css/_partial/_mask.scss') diff --git a/themes/CodeIT/assets/css/_partial/_mask.scss b/themes/CodeIT/assets/css/_partial/_mask.scss new file mode 100644 index 0000000..32cf991 --- /dev/null +++ b/themes/CodeIT/assets/css/_partial/_mask.scss @@ -0,0 +1,16 @@ +#mask { + background-repeat: no-repeat; + background-position: center; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; + background-color: rgba(0, 0, 0, 0); + + .blur & { + z-index: 100; + background-color: rgba(0, 0, 0, 0.25); + } +} -- cgit v1.2.3