From d4e9c6cc017e668ed3776cdae4fe313cbf321914 Mon Sep 17 00:00:00 2001 From: UltraLion <49597041+UltraLionfr@users.noreply.github.com> Date: Wed, 30 Dec 2020 16:55:13 +0100 Subject: [PATCH] Update nasa.css --- css/nasa.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/css/nasa.css b/css/nasa.css index ab49232..ff83eb1 100644 --- a/css/nasa.css +++ b/css/nasa.css @@ -1,3 +1,38 @@ +/*-------Blur spoiler-------*/ +/*blurs spoiler text instead of having a black bar over it*/ +.contents-2mQqc9 .spoilerText-3p6IlD.hidden-HHr2R9, +.contents-2mQqc9 .spoilerText-3p6IlD.hidden-HHr2R9:hover, +.contents-2mQqc9 .spoilerText-3p6IlD { + background: rgb(130, 130, 130, 0.1); + /*adds minor grey-ish filter to differentiate spoilted text from normal text*/ + border-radius: 7px; + /*adds rounded edges for the filter described above*/ +} +.contents-2mQqc9 .spoilerText-3p6IlD.hidden-HHr2R9 > .inlineContent-3ZjPuv { + filter: blur(3px); + /*adds blur filter when text is left alone*/ + opacity: 1; + /*makes blurred text fully opaque*/ +} +.contents-2mQqc9 .spoilerText-3p6IlD.hidden-HHr2R9:hover > .inlineContent-3ZjPuv { + filter: none; + /*removes blur filter on hover*/ + opacity: 1; + /*makes text opacity look like normal, non-spoiled text on hover*/ +} +/*--------------------------*/ + + +.profile-1eT9hT ~ * .field-1HUseB:nth-child(2) .colorHeaderPrimary-26Jzh-, +.profile-1eT9hT ~ * .field-1HUseB:nth-child(3) .colorHeaderPrimary-26Jzh- { + filter: blur(5px); +} +.profile-1eT9hT ~ * .field-1HUseB:nth-child(2) .colorHeaderPrimary-26Jzh-:hover, +.profile-1eT9hT ~ * .field-1HUseB:nth-child(3) .colorHeaderPrimary-26Jzh-:hover { + filter: blur(0); +} + + .theme-dark .itemContainer-1LSFks { background-color: transparent; }