summaryrefslogtreecommitdiff
path: root/public/static/style.css
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-04-19 20:48:00 +0500
committerilotterytea <iltsu@alright.party>2025-04-19 20:48:00 +0500
commita7e961bcd2f1e8d98f2ffbb5ff37c2e7f9b981d1 (patch)
treee5279f13563c7f923745990f48eedd89b396ae8d /public/static/style.css
parent7a66de9852d4683a7b5cdcedb8e88cfdc73f4b56 (diff)
feat: show emotes
Diffstat (limited to 'public/static/style.css')
-rw-r--r--public/static/style.css187
1 files changed, 187 insertions, 0 deletions
diff --git a/public/static/style.css b/public/static/style.css
new file mode 100644
index 0000000..f4d8380
--- /dev/null
+++ b/public/static/style.css
@@ -0,0 +1,187 @@
+:root {
+ --background-color: #d7dfcd;
+ --background-color-hover: #e4eed8;
+ --background-color-disabled: #bec6b3;
+ --border-color: #b0b9a5;
+}
+
+* {
+ padding: 0;
+ margin: 0;
+
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+div {
+ display: unset;
+}
+
+table.vertical th {
+ text-align: right;
+}
+
+table.vertical th,
+table.vertical td {
+ padding: 2px;
+}
+
+.container {
+ width: 100%;
+ min-height: 100vh;
+ display: flex;
+}
+
+.wrapper {
+ flex-grow: 1;
+ display: flex;
+}
+
+main.content {
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+ margin: 6px;
+}
+
+/**
+-------------
+ BUTTONS
+-------------
+*/
+
+button,
+.button {
+ background: lightgray;
+ border: 1px solid gray;
+ border-radius: 4px;
+ padding: 2px 4px;
+ font-size: 14px;
+ text-decoration: none;
+ color: black;
+}
+
+button:hover,
+.button:hover {
+ background: #b9b9b9;
+ cursor: pointer;
+}
+
+button.transparent,
+.button.transparent {
+ background: unset;
+ border: unset;
+}
+
+/**
+----------
+ LIST
+----------
+*/
+
+.items {
+ display: flex;
+ flex-direction: column;
+ gap: 6px;
+}
+
+.items.content {
+ flex-grow: 1;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ gap: 16px;
+}
+
+.navtab {
+ position: relative;
+ width: 50%;
+ top: 2px;
+}
+
+.full {
+ flex-grow: 1;
+}
+
+.row {
+ flex-direction: row;
+ align-items: center;
+}
+
+.right {
+ justify-content: flex-end;
+}
+
+/**
+---------
+ BOX
+---------
+*/
+
+.box {
+ background: var(--background-color);
+ border: 2px solid var(--border-color);
+ border-radius: 4px;
+ padding: 4px;
+}
+
+.box.navtab {
+ border-bottom-left-radius: 0;
+ border-bottom-right-radius: 0;
+ border-bottom: unset;
+ margin: 0;
+}
+
+.box:has(.navtab) {
+ background: unset;
+ border: unset;
+ border-radius: unset;
+ padding: 0;
+
+ display: flex;
+ flex-direction: column;
+}
+
+.box:has(.navtab) .content {
+ flex-grow: 1;
+ margin: 0;
+ padding: 16px;
+}
+
+.box.emote {
+ width: 90px;
+ height: 90px;
+
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+
+ gap: 6px;
+
+ overflow: hidden;
+}
+
+.box.emote p {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+a.box {
+ text-decoration: none;
+ color: black;
+}
+
+a.box:hover {
+ background: linear-gradient(0deg, var(--background-color-hover), var(--background-color-disabled));
+ cursor: pointer;
+}
+
+.emote-showcase {
+ flex-grow: 1;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ gap: 32px;
+ margin: 32px 0;
+} \ No newline at end of file