From 7f9220542436ed067e99ed77f47014cbb8a5b1f5 Mon Sep 17 00:00:00 2001 From: aqquq <jannik.wurche@student.uni-halle.de> Date: Sat, 6 Jul 2024 12:48:43 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8C=EF=B8=8F=20style=20link=20to=20edi?= =?UTF-8?q?tor=20more=20moderately?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Pages/HomeView.elm | 2 +- src/style.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/Pages/HomeView.elm b/src/Pages/HomeView.elm index e5abf27..bc1a0c2 100644 --- a/src/Pages/HomeView.elm +++ b/src/Pages/HomeView.elm @@ -43,6 +43,6 @@ homeView model = ] -- Display the loading message or any error message. , loadingMsg - , a [ class "btn", href "/editor.html" ] [ text "Quiz Editor" ] + , a [ class "link", href "/editor.html" ] [ text "Quiz Editor" ] ] ] \ No newline at end of file diff --git a/src/style.css b/src/style.css index bec794c..8f883f7 100644 --- a/src/style.css +++ b/src/style.css @@ -398,6 +398,21 @@ p.answer { margin: 0; } +a.link { + color: #000; + padding: 10px; + margin: 5px; + text-decoration: none; + min-width: 60px; + text-align: center; + transition: border-color 0.3s ease, color 0.3s ease; +} + +.btn:hover { + cursor: pointer; + color: #fff; +} + .invisible { display: none; } \ No newline at end of file -- GitLab