2
2
@tailwind components;
3
3
@tailwind utilities;
4
4
5
- body {
6
- font-family : "Work Sans" , sans-serif;
5
+ @font-face {
6
+ font-family : 'Geist' ;
7
+ src : url ('/fonts/Geist-Bold.otf' ) format ('opentype' );
8
+ font-weight : bold;
9
+ font-style : normal;
10
+ font-display : swap;
7
11
}
8
12
9
- .swiper-pagination-bullet {
10
- @apply !bg- gray-200 dark:!bg-gray-700 !opacity-100 ;
13
+ @font-face {
14
+ font-family : 'Geist' ;
15
+ src : url ('/fonts/Geist-SemiBold.otf' ) format ('opentype' );
16
+ font-weight : 600 ;
17
+ font-style : normal;
18
+ font-display : swap;
11
19
}
12
20
13
- .swiper-pagination-bullet-active {
14
- @apply !bg- gray-950 dark:!bg-white;
21
+ @font-face {
22
+ font-family : 'Geist' ;
23
+ src : url ('/fonts/Geist-Medium.otf' ) format ('opentype' );
24
+ font-weight : 500 ;
25
+ font-style : normal;
26
+ font-display : swap;
15
27
}
16
28
17
- @keyframes loop {
18
- to {
19
- offset-distance : 100% ;
20
- }
29
+ @font-face {
30
+ font-family : 'Geist' ;
31
+ src : url ('/fonts/Geist-Regular.otf' ) format ('opentype' );
32
+ font-weight : normal;
33
+ font-style : normal;
34
+ font-display : swap;
21
35
}
22
36
23
- @layer utilities {
24
- .animate-slide {
25
- animation : slide 3s infinite;
26
- }
27
- .animate-slide-2 {
28
- animation : slide2 3s infinite;
29
- }
30
- }
31
- @layer components {
32
- .navbar-active .hamburger div : first-child {
33
- @apply translate-y-1.5 rotate-45;
34
- }
35
- .navbar-active .hamburger div : last-child {
36
- @apply -translate-y-1 -rotate-45;
37
- }
38
- .navbar-active div : first-child div : first-child div : last-child {
39
- @apply block lg:flex;
40
- }
37
+ @font-face {
38
+ font-family : 'GeistMono' ;
39
+ src : url ('/fonts/GeistMono-Regular.otf' ) format ('opentype' );
40
+ font-weight : normal;
41
+ font-style : normal;
42
+ font-display : swap;
41
43
}
42
- .isToggled # line1 {
43
- @apply translate-y-1.5 rotate-45;
44
- }
45
- .isToggled # line2 {
46
- @apply -translate-y-1 -rotate-45;
44
+
45
+ .swiper-pagination-bullet {
46
+ @apply !bg- gray-200 dark:!bg-gray-700 !opacity-100 ;
47
47
}
48
48
49
- @keyframes slide {
50
- 0% {
51
- transform : translateX (-20rem );
52
- }
53
- 25% {
54
- transform : translateX (-10rem );
55
- }
56
- 100% {
57
- transform : translateX (15rem );
58
- }
49
+ .swiper-pagination-bullet-active {
50
+ @apply !bg- gray-950 dark:!bg-white;
59
51
}
60
52
61
- @keyframes slide2 {
62
- 0% {
63
- transform : translateX (-20% );
64
- }
65
- 75% {
66
- transform : translateX (20vw );
67
- opacity : 1 ;
68
- }
69
- 100% {
70
- transform : translateX (60vw );
71
- opacity : 0 ;
53
+ @keyframes loop {
54
+ to {
55
+ offset-distance : 100% ;
72
56
}
73
57
}
0 commit comments