Spaces:
Running
Running
File size: 1,231 Bytes
82aef84 a7456ad 82aef84 a7456ad 82aef84 a7456ad 82aef84 a7456ad 82aef84 a7456ad 82aef84 a7456ad | 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 | /* Custom styles that extend Tailwind */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #d946ef;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #c026d3;
}
/* Animation for project cards */
.project-card {
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.project-card::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(217, 70, 239, 0.1), rgba(217, 70, 239, 0.2));
opacity: 0;
transition: opacity 0.3s ease;
}
.project-card:hover::after {
opacity: 1;
}
/* Badge animations */
.badge {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.badge:hover {
transform: scale(1.05);
box-shadow: 0 2px 8px rgba(217, 70, 239, 0.3);
}
|