From 01a4a29e457d6109fea38dda05d4dcf1dcf86ca7 Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Wed, 10 Aug 2022 17:46:31 +0200 Subject: [PATCH] Even better faulty indicators --- styles/customAsciidoc.scss | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/styles/customAsciidoc.scss b/styles/customAsciidoc.scss index 814ec4a..ac55c84 100644 --- a/styles/customAsciidoc.scss +++ b/styles/customAsciidoc.scss @@ -79,7 +79,7 @@ } /* A custom indicator that this code is in fact faulty */ - .notCompiling { + .notCompiling code { display: block; position: relative; /* @@ -96,11 +96,22 @@ top: 1em; right: 1em; display: inline-block; - width: 1.2em; - height: 1.2em; + width: 1.3em; + height: 1.3em; text-align: center; font-weight: bolder; - padding: 1px 1px 0px 1px; + padding: 1px 1px 1px 1px; + font-family: sans-serif; + font-size: 1rem; + } + + &:hover::after { + content: "Code is faulty!"; + font-weight: bold; + color: #a30e0e; + position: absolute; + right: 1em; + bottom: 1em; } } } \ No newline at end of file