diff --git a/public/s/css/f0ck.css b/public/s/css/f0ck.css
index 8dab057..9ba93b4 100644
--- a/public/s/css/f0ck.css
+++ b/public/s/css/f0ck.css
@@ -2691,17 +2691,62 @@ table img {
.navbar-nav {
display: grid !important;
grid-template-rows: 1fr 1fr;
- grid-template-columns: 0fr 1fr 1fr;
+ grid-template-columns: 1fr 1fr 1fr;
grid-gap: 0.25em;
}
+}
- .placeholder {
- visibility: hidden;
+/* Navbar Rework */
+.navbar-nav-guests {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ padding: 5px 0 5px 0;
+ margin-bottom: 0;
+ list-style: none;
+ margin: 0;
+ margin-right: 0px;
+ margin-left: 0px;
+ align-self: center;
+ margin-left: .5rem;
+ margin-right: .5rem;
+}
+
+.navbar-expand-lg .navbar-nav-guests {
+ flex-direction: row;
+}
+
+ul.navbar-nav-guests li.nav-item {
+ margin-right: .5rem;
+}
+
+.navbar-expand-lg .navbar-nav-guests .nav-link, .pagination > a, .pagination > span {
+ padding-right: .5rem;
+ padding-left: .5rem;
+}
+
+@media (max-width: 768px) {
+ ul.navbar-nav-guests {
+ display: grid !important;
+ grid-template-columns: 1fr 1fr;
+ grid-gap: .25em;
+ margin: 0;
+ padding: 5px;
+ }
+
+ ul.navbar-nav-guests li.nav-item {
+ margin-right: unset;
}
- a.nav-link span {
- /* This is a dirty and temporary hack to hide long usernames on mobile devices when logged in */
- max-width: 10ch;
- overflow: auto;
+ .nav-link.user {
+ justify-content: left;
}
+}
+
+.navigation-links-guest {
+ justify-content: center;
+ display: grid;
+ grid-template-columns: 1fr;
+ align-content: center;
+ width: 100%;
}
\ No newline at end of file
diff --git a/views/snippets/navbar.html b/views/snippets/navbar.html
index c56bab0..348ca61 100644
--- a/views/snippets/navbar.html
+++ b/views/snippets/navbar.html
@@ -1,83 +1,133 @@
-
+@if(session)
+
+@else
+
+@endif
\ No newline at end of file