snowballtools-base/packages/frontend/src/index.css

190 lines
4.7 KiB
CSS
Raw Normal View History

2024-04-21 23:02:42 +00:00
@import 'layouts/global.css';
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-02-19 12:05:29 +00:00
@layer base {
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 100;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Thin.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 100;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-ThinItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 200;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-ExtraLight.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 200;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-ExtraLightItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 300;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Light.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 300;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-LightItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 400;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 400;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Italic.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 500;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Medium.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 500;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-MediumItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 600;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-SemiBold.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 600;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-SemiBoldItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 700;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Bold.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 700;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-BoldItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 800;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-ExtraBold.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 800;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-ExtraBoldItalic.woff2')
format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: normal;
font-weight: 900;
font-display: swap;
2024-05-09 16:31:01 +00:00
src: url('/fonts/InterDisplay/InterDisplay-Black.woff2') format('woff2');
}
@font-face {
font-family: 'Inter Display';
font-style: italic;
font-weight: 900;
font-display: swap;
2024-05-06 16:59:20 +00:00
src: url('/fonts/InterDisplay/InterDisplay-BlackItalic.woff2')
format('woff2');
}
}
2024-02-19 12:05:29 +00:00
@layer utilities {
.focus-ring {
@apply focus-visible:ring-[3px] focus-visible:ring-snowball-200 focus-visible:ring-offset-1 focus-visible:ring-offset-snowball-500 focus-visible:outline-none;
2024-10-23 19:44:47 +00:00
@apply focus-visible:ring-[3px] dark:focus-visible:ring-primary focus-visible:ring-offset-1 dark:focus-visible:ring-offset-primary focus-visible:outline-none;
2024-02-19 12:05:29 +00:00
}
@keyframes dialog-overlay-show {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes dialog-overlay-hide {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes dialog-content-show {
from {
opacity: 0;
transform: translate(-50%, -50%) scale(0.95);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}
@keyframes dialog-content-hide {
from {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
to {
opacity: 0;
transform: translate(-50%, -50%) scale(0.95);
}
}
2024-02-26 22:45:51 +00:00
}