Crossberry's picture
Style add
c6e48e3 verified
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #24292e;
--primary-light: #2f363d;
--primary-dark: #1b1f23;
--secondary: #6a737d;
--accent: #2ea44f;
--accent-dark: #22863d;
--white: #ffffff;
--gray-50: #f9fafb;
--gray-100: #f3f4f6;
--gray-200: #e5e7eb;
--gray-300: #d1d5db;
--gray-400: #9ca3af;
--gray-500: #6b7280;
--gray-600: #4b5563;
--gray-700: #374151;
--gray-800: #1f2937;
--gray-900: #111827;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.5;
color: var(--gray-800);
background-color: var(--gray-50);
}
.gradient-text {
background: linear-gradient(90deg, var(--accent) 0%, #0366D6 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
border-radius: 0.375rem;
font-weight: 500;
text-align: center;
transition: all 0.15s ease;
cursor: pointer;
}
.btn-primary {
background-color: var(--accent);
color: var(--white);
border: 1px solid transparent;
}
.btn-primary:hover {
background-color: var(--accent-dark);
transform: translateY(-1px);
}
.btn-outline {
background-color: transparent;
color: var(--accent);
border: 1px solid var(--accent);
}
.btn-outline:hover {
background-color: rgba(46, 164, 79, 0.1);
}
/* Cards */
.card {
background-color: var(--white);
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
animation: fadeIn 0.5s ease forwards;
}
/* Utility classes */
.text-primary {
color: var(--primary);
}
.bg-primary {
background-color: var(--primary);
}
.max-w-screen-xl {
max-width: 1280px;
}
.mx-auto {
margin-left: auto;
margin-right: auto;
}
.px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.py-8 {
padding-top: 2rem;
padding-bottom: 2rem;
}
.octocat-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.transition-all {
transition: all 0.3s ease;
}