froublot's picture
integre toutes les formations du json ameliore le visuel
f493344 verified
Raw
History Blame Contribute Delete
1.88 kB
/* 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;
}