246 lines
4.9 KiB
CSS
246 lines
4.9 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--sideBar-LightBG: white;
|
|
--sideBar-LightText: black;
|
|
}
|
|
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: hsl(242, 100%, 10%);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #d5d5d5;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #555;
|
|
}
|
|
|
|
|
|
body[data-theme="light"] {
|
|
--bg-color: white;
|
|
--text-color: black;
|
|
|
|
--sideBar-bg: rgb(255, 255, 255);
|
|
--sideBar-text: black;
|
|
--sideBar-profile-bg: rgb(132, 0, 255);
|
|
--sideBar-profile-text: #ffffff;
|
|
--profile-border: #ffffff;
|
|
|
|
--follow-bg: #ff0000;
|
|
--follow-text: white;
|
|
--follow-shadow: 0px 0px 15px rgba(94, 94, 94, 0.754);
|
|
|
|
--liveNow: rgba(46, 16, 16, 0.6);
|
|
--recommend: rgba(5, 46, 22, 0.6);
|
|
|
|
--quickBar-title: #ffffff;
|
|
--quickBar-title-bg: rgb(132, 0, 255);
|
|
--quickBar-bg: #ffffff;
|
|
--quickBar-text: #000000;
|
|
--quickBar-border: #ffffff;
|
|
}
|
|
|
|
body[data-theme="dark"] {
|
|
--bg-color: black;
|
|
--text-color: white;
|
|
|
|
--sideBar-bg: black;
|
|
--sideBar-text: white;
|
|
--sideBar-profile-bg: rgba(92, 2, 176, 0.592);
|
|
--sideBar-profile-text: #ffffff;
|
|
--profile-border: #ffffff;
|
|
|
|
--follow-bg: #a50000c6;
|
|
--follow-text: rgb(255, 255, 255);
|
|
--follow-shadow: 0px 0px 15px rgba(255, 255, 255, 0.966);
|
|
|
|
--liveNow: rgba(77, 29, 29, 0.6);
|
|
--recommend: rgba(4, 63, 28, 0.6);
|
|
|
|
|
|
--quickBar-title: rgb(255, 255, 255);
|
|
--quickBar-title-bg: rgb(0, 0, 0);
|
|
--quickBar-bg: #000000d3;
|
|
--quickBar-text: #ffffff;
|
|
--quickBar-border: #ffffff;
|
|
}
|
|
|
|
body[data-theme="blue"] {
|
|
--bg-color: #e0f7fa;
|
|
--text-color: #00539b;
|
|
|
|
--sideBar-bg: #eefafffb;
|
|
--sideBar-text: #002147;
|
|
--sideBar-profile-bg: #003571;
|
|
--sideBar-profile-text: #ffffff;
|
|
--profile-border: #ffffff;
|
|
|
|
--follow-bg: #ffffff;
|
|
--follow-shadow: 0px 0px 15px rgba(161, 222, 255, 0.823);
|
|
|
|
--liveNow: rgba(5, 59, 103, 0.801);
|
|
--recommend: rgba(112, 116, 96, 0.6);
|
|
|
|
|
|
--quickBar-title: #ffffff;
|
|
--quickBar-title-bg: #003571;
|
|
--quickBar-bg: #eefafffb;
|
|
--quickBar-text: #003571;
|
|
--quickBar-border: #ffffff;
|
|
}
|
|
|
|
body[data-theme="green"] {
|
|
--bg-color: #e8f5e9;
|
|
--text-color: #2e7d32;
|
|
|
|
/*Sidebar*/
|
|
--sideBar-bg: #f7fff3;
|
|
--sideBar-text: #2e7d32;
|
|
--sideBar-profile-bg: rgb(0, 78, 38);
|
|
--sideBar-profile-text: #ffffff;
|
|
--profile-border: #ffffff;
|
|
|
|
--follow-bg: #ffffff;
|
|
--follow-text: #2e7d32;
|
|
--follow-shadow: 0px 0px 15px rgba(84, 255, 92, 0.754);
|
|
|
|
--liveNow: rgba(69, 150, 74, 0.6);
|
|
--recommend: rgba(123, 94, 14, 0.6);
|
|
|
|
/*Quick Settings*/
|
|
--quickBar-title: rgb(226, 255, 240);
|
|
--quickBar-title-bg: rgb(0, 78, 38);
|
|
--quickBar-bg: #e8f5e9;
|
|
--quickBar-text: #2e7d32;
|
|
--quickBar-border: #ffffff;
|
|
|
|
/*User Page*/
|
|
|
|
--user-pfp-border: #ffffff;
|
|
--user-pfp-border-shadow: -10px 15px 25px rgba(0, 0, 0, 0.754);
|
|
|
|
--user-borderBg: rgb(255, 237, 123);
|
|
--user-box: rgb(1, 136, 66);
|
|
--user-box-strip: rgb(217, 240, 133);
|
|
--user-box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.754);
|
|
--user-sideBox: rgb(1, 61, 30);
|
|
--user-contentBox: rgb(245, 228, 167);
|
|
|
|
--user-bg: rgb(0, 78, 38);
|
|
--user-live-bg: rgb(217, 240, 133);
|
|
}
|
|
|
|
body[data-theme="orange"] {
|
|
--bg-color: #ffe0b2;
|
|
--text-color: #e65100;
|
|
|
|
--sideBar-bg: #fff3dc;
|
|
--sideBar-text: #4d3b31;
|
|
--sideBar-profile-bg: #E67E22;
|
|
--sideBar-profile-text: #ffffff;
|
|
--profile-border: #ffd900;
|
|
|
|
--follow-bg: #fdfd00af;
|
|
--follow-text: #000000;
|
|
--follow-shadow: 0px 0px 15px rgba(0, 229, 255, 0.754);
|
|
|
|
--liveNow: rgba(202, 192, 53, 0.6);
|
|
--recommend: rgba(192, 111, 18, 0.6);
|
|
|
|
|
|
--quickBar-title-bg: #E67E22;
|
|
--quickBar-title: #ffffff;
|
|
--quickBar-bg: #fff3dc;
|
|
--quickBar-text: #ff8800;
|
|
--quickBar-border: #ffffff;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
:root {
|
|
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
|
|
color-scheme: light dark;
|
|
color: rgba(255, 255, 255, 0.87);
|
|
background-color: #242424;
|
|
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a {
|
|
font-weight: 500;
|
|
color: #646cff;
|
|
text-decoration: inherit;
|
|
}
|
|
a:hover {
|
|
color: #535bf2;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
place-items: center;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 3.2em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
button {
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
padding: 0.6em 1.2em;
|
|
font-size: 1em;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
background-color: #1a1a1a;
|
|
cursor: pointer;
|
|
transition: border-color 0.25s;
|
|
}
|
|
button:hover {
|
|
border-color: #646cff;
|
|
}
|
|
button:focus,
|
|
button:focus-visible {
|
|
outline: 4px auto -webkit-focus-ring-color;
|
|
}
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
:root {
|
|
color: #213547;
|
|
background-color: #ffffff;
|
|
}
|
|
a:hover {
|
|
color: #747bff;
|
|
}
|
|
button {
|
|
background-color: #f9f9f9;
|
|
}
|
|
} */
|