summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-19 21:13:24 +0500
committerilotterytea <iltsu@alright.party>2025-04-19 21:13:24 +0500
commitcb345c3415b6a09a12b794904bbd85ef7c67af7e (patch)
tree7f0b497653ed5b17c56a495c9d09a46bf29cee84 /public
parenta7e961bcd2f1e8d98f2ffbb5ff37c2e7f9b981d1 (diff)
feat: navigation bar and sidebar
Diffstat (limited to 'public')
-rw-r--r--public/emotes/index.php2
-rw-r--r--public/static/style.css26
2 files changed, 27 insertions, 1 deletions
diff --git a/public/emotes/index.php b/public/emotes/index.php
index a4bf585..c73b3d0 100644
--- a/public/emotes/index.php
+++ b/public/emotes/index.php
@@ -58,6 +58,8 @@ $id = str_replace("/", "", $id);
$emotes = null;
$emote = null;
+include "../../src/partials.php";
+
if ($id == "" || !is_numeric($id)) {
$page = intval($_GET["p"] ?? "0");
$limit = 50;
diff --git a/public/static/style.css b/public/static/style.css
index f4d8380..8f4c95b 100644
--- a/public/static/style.css
+++ b/public/static/style.css
@@ -34,9 +34,10 @@ table.vertical td {
.wrapper {
flex-grow: 1;
display: flex;
+ flex-direction: column;
}
-main.content {
+section.content {
flex-grow: 1;
display: flex;
flex-direction: column;
@@ -44,6 +45,29 @@ main.content {
margin: 6px;
}
+.page {
+ display: flex;
+ flex-direction: row;
+}
+
+/**
+-----------
+ NAVBAR
+-----------
+*/
+
+.navbar {
+ display: flex;
+ flex-direction: row;
+ padding: 4px;
+}
+
+.navbar .links {
+ display: flex;
+ align-items: end;
+ gap: 4px;
+}
+
/**
-------------
BUTTONS