NeoPy commited on
Commit
03e891d
·
verified ·
1 Parent(s): e76575f

Delete style.css

Browse files
Files changed (1) hide show
  1. style.css +0 -224
style.css DELETED
@@ -1,224 +0,0 @@
1
- /* Linear Portfolio Template Styles */
2
- @import url('https://fonts.googleapis.com/css2?family=Syne:wght@300;400;500;600;700;800;900&display=swap');
3
-
4
- * {
5
- margin: 0;
6
- padding: 0;
7
- box-sizing: border-box;
8
- }
9
-
10
- html {
11
- scroll-behavior: smooth;
12
- }
13
-
14
- body {
15
- font-family: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
16
- line-height: 1.6;
17
- color: #1f2937;
18
- /* Enable hardware acceleration */
19
- transform: translateZ(0);
20
- -webkit-transform: translateZ(0);
21
- /* Optimize rendering */
22
- will-change: transform;
23
- }
24
-
25
- /* Custom animations - optimized for performance */
26
- @keyframes fadeInUp {
27
- from {
28
- opacity: 0;
29
- transform: translateY3d(30px, 0, 0);
30
- }
31
- to {
32
- opacity: 1;
33
- transform: translateY3d(0, 0, 0);
34
- }
35
- }
36
-
37
- @keyframes slideInLeft {
38
- from {
39
- opacity: 0;
40
- transform: translate3d(-30px, 0, 0);
41
- }
42
- to {
43
- opacity: 1;
44
- transform: translate3d(0, 0, 0);
45
- }
46
- }
47
-
48
- @keyframes slideInRight {
49
- from {
50
- opacity: 0;
51
- transform: translate3d(30px, 0, 0);
52
- }
53
- to {
54
- opacity: 1;
55
- transform: translate3d(0, 0, 0);
56
- }
57
- }
58
-
59
- /* Animation classes - optimized with will-change */
60
- .animate-fade-in-up {
61
- animation: fadeInUp 0.8s ease-out forwards;
62
- will-change: opacity, transform;
63
- }
64
-
65
- .animate-slide-in-left {
66
- animation: slideInLeft 0.8s ease-out forwards;
67
- will-change: opacity, transform;
68
- }
69
-
70
- .animate-slide-in-right {
71
- animation: slideInRight 0.8s ease-out forwards;
72
- will-change: opacity, transform;
73
- }
74
-
75
- /* Custom scrollbar - simplified for performance */
76
- ::-webkit-scrollbar {
77
- width: 6px;
78
- }
79
-
80
- ::-webkit-scrollbar-track {
81
- background: #f1f5f9;
82
- }
83
-
84
- ::-webkit-scrollbar-thumb {
85
- background: #cbd5e1;
86
- border-radius: 3px;
87
- }
88
-
89
- ::-webkit-scrollbar-thumb:hover {
90
- background: #94a3b8;
91
- }
92
-
93
- /* Form styles - fixed ring property */
94
- input:focus,
95
- textarea:focus {
96
- outline: none;
97
- box-shadow: 0 0 0 2px #000000;
98
- border-color: #000000;
99
- }
100
-
101
- /* Smooth transitions - limited to transform and opacity for better performance */
102
- a,
103
- button {
104
- transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
105
- }
106
-
107
- /* Mobile optimizations */
108
- @media (max-width: 768px) {
109
- .mobile-menu {
110
- border-top: 1px solid #f1f5f9;
111
- margin-top: 1rem;
112
- padding-top: 1rem;
113
- }
114
- }
115
-
116
- /* Hero section responsive text */
117
- @media (max-width: 640px) {
118
- .hero-text {
119
- font-size: 3rem;
120
- line-height: 1.1;
121
- }
122
- }
123
-
124
- /* Loading animation for images - optimized with will-change */
125
- img {
126
- transition: opacity 0.3s ease-in-out;
127
- will-change: opacity;
128
- }
129
-
130
- img[loading] {
131
- opacity: 0;
132
- }
133
-
134
- img[loaded] {
135
- opacity: 1;
136
- }
137
-
138
- /* Custom focus styles for accessibility */
139
- a:focus,
140
- button:focus {
141
- outline: 2px solid #000000;
142
- outline-offset: 2px;
143
- }
144
-
145
- /* Gradient text effect - optimized with will-change */
146
- .gradient-text {
147
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
148
- -webkit-background-clip: text;
149
- -webkit-text-fill-color: transparent;
150
- background-clip: text;
151
- will-change: transform;
152
- }
153
-
154
- /* Card hover effects - optimized with transform3d and will-change */
155
- .card-hover {
156
- transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
157
- will-change: transform, box-shadow;
158
- }
159
-
160
- .card-hover:hover {
161
- transform: translateY3d(-4px, 0, 0);
162
- box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
163
- }
164
-
165
- /* Button press effect - optimized with transform3d */
166
- .btn-press:active {
167
- transform: scale3d(0.98, 0.98, 1);
168
- }
169
-
170
- /* Custom spacing for sections */
171
- .section-padding {
172
- padding-top: 6rem;
173
- padding-bottom: 6rem;
174
- }
175
-
176
- @media (max-width: 768px) {
177
- .section-padding {
178
- padding-top: 4rem;
179
- padding-bottom: 4rem;
180
- }
181
- }
182
-
183
- /* Glass morphism effect - optimized with will-change */
184
- .glass {
185
- background: rgba(255, 255, 255, 0.25);
186
- backdrop-filter: blur(10px);
187
- border: 1px solid rgba(255, 255, 255, 0.18);
188
- will-change: transform;
189
- }
190
-
191
- /* Notification styles - optimized with transform3d and will-change */
192
- .notification {
193
- position: fixed;
194
- top: 20px;
195
- right: 20px;
196
- background: white;
197
- border: 1px solid #e5e7eb;
198
- border-radius: 8px;
199
- padding: 16px;
200
- box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
201
- z-index: 1000;
202
- transform: translate3d(100%, 0, 0);
203
- transition: transform 0.3s ease-in-out;
204
- will-change: transform;
205
- }
206
-
207
- .notification.show {
208
- transform: translate3d(0, 0, 0);
209
- }
210
-
211
- /* Dark mode support */
212
- @media (prefers-color-scheme: dark) {
213
- .dark-mode-toggle {
214
- background: #1f2937;
215
- color: #f9fafb;
216
- }
217
- }
218
-
219
- /* Performance optimization class for elements that frequently change */
220
- .gpu-accelerated {
221
- transform: translateZ(0);
222
- -webkit-transform: translateZ(0);
223
- will-change: transform;
224
- }