diff --git a/src/Pages/HomeView.elm b/src/Pages/HomeView.elm index e5abf27798500bf9697b76f69d38352cac5ac06f..bc1a0c22fa55ea8845777f695c5744b8956281c7 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 bec794ce4d5f57088864f69fadf7a71532ea658f..8f883f7a1770637a7656a8d25b6129d3bb87f832 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