From 08838c1b07bc7600793746d06f98090d5831ad84 Mon Sep 17 00:00:00 2001 From: Romain Deville <code@romaindeville.fr> Date: Tue, 18 May 2021 10:52:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Update=20user=5Fconfig/docs/them?= =?UTF-8?q?e/css/extra.css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Popup and link css style --- user_config/docs/theme/css/extra.css | 43 +++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/user_config/docs/theme/css/extra.css b/user_config/docs/theme/css/extra.css index ce4244b..53b67ad 100644 --- a/user_config/docs/theme/css/extra.css +++ b/user_config/docs/theme/css/extra.css @@ -1,4 +1,45 @@ .image-center { display : block; margin : auto; -} \ No newline at end of file +} + +.Popup { + position: relative; + display: none; + opacity:0; + -webkit-transition: opacity 400ms ease-in; + -moz-transition: opacity 400ms ease-in; + transition: opacity 400ms ease-in; +} + +.Popup:target { + display: inline; + opacity:1; +} + +.Popup > div { + position: relative; + padding: 5px 20px 13px 20px; + border-radius: 10px; + background: #364653; +} + +.close { + background: #606061; + color: #FFFFFF; + line-height: 25px; + position: absolute; + right: -12px; + text-align: center; + top: -10px; + width: 24px; + text-decoration: none; + -webkit-border-radius: 12px; + -moz-box-shadow: 1px 1px 3px #000; +} + +.close:hover { background: #00d9ff; } + +.md-typeset a { + color: rgba(var(--md_color__blue_500),1.00); +} -- GitLab