-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
150 lines (127 loc) · 2.77 KB
/
styles.css
File metadata and controls
150 lines (127 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* Custom styles beyond Tailwind */
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
background: #333;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Code block styling */
pre {
scrollbar-width: thin;
scrollbar-color: #333 #0a0a0a;
}
/* Gradient text animation */
@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1.bg-gradient-to-r {
background-size: 200% auto;
animation: gradient-shift 8s ease infinite;
}
/* Feature card hover effect */
.bg-black\/40 {
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bg-black\/40:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}
/* Mobile menu transition */
#mobile-menu {
transition: max-height 0.3s ease-in-out;
max-height: 0;
overflow: hidden;
}
#mobile-menu.active {
max-height: 200px;
}
/* Logo glow effect */
.hero-logo {
filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
transition: filter 0.5s ease;
}
.hero-logo:hover {
filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
}
/* Animated gradient border */
@keyframes border-glow {
0% {
border-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 5px rgba(88, 101, 242, 0.1);
}
50% {
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}
100% {
border-color: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 5px rgba(88, 101, 242, 0.1);
}
}
.glow-border {
animation: border-glow 4s infinite;
}
/* Improved button hover effects */
.btn-hover-effect {
position: relative;
overflow: hidden;
}
.btn-hover-effect:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.1);
transform: translateX(-100%);
transition: transform 0.3s ease;
}
.btn-hover-effect:hover:after {
transform: translateX(0);
}
/* Fade-in animation for sections */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.8s ease forwards;
}
/* Improved focus styles for accessibility */
a:focus, button:focus {
outline: 2px solid #5865F2;
outline-offset: 2px;
}
/* Responsive image handling */
.responsive-img {
max-width: 100%;
height: auto;
}