n0mbers/src/index.css

118 lines
2.5 KiB
CSS
Raw Normal View History

2022-02-07 22:14:31 +01:00
@tailwind base;
@tailwind components;
@tailwind utilities;
/* https://google-webfonts-helper.herokuapp.com/fonts */
/* manrope-regular - latin */
@font-face {
font-family: 'Manrope';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../fonts/manrope-v8-latin-regular.eot');
/* IE9 Compat Modes */
src: local(''),
2022-02-18 10:18:51 +01:00
url('../fonts/manrope-v8-latin-regular.eot?#iefix')
format('embedded-opentype'),
/* IE6-IE8 */ url('../fonts/manrope-v8-latin-regular.woff2') format('woff2'),
/* Super Modern Browsers */ url('../fonts/manrope-v8-latin-regular.woff')
format('woff'),
/* Modern Browsers */ url('../fonts/manrope-v8-latin-regular.ttf')
format('truetype'),
2022-02-07 22:14:31 +01:00
/* Safari, Android, iOS */
2022-02-18 10:18:51 +01:00
url('../fonts/manrope-v8-latin-regular.svg#Manrope') format('svg');
2022-02-07 22:14:31 +01:00
/* Legacy iOS */
}
/* manrope-700 - latin */
@font-face {
font-family: 'Manrope';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('../fonts/manrope-v8-latin-700.eot');
/* IE9 Compat Modes */
src: local(''),
url('../fonts/manrope-v8-latin-700.eot?#iefix') format('embedded-opentype'),
2022-02-18 10:18:51 +01:00
/* IE6-IE8 */ url('../fonts/manrope-v8-latin-700.woff2') format('woff2'),
/* Super Modern Browsers */ url('../fonts/manrope-v8-latin-700.woff')
format('woff'),
/* Modern Browsers */ url('../fonts/manrope-v8-latin-700.ttf')
format('truetype'),
/* Safari, Android, iOS */ url('../fonts/manrope-v8-latin-700.svg#Manrope')
format('svg');
2022-02-07 22:14:31 +01:00
/* Legacy iOS */
2022-02-10 22:32:41 +01:00
}
2022-02-18 10:18:51 +01:00
/* ROUTE TRANSITION */
.route-move,
.route-enter-active,
.route-leave-active {
transition: all .8s ease;
}
.route-enter-from {
opacity: 0;
transform: translateX(100vw);
}
.route-leave-to {
opacity: 0;
transform: translateX(-100vw);
}
.route-leave-active {
position: absolute;
}
/* SLIDE LEFT */
2022-02-15 08:46:15 +01:00
.slide_left-move,
2022-02-10 22:32:41 +01:00
.slide_left-enter-active,
.slide_left-leave-active {
transition: all 0.5s ease;
}
2022-02-17 23:43:52 +01:00
2022-02-10 22:32:41 +01:00
.slide_left-enter-from,
.slide_left-leave-to {
opacity: 0;
transform: translateX(30px);
}
2022-02-18 10:18:51 +01:00
/* .slide_left-leave-active {
position: absolute;
} */
/* SLIDE UP */
2022-02-10 22:32:41 +01:00
.slide_up-enter-active,
.slide_up-leave-active {
transition: all 0.5s ease;
}
2022-02-17 23:43:52 +01:00
2022-02-10 22:32:41 +01:00
.slide_up-enter-from,
.slide_up-leave-to {
opacity: 0;
transform: translateY(30px);
2022-02-15 22:35:30 +01:00
}
.zero_height-enter-active,
.zero_height-leave-active {
transition: all 0.5s ease;
}
2022-02-17 23:43:52 +01:00
2022-02-15 22:35:30 +01:00
.zero_height-enter-from,
.zero_height-leave-to {
height: 0;
opacity: 0;
2022-02-17 22:20:09 +01:00
}
@layer components {
.btn {
@apply w-fit p-2;
2022-02-17 23:43:52 +01:00
@apply rounded border border-stone-600 hover:border-cyan-500 transition-opacity;
2022-02-17 22:20:09 +01:00
}
2022-02-18 10:18:51 +01:00
}