Skip to content

Commit

Permalink
fix styling due to Bootstrap upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
SingingBush committed Jun 20, 2023
1 parent 9cc2975 commit 1c037bc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
5 changes: 1 addition & 4 deletions public/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,8 @@ body {
margin: 10% -15px;
}

.jumbotron-primary {
/*background-color: rgba(54, 55, 197, 0.87);*/
background-color: #0275d8; /* Same Blue that is used by Bootstrap */
.bg-shadow {
box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
color: #fff;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
border-radius: 0;
}
6 changes: 3 additions & 3 deletions views/admin_users.dt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ block title
title Admin | Manage Users

block body
.jumbotron.jumbotron-primary
.container
.mb-4.bg-primary.bg-shadow
.container.py-5
h1 Manage Users

.container(role='main')
.row
.col-md-12
.col-md-6
h2 Create User
form.form-horizontal(action='/admin/user/create', method="POST")
.mb-3
Expand Down
4 changes: 2 additions & 2 deletions views/header.dt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ header
.container
a.navbar-brand(href="/")
| Eloquent
ul.nav.navbar-nav.mr-auto
ul.nav.navbar-nav.me-auto
li.nav-item
a.nav-link(href="/") Home
- if (user.administrator)
Expand All @@ -18,7 +18,7 @@ header
- if (user.authenticated)
li.nav-item
a.nav-link(href="/profile/#{user.username}")
i.fa.fa-user
i.fa.fa-user.mx-1
| Profile
li.nav-item
a.nav-link(href="/logout") Logout
Expand Down
2 changes: 1 addition & 1 deletion views/index.dt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ block title
title Home

block body
.p-5.mb-4.bg-light.rounded-3
.mb-4.bg-primary.bg-shadow
.container.py-5
h1& home.welcome-message

Expand Down

0 comments on commit 1c037bc

Please sign in to comment.