From 9bebc0180b38468495539239cd1f3794f5fbc520 Mon Sep 17 00:00:00 2001 From: "Alexander D. Bondoc" Date: Wed, 27 Apr 2022 15:24:14 +0800 Subject: [PATCH] Fix `css` for `footnotes` --- app/javascript/src/application.scss | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/app/javascript/src/application.scss b/app/javascript/src/application.scss index ab6be17..6dc65c7 100644 --- a/app/javascript/src/application.scss +++ b/app/javascript/src/application.scss @@ -125,3 +125,29 @@ .not-full input { width: auto !important; } + +// Footnotes +.footnote-x a { + font-size:12px; vertical-align: 20%; + color: red; + font-weight: bold; + text-decoration: none; +} + +.footnote-x a.tip span{ + display: none +} + +.footnote-x a.tip:hover span{ + border: #c0c0c0 1px dotted; + padding: 5px 20px 5px 5px; + display: block; + z-index: 100; + background-color: #87cefa; + left: 0px; + margin: 10px; + width: 250px; + position: absolute; + top: 10px; + text-decoration: none +}