From fd0155e27dac8b9524d5c2130955edafc001a9f0 Mon Sep 17 00:00:00 2001 From: Sonia Zorba <sonia.zorba@inaf.it> Date: Mon, 10 Feb 2020 11:08:51 +0100 Subject: [PATCH] Added 'beta-version' badge on header --- css/style.css | 23 +++++++++++++++++++++++ include/header.php | 6 +++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/css/style.css b/css/style.css index a603ee7..53aa45b 100644 --- a/css/style.css +++ b/css/style.css @@ -193,4 +193,27 @@ body { #token-issuer-btn { margin-top: 20px; margin-bottom: 20px; +} + +.circle-wrapper { + text-align: center; + position: relative; +} + +.circle { + width: 90px; + height: 90px; + border-radius: 50%; + font-size: 25px; + color: #fff; + line-height: 30px; + text-align: center; + background: red; + transform: rotate(-20deg); + padding-top: 6px; + border: 3px yellow solid; + font-weight: bold; + position: absolute; + left: 27px; + top: 0px; } \ No newline at end of file diff --git a/include/header.php b/include/header.php index 267bb9c..2935bed 100644 --- a/include/header.php +++ b/include/header.php @@ -17,7 +17,11 @@ Image Credits & Copyright: Colombari/E.Recurt </div> <div class="page-title-wrapper"> - <h1 class="text-center">Remote Authentication Portal</h1> + <h1 class="text-center">Remote Authentication Portal + <span class="circle-wrapper"> + <div class="circle">beta<br/>version!</div> + </span> + </h1> </div> </header> <div class="container"> -- GitLab