mirror of
https://github.com/perstarkse/minne.git
synced 2026-03-27 11:51:37 +01:00
refactor: better separation of dependencies to crates
node stuff to html crate only
This commit is contained in:
61
html-router/app.css
Normal file
61
html-router/app.css
Normal file
@@ -0,0 +1,61 @@
|
||||
@import 'tailwindcss' source(none);
|
||||
|
||||
@plugin "daisyui" {
|
||||
exclude: rootscrollbargutter;
|
||||
}
|
||||
|
||||
@plugin "@tailwindcss/typography";
|
||||
|
||||
@config './tailwind.config.js';
|
||||
|
||||
/*
|
||||
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.
|
||||
*/
|
||||
|
||||
@view-transition {
|
||||
navigation: auto;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
body {
|
||||
@apply font-satoshi;
|
||||
}
|
||||
|
||||
html {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
*,
|
||||
::after,
|
||||
::before,
|
||||
::backdrop,
|
||||
::file-selector-button {
|
||||
border-color: var(--color-gray-200, currentColor);
|
||||
}
|
||||
}
|
||||
|
||||
/* satoshi.css */
|
||||
@font-face {
|
||||
font-family: 'Satoshi';
|
||||
src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
|
||||
url('fonts/Satoshi-Variable.woff') format('woff'),
|
||||
url('fonts/Satoshi-Variable.ttf') format('truetype');
|
||||
font-weight: 300 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Satoshi';
|
||||
src: url('fonts/Satoshi-VariableItalic.woff2') format('woff2'),
|
||||
url('fonts/Satoshi-VariableItalic.woff') format('woff'),
|
||||
url('fonts/Satoshi-VariableItalic.ttf') format('truetype');
|
||||
font-weight: 300 900;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
Reference in New Issue
Block a user