From 5c7a7594d2bf7819b437aa0326c85fa0b5d47418 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Fri, 13 Sep 2024 18:45:16 +0200 Subject: [PATCH] add footer --- index.php | 1 + login_aai.css | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index de7d8dc..eb5bc13 100644 --- a/index.php +++ b/index.php @@ -64,6 +64,7 @@ </div> <script type="text/javascript" defer src="functions.js"></script> + <footer><?php echo $aConfig['title'] ?? 'AAI Login'; ?><br>AAI Login v0.1 - <a href="https://git-repo.iml.unibe.ch/iml-open-source/login-aai">Source</a></a></footer> </body> </html> \ No newline at end of file diff --git a/login_aai.css b/login_aai.css index 79eb509..6c4a61d 100644 --- a/login_aai.css +++ b/login_aai.css @@ -1,5 +1,5 @@ :root{ - --main-bg: linear-gradient(-5deg, #abc,#e0e8f0) fixed; + --main-bg: linear-gradient(-5deg, #abc, #fff, #e0e8f0) fixed; --main-color: #123; --h1-color: #68a; @@ -16,8 +16,10 @@ --info-bg: #fc3; --info-color: #650; + --footer-color: #789; + /** ---------- mode boxes */ - --idp-border: 1px solid #bcd; + --idp-border: 1px solid #cde; --idp-color: #46c; --idp-shadow: 0 0 2em #eee inset; @@ -32,6 +34,9 @@ } +a, a:visited{ + color: var(--a-color); +} body { background_: linear-gradient(-5deg, #abc, #cee, #f0f8ff, #e0e8f0, #fee) fixed; background: var(--main-bg); @@ -73,6 +78,12 @@ div.info{ color: var(--info-color); } +footer{ + width: 60%; + color: var(--footer-color); + margin: 10em auto 5em; + text-align: right; +} /** ---------- mode boxes */ div.idp a{ -- GitLab