ultrawidify/src/main.css

134 lines
2.0 KiB
CSS
Raw Normal View History

2025-12-01 01:14:08 +01:00
@import "tailwindcss";
@import "tailwindcss/utilities";
2025-12-15 19:42:07 +01:00
@import '@ui/res/styles/theme.css';
@import '@ui/res/styles/forms.css';
@import '@ui/res/styles/fonts.css';
@import '@ui/res/styles/buttons.css';
2025-12-10 22:10:40 +01:00
@import '@ui/res/styles/player-menu.css';
2025-12-29 02:34:46 +01:00
:host {
@apply bg-stone-950 text-stone-300;
font-size: 16px;
}
html, body {
2025-12-02 01:03:54 +01:00
@apply bg-stone-950 text-stone-300;
font-size: 16px;
}
2025-12-29 02:34:46 +01:00
@media (max-width: 999px) {
2025-12-29 02:34:46 +01:00
:host {
font-size: 12px;
}
html, body {
font-size: 12px;
}
2025-12-10 22:10:40 +01:00
.mdi svg {
transform: scale(0.75)
}
}
@layer base {
body {
@apply font-sans text-stone-300;
}
h1, h2, h3, h4, h5, h6 {
@apply font-mono;
}
h2 {
@apply text-[1.75em];
}
h3 {
@apply text-primary-300 text-[1.25em] mt-4 border-b-1 border-b-stone-700;
}
a {
@apply text-primary-400 cursor-pointer;
&:hover {
@apply text-primary-300;
}
}
p {
@apply mt-1 mb-2;
}
p, li {
@apply leading-tight;
}
ul {
@apply bg-stone-900/50 px-4 py-2 mt-1 mb-2;
li {
@apply ml-4 list-disc marker:text-primary-400 mt-1 mb-2;
}
}
small, strike {
@apply opacity-50;
}
2025-12-10 22:10:40 +01:00
}
2025-12-10 22:10:40 +01:00
/* Site support levels */
.uw-site-support {
@apply inline-flex flex-row items-center gap-1 rounded-[0.5rem] relative;
.tooltip {
padding: 1rem;
display: none;
position: absolute;
bottom: 0;
transform: translateY(110%);
width: 42em;
background-color: rgba(0,0,0,0.90);
color: #ccc;
z-index: 99999 !important;
white-space: normal;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
}
&:hover {
&.no-tooltip {
.tooltip {
display: none !important;
}
2025-12-10 22:10:40 +01:00
}
.tooltip {
display: block;
2025-12-10 22:10:40 +01:00
}
}
}
2025-12-10 22:10:40 +01:00
.uw-site-support-level {
&.uw-official {
@apply text-primary-400;
}
&.uw-community {
@apply text-indigo-600;
}
&.uw-officially-disabled {
@apply text-red-600;
}
&.no-support {
@apply text-slate-600;
}
&.uw-user-added {
@apply text-cyan-700;
}
2025-12-01 01:03:12 +01:00
}
/* END site support levels */