-
Notifications
You must be signed in to change notification settings - Fork 0
/
input.css
141 lines (116 loc) · 3.04 KB
/
input.css
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
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
body {
@apply bg-primary text-white;
}
}
@layer components {
/* Lang button with specific styling */
.lang-button {
@apply bg-[#7C4DFF] text-white px-6 py-2 rounded-[20px] hover:bg-opacity-90 font-medium;
}
/* Project cards with dark background */
.project-card {
@apply bg-[rgba(46,46,102,0.5)] rounded-xl p-4 text-center transition-all duration-300 hover:scale-105 hover:bg-accent overflow-hidden;
}
/* Section titles with accent underline */
.section-title {
@apply text-xl font-bold pb-2 relative;
}
.section-title::after {
content: '';
@apply absolute bottom-0 left-0 w-full h-[2px] bg-[#7C4DFF];
}
/* Project card content */
.project-card img {
@apply w-full h-48 object-cover rounded-lg mb-4 transition-all duration-300;
}
.project-card h3 {
@apply text-lg font-semibold mb-2;
}
.project-card p {
@apply text-gray-300 text-sm;
}
/* Dropdown menu */
#dropdownContent {
@apply mt-2 bg-white rounded-lg shadow-lg overflow-hidden;
}
#dropdownContent a {
@apply block px-4 py-2 text-black hover:bg-gray-100 transition-colors duration-200;
}
#dropdownContent a:first-child {
@apply rounded-t-lg;
}
#dropdownContent a:last-child {
@apply rounded-b-lg;
}
#dropdownContent img {
@apply inline-block mr-2;
}
/* Page load animation */
.animate-fade-in {
animation: fadeIn 1s ease-out forwards;
opacity: 0;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* NoScript Warning */
.noscript-warning {
@apply fixed top-5 left-1/2 -translate-x-1/2 bg-[rgba(108,92,231,0.1)]
border border-[rgba(108,92,231,0.3)] px-6 py-4 rounded-xl
backdrop-blur-md text-[#a0a0a0] text-sm z-50 text-center
max-w-[90%] w-auto shadow-lg;
animation: slideDown 0.5s ease-out;
}
.noscript-warning strong {
@apply text-[#6c5ce7] font-semibold;
}
.noscript-warning p {
@apply my-1;
}
.noscript-warning .joke {
@apply italic mt-2 text-[0.85rem] opacity-80;
}
@keyframes slideDown {
from {
transform: translate(-50%, -100%);
opacity: 0;
}
to {
transform: translate(-50%, 0);
opacity: 1;
}
}
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
background: #0a0a13;
}
::-webkit-scrollbar-track {
background: #0d0d16;
border-radius: 5px;
}
::-webkit-scrollbar-thumb {
background: #6c5ce7;
border-radius: 5px;
border: 2px solid #0d0d16;
}
::-webkit-scrollbar-thumb:hover {
background: #8A7FFF;
}
/* Firefox */
* {
scrollbar-width: none;
scrollbar-color: #6c5ce7 #0d0d16;
}