1- @import url ("https://fonts.googleapis.com/css2?family=Old+Standard+TT&display=swap" );
1+ @import url ("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap" );
2+ @import url ("https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;700&display=swap" );
23
34* {
45 box-sizing : border-box;
56}
67
78@import "tailwindcss" ;
89@plugin "@tailwindcss/typography" ;
9- @import "@catppuccin/tailwindcss/config .css" ;
10+ @import "@catppuccin/tailwindcss/mocha .css" ;
1011@import "tailwindcss-animated" ;
1112@theme {
1213 --font-sans : "JetBrains Mono" , sans-serif;
1314 --font-hebrew : "Noto Sans Hebrew" , sans-serif;
14- --default-font-family : "JetBrains Mono" , var (--font-sans );
1515}
1616
1717html {
1818 scroll-behavior : smooth;
1919}
2020
21- /* Ensure main content area scrolls independently */
2221main {
2322 overflow-y : auto;
2423 -webkit-overflow-scrolling : touch; /* For smooth scrolling on iOS */
@@ -36,3 +35,63 @@ main {
3635 opacity : 1 ;
3736 transform : translateY (0 );
3837}
38+
39+ .glitch {
40+ animation : glitch 1.5s linear infinite;
41+ }
42+
43+ @keyframes glitch {
44+ 2% ,
45+ 64% {
46+ transform : translate (2px , 0 ) skew (0deg );
47+ }
48+ 4% ,
49+ 60% {
50+ transform : translate (-2px , 0 ) skew (0deg );
51+ }
52+ 62% {
53+ transform : translate (0 , 0 ) skew (5deg );
54+ }
55+ }
56+
57+ .glitch : before ,
58+ .glitch : after {
59+ content : attr (data-text);
60+ position : absolute;
61+ top : 0 ;
62+ left : 0 ;
63+ width : 100% ;
64+ height : 100% ;
65+ }
66+
67+ .glitch : before {
68+ left : 2px ;
69+ text-shadow : -2px 0 # ff00c1 ;
70+ clip : rect (44px , 450px , 56px , 0 );
71+ animation : glitch-anim 5s infinite linear alternate-reverse;
72+ }
73+
74+ .glitch : after {
75+ left : -2px ;
76+ text-shadow :
77+ -2px 0 # 00fff9,
78+ 2px 2px # ff00c1 ;
79+ clip : rect (85px , 450px , 90px , 0 );
80+ animation : glitch-anim2 5s infinite linear alternate-reverse;
81+ }
82+
83+ @keyframes glitch-anim {
84+ 0% {
85+ clip : rect (42px , 9999px , 44px , 0 );
86+ transform : skew (0.3deg );
87+ }
88+ /* ... (keep the rest of the keyframes from the original) */
89+ }
90+
91+ @keyframes glitch-anim2 {
92+ 0% {
93+ clip : rect (42px , 9999px , 44px , 0 );
94+ transform : skew (0.3deg );
95+ }
96+ /* ... (keep the rest of the keyframes from the original) */
97+ }
0 commit comments