Skip to content

Commit

Permalink
Fixed centering, but there is still some scuffed stuff, but it is bet…
Browse files Browse the repository at this point in the history
…ter now!
  • Loading branch information
Sarmisuper committed Nov 8, 2023
1 parent 69d20a9 commit 2280301
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ChatRPG/Areas/Identity/Pages/Account/Login.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@{
ViewData["Title"] = "Log in";
}
<div class="pt-4 pb-4 mt-5" style="background-color: #232323; color: white">
<div class="pt-4 pb-4" style="background-color: #232323; color: white">
<h1 class="text-center" style="color: white">@ViewData["Title"]</h1>
<div class="row d-flex align-items-center justify-content-center">
<div class="col-md-8">
Expand Down
14 changes: 6 additions & 8 deletions ChatRPG/Pages/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
<link rel="stylesheet" href="~/Identity/css/site.css" asp-append-version="true" />
</environment>
</head>
<body style="background-color: #3E3A3A">
<body class="vh-100 m-0" style="background-color: #3E3A3A">
<header>
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light box-shadow mb-3" style="background-color: #232323">
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light box-shadow" style="background-color: #232323">
<div class="container">
<a class="navbar-brand" href="~/" style="color: white;">ChatRPG</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
Expand All @@ -49,12 +49,10 @@
</nav>
</header>

<div class="pt-4">
<div class="container pt-5">
<main role="main" class="pb-1 pt-5">
@RenderBody()
</main>
</div>
<div class="container mt-5 h-75 d-flex align-items-center">
<main role="main" class="flex-grow-1">
@RenderBody()
</main>
</div>
<footer class="footer pl-3 text-muted" style="overflow: hidden">
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion ChatRPG/wwwroot/css/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

0 comments on commit 2280301

Please sign in to comment.