Spaces:
Running
Running
File size: 2,894 Bytes
9b00824 f802481 9b00824 f802481 9b00824 f802481 9b00824 f802481 9b00824 f802481 9b00824 f802481 9b00824 |
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 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
/* Custom CSS for CodeCanvas Noir Portfolio */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Inter', system-ui, -apple-system, sans-serif;
line-height: 1.6;
}
/* Custom Animations */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
@keyframes glow {
from {
filter: drop-shadow(0 0 5px rgba(100, 116, 139, 0.3));
}
to {
filter: drop-shadow(0 0 15px rgba(100, 116, 139, 0.6));
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #0f172a;
}
::-webkit-scrollbar-thumb {
background: #334155;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #475569;
}
/* Section Transitions */
section {
position: relative;
}
/* Project Card Hover Effects */
.project-card:hover .project-image {
transform: scale(1.05);
}
/* Navigation Active State */
.nav-active {
color: #f1f5f9;
position: relative;
}
.nav-active::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, #64748b, #94a3b8);
border-radius: 2px;
}
/* Glass Morphism Effects */
.glass {
background: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Text Selection */
::selection {
background: rgba(100, 116, 139, 0.3);
color: #f1f5f9;
}
/* Focus States */
button:focus,
a:focus {
outline: 2px solid #64748b;
outline-offset: 2px;
}
/* Mobile Optimizations */
@media (max-width: 768px) {
.project-card {
margin-bottom: 2rem;
}
.hero-title {
font-size: 3rem !important;
}
.hero-subtitle {
font-size: 1.25rem !important;
}
}
/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
/* Loading States */
.loading {
opacity: 0.7;
pointer-events: none;
}
/* Custom Cursor (Optional) */
/* Uncomment if you want a custom cursor
body {
cursor: none;
}
.custom-cursor {
position: fixed;
width: 20px;
height: 20px;
background: rgba(100, 116, 139, 0.5);
border-radius: 50%;
pointer-events: none;
z-index: 9999;
mix-blend-mode: difference;
}
*/ |