Spaces:
Running
Running
File size: 1,880 Bytes
f493344 a776fe2 f493344 a776fe2 f493344 a776fe2 f493344 a776fe2 f493344 a776fe2 f493344 a776fe2 f493344 | 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 | /* Shared styles across all pages */
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
main {
flex: 1;
}
.training-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.training-card:hover {
transform: translateY(-6px) scale(1.01);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.training-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(to right, #3B82F6, #6366F1);
}
.tag {
display: inline-flex;
align-items: center;
padding: 0.4rem 0.8rem;
border-radius: 9999px;
font-size: 0.75rem;
font-weight: 600;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-primary {
display: inline-flex;
align-items: center;
background: linear-gradient(to right, #3B82F6, #6366F1);
color: white;
padding: 0.5rem 1.25rem;
border-radius: 9999px;
font-weight: 500;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
color: white;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.prose {
max-width: 100%;
line-height: 1.6;
color: #4B5563;
}
.prose p {
margin-bottom: 1rem;
}
@media (max-width: 768px) {
.training-card {
margin-bottom: 1.5rem;
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
} |