Skip to content

Commit

Permalink
spice it up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
loftwah committed Sep 6, 2023
1 parent b2ec859 commit 2b60c00
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 13 additions & 1 deletion app/assets/stylesheets/loftwah.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,16 @@

.bg-dark {
background-color: #0E0B1F !important;
}
}

.bg-translucent-dark {
background-color: rgba(0, 0, 0, 0.5);
padding: 1rem;
border-radius: 0.5rem;
}

.custom-container {
// max-width: 90%; /* or whatever maximum width you'd like */
margin: auto;
}

2 changes: 2 additions & 0 deletions app/views/public_links/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<div class="container-fluid text-light min-vh-100 d-flex flex-column align-items-center justify-content-center">
<div class="bg-translucent-dark custom-container">
<!-- User Information -->
<div class="text-center mb-5">
<img src="https://github.com/<%= @user.username %>.png" alt="User Avatar" class="rounded-circle mb-3" width="150">
Expand Down Expand Up @@ -35,6 +36,7 @@
<% end %>
</div>
</div>
</div>
</div>

<style>
Expand Down

0 comments on commit 2b60c00

Please sign in to comment.