forge/resources/css/app.css
Refringe 7fe1fad01b
Mod Listing Page Changes
- Updated visual look of the listing to include all filters at the top of the page
- Updated SPT version filter to be able to filter more than one version at a time (defaults to current minor version)
- Moved location of Livewire components into subfolder
- Moved query building methods for the listing into a `ModFilter` class
- Adds a `isLatestMinor` method on the SptVersion model that checks if the current version number is of the latest minor version release
- Livewire filter properties are now saved to the URL when changed
- Updated the top navigation link to include a "Mods" menu item.

TODO:
- Search codebase for "TODO". I've left notes. :|
2024-08-15 17:57:35 -04:00

90 lines
1.5 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
[x-cloak] {
display: none;
}
main a:not(.mod-list-component):not(.tab):not([role="menuitem"]) {
@apply underline text-gray-800 hover:text-black dark:text-gray-200 dark:hover:text-white;
}
.badge-version {
@apply bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-100;
&.red {
@apply bg-red-100 dark:bg-red-700 text-red-700 dark:text-red-100;
}
&.green {
@apply bg-green-100 dark:bg-green-700 text-green-700 dark:text-green-100;
}
&.emerald {
@apply bg-emerald-100 dark:bg-emerald-700 text-emerald-700 dark:text-emerald-100;
}
&.lime {
@apply bg-lime-100 dark:bg-lime-700 text-lime-700 dark:text-lime-100;
}
&.yellow {
@apply bg-yellow-100 dark:bg-yellow-700 text-yellow-700 dark:text-yellow-100;
}
}
.user-markdown {
b, strong {
@apply font-bold;
}
i, em {
@apply italic
}
h1, h2, h3, h4, h5, h6 {
@apply font-bold mt-4 mb-2 text-black dark:text-white;
}
h1 {
@apply text-2xl;
}
h2 {
@apply text-xl;
}
h3 {
@apply text-lg;
}
h4 {
@apply text-base;
}
h5 {
@apply text-sm;
}
h6 {
@apply text-xs;
}
p {
@apply my-2 text-gray-800 dark:text-gray-300;
}
ul {
@apply list-disc mb-2;
}
ol {
@apply list-decimal mb-2;
}
li {
@apply my-2 ml-7 text-gray-800 dark:text-gray-300;
}
}