diff --git a/static/css/style.css b/static/css/style.css index 7cbfcd9..2c91e1a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -268,4 +268,101 @@ body { .hidden { display: none; +} + +@media (prefers-color-scheme: dark) { + :root { + --gray-950: #030712; + --gray-900: #111827; + --gray-800: #1f2937; + --gray-700: #374151; + --gray-600: #4b5563; + --gray-500: #6b7280; + --gray-400: #9ca3af; + --gray-300: #d1d5db; + --gray-200: #e5e7eb; + --gray-100: #f3f4f6; + --gray-50: #f9fafb; + } + + textarea { + background-color: var(--gray-800); + color: white + } + + /* fix some profile issues, this is important do NOT remove!!!! */ + iframe { + background-color: white; + } + + body { + color: white; + background-color: var(--gray-900); + } + + h1 { + color: white; + } + + .post button, .post .commentdiv input, input, button { + background-color: var(--gray-700); + border-color: var(--gray-600); + color: white; + } + + .navbar { + background-color: var(--gray-800); + } + + .navbar a, a { + color: white; + border-size: 0px; + border-color: var(--gray-800); + } + + .accountform button { + background-color: var(--gray-700); + border-color: var(--gray-600); + color: white; + } + + .profileDiv .edit-button { + color: var(--gray-50); + text-decoration: none; + } + + .post { + background-color: var(--gray-800); + } + + .usernamelink { + color: white; + } + + .post .date { + color: var(--gray-400); + } + + .post .commentsdiv { + background-color: var(--gray-700); + } + + .messageBar { + background-color: var(--gray-900); + } + + .channelDiv { + background-color: var(--gray-800); + } + + .channelDiv button { + background-color: var(--gray-700); + color: white; + } + + .channelDiv button:hover { + background-color: var(--gray-600); + } + +} } \ No newline at end of file diff --git a/templates/chat.html b/templates/chat.html index 5355c1a..3d47796 100644 --- a/templates/chat.html +++ b/templates/chat.html @@ -1,56 +1,56 @@ - - - - - - - burgercat - - - - - - - - - -
- {% if userdata %} - {% if userdata.banned == "0" %} - {% else %} -

Your account has been banned. Reason: "{{ userdata.banned }}". Log out

- {% endif %} - {% endif %} - -
-
-

Connected

-
-
-
-
- -
-
-
- - - - + + + + + + + burgercat + + + + + + + + + +
+ {% if userdata %} + {% if userdata.banned == "0" %} + {% else %} +

Your account has been banned. Reason: "{{ userdata.banned }}". Log out

+ {% endif %} + {% endif %} + +
+
+

Connected

+
+
+
+
+ +
+
+
+ + + + \ No newline at end of file diff --git a/templates/edituser.html b/templates/edituser.html index 5cad5a4..020f8f4 100644 --- a/templates/edituser.html +++ b/templates/edituser.html @@ -1,42 +1,43 @@ - - - - - burgercat - - - - - - - - -
-
- {% if userdata %} - {% if pageuser.id == userdata.id %} -

edit mode

-

remote content from media.tenor.com and cdn.discordapp.com is allowed

-
- -

- -
- {% endif %} - {% endif %} -
-
- - + + + + + burgercat + + + + + + + + +
+
+ {% if userdata %} + {% if pageuser.id == userdata.id %} +

edit mode

+

remote content from media.tenor.com and cdn.discordapp.com is allowed

+
+ +

+ +
+ {% endif %} + {% endif %} +
+
+ + \ No newline at end of file diff --git a/templates/settings.html b/templates/settings.html index 05f21ea..c3d16f7 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -13,6 +13,7 @@