From fa84a921e8cb1c1b87b271d6ae1ed15cc1467aa5 Mon Sep 17 00:00:00 2001 From: Sarmisuper Date: Thu, 9 Nov 2023 13:52:20 +0100 Subject: [PATCH] Fixed css refs and fixed the errors it produced --- .../Areas/Identity/Pages/Account/Login.cshtml | 6 +-- .../Pages/Account/Manage/_Layout.cshtml | 3 +- .../Identity/Pages/Account/Register.cshtml | 12 +++--- ChatRPG/Pages/Shared/_Layout.cshtml | 39 ++++++++++--------- ChatRPG/wwwroot/css/site.css | 20 ++++++++-- 5 files changed, 47 insertions(+), 33 deletions(-) diff --git a/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml b/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml index 9faa513..c983d37 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/Login.cshtml @@ -13,12 +13,12 @@
- +
- +
@@ -28,7 +28,7 @@
- +

diff --git a/ChatRPG/Areas/Identity/Pages/Account/Manage/_Layout.cshtml b/ChatRPG/Areas/Identity/Pages/Account/Manage/_Layout.cshtml index 94b2ea7..2a7a35f 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/Manage/_Layout.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/Manage/_Layout.cshtml @@ -9,10 +9,9 @@ } } -

Manage your account

+

Manage your account

-

Change your account settings


diff --git a/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml b/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml index 9935024..f98b4fa 100644 --- a/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml +++ b/ChatRPG/Areas/Identity/Pages/Account/Register.cshtml @@ -13,30 +13,30 @@
- +
- +
- +
- +
- +
- +

Already a member? Login diff --git a/ChatRPG/Pages/Shared/_Layout.cshtml b/ChatRPG/Pages/Shared/_Layout.cshtml index c73bf56..dbad9f7 100644 --- a/ChatRPG/Pages/Shared/_Layout.cshtml +++ b/ChatRPG/Pages/Shared/_Layout.cshtml @@ -10,15 +10,15 @@ @ViewData["Title"] - ChatRPG - - + + - + @@ -49,23 +49,24 @@ -

-
- @RenderBody() -
-
-
-
+
+
+ @RenderBody() +
+
+ +
+
© 2023 - ChatRPG - @{ - var foundPrivacy = Url.Page("/Privacy", new { area = "" }); - } - @if (foundPrivacy != null) - { - Privacy - } -
-
+ @{ + var foundPrivacy = Url.Page("/Privacy", new { area = "" }); + } + @if (foundPrivacy != null) + { + Privacy + } +
+
diff --git a/ChatRPG/wwwroot/css/site.css b/ChatRPG/wwwroot/css/site.css index 0e25c5d..004dcc0 100644 --- a/ChatRPG/wwwroot/css/site.css +++ b/ChatRPG/wwwroot/css/site.css @@ -13,9 +13,23 @@ a, .btn-link { } .btn-primary { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; + background-color: #4eb758; + color: black; + border-color: black; +} + +.btn-primary:hover { + background-color: #297931; + color: black; + border-color: black; +} + +.btn-primary:focus { + background-color: #297931; + color: black; + border-color: black; + box-shadow: none; + outline: white; } .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {