retrofairie/resources/css/app.css
2025-02-23 11:52:18 -08:00

144 lines
3.5 KiB
CSS
Executable file

@layer theme, base, components, utilities;
/* TODO: Remove noinspection once upgraded to 2024.3.2+ */
/*noinspection CssInvalidImport*/
@import "tailwindcss/theme" layer(theme);
/*noinspection CssInvalidImport*/
@import "tailwindcss/utilities" layer(utilities);
/*noinspection CssInvalidImport*/
@import "98.css" layer(base);
/*@plugin '@tailwindcss/forms';*/
/*noinspection CssInvalidAtRule*/
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
/*noinspection CssInvalidAtRule*/
@theme {
--font-sans: Figtree, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
/*
The default border color has changed to `currentColor` in Tailwind CSS v4,
so we've added these compatibility styles to make sure everything still
looks the same as it did with Tailwind CSS v3.
If we ever want to remove these styles, we need to add an explicit border
color utility to any element that depends on these defaults.
*/
@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentColor);
}
html {
background-image: url("../images/bg.jpg");
background-size: cover;
background-color: #e1c0b9;
height: 100vh;
width: 100vw;
}
body {
margin-left: 20px;
margin-top: 20px;
}
/* For Alpine.js */
[x-cloak] {
display: none !important;
}
}
@layer components {
.button {
text-decoration: none;
display: inline-block;
padding-inline-end: 12px;
padding-inline-start: 12px;
padding-left: 12px;
padding-right: 12px;
text-align: center;
user-select: none;
line-height: 23px;
}
button {
cursor: pointer;
}
.window:not(:last-child) {
margin-bottom: 1rem;
}
.window hr {
height: 1px;
border-top: 1px solid var(--button-shadow);
background-color: var(--button-hilight);
}
nav.window {
position: fixed;
bottom: 28px;
left: 4px;
z-index: 50;
width: calc(var(--spacing) * 60);
padding: 1px;
}
nav.window > .wrapper {
border-left: 24px solid;
border-image-slice: 1;
border-image-source: linear-gradient(
to top,
var(--active-title),
var(--gradient-active-title)
);
margin: 2px;
min-height: calc(var(--spacing) * 29);
}
nav.window > .wrapper > .links {
padding-left: 2px;
padding-right: 2px;
}
nav.window > .wrapper > h1 {
position: absolute;
bottom: 0;
transform-origin: bottom left;
transform: rotate(-90deg);
font-family: Tahoma, Verdana, Segoe, sans-serif;
font-size: var(--text-lg);
line-height: var(--text-lg--line-height);
color: var(--color-white);
margin-bottom: 8px;
margin-left: 3px;
font-weight: 900;
}
nav.window > .wrapper > .links a {
text-decoration: none;
color: var(--window-text);
display: block;
font-size: 12px;
height: 30px;
padding: 1px 2px;
}
nav.window > .wrapper > .links a > img {
height: 30px;
margin-right: 6px;
vertical-align: middle;
}
nav.window > .wrapper > .links a:hover {
background-color: var(--hilight);
}
}