RotBench / assets /css /styles.css
akhaliq's picture
akhaliq HF Staff
Upload folder using huggingface_hub
f9b8369 verified
Raw
History Blame Contribute Delete
9.36 kB
:root {
--primary-color: #0071e3;
--primary-hover: #0077ed;
--secondary-color: #86868b;
--text-primary: #1d1d1f;
--text-secondary: #515154;
--background: #ffffff;
--background-alt: #f5f5f7;
--border-color: #d2d2d7;
--shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
--radius: 12px;
--transition: all 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: var(--text-primary);
background: var(--background);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Navigation */
.navbar {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
border-bottom: 1px solid var(--border-color);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
}
.nav-logo h1 {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-weight: 700;
font-size: 1.5rem;
color: var(--text-primary);
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-link {
text-decoration: none;
color: var(--text-secondary);
font-weight: 500;
transition: var(--transition);
}
.nav-link:hover {
color: var(--primary-color);
}
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.bar {
width: 25px;
height: 3px;
background: var(--text-primary);
margin: 3px 0;
transition: var(--transition);
}
/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
padding: 100px 20px 60px;
max-width: 1200px;
margin: 0 auto;
gap: 4rem;
}
.hero-content {
flex: 1;
}
.hero-title {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1rem;
background: linear-gradient(135deg, #0071e3, #00a2ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 1rem;
}
.hero-description {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
line-height: 1.6;
}
.hero-buttons {
display: flex;
gap: 1rem;
}
.hero-image {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.hero-image img {
max-width: 100%;
height: auto;
border-radius: var(--radius);
box-shadow: var(--shadow);
}
/* Buttons */
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: 980px;
text-decoration: none;
font-weight: 500;
transition: var(--transition);
border: none;
cursor: pointer;
font-size: 1rem;
}
.btn-primary {
background: var(--primary-color);
color: white;
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-2px);
}
.btn-secondary {
background: transparent;
color: var(--primary-color);
border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
background: var(--primary-color);
color: white;
}
.btn-github {
background: #24292e;
color: white;
padding: 16px 32px;
font-size: 1.1rem;
}
.btn-github:hover {
background: #2c3034;
transform: translateY(-2px);
}
/* Sections */
.section {
padding: 80px 0;
}
.section-alt {
background: var(--background-alt);
}
.section h2 {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 2.5rem;
font-weight: 700;
text-align: center;
margin-bottom: 3rem;
color: var(--text-primary);
}
/* Content Grid */
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.text-content {
font-size: 1.1rem;
line-height: 1.6;
color: var(--text-secondary);
}
.text-content p {
margin-bottom: 1.5rem;
}
.image-content {
display: flex;
justify-content: center;
}
.image-content img {
max-width: 100%;
height: auto;
border-radius: var(--radius);
box-shadow: var(--shadow);
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background: white;
padding: 2rem;
border-radius: var(--radius);
box-shadow: var(--shadow);
transition: var(--transition);
}
.feature-card:hover {
transform: translateY(-4px);
}
.feature-card h3 {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-primary);
}
.feature-card p {
color: var(--text-secondary);
line-height: 1.6;
}
/* Results Section */
.results-content {
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.results-content p {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 3rem;
line-height: 1.6;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-top: 3rem;
}
.stat-item {
text-align: center;
}
.stat-number {
display: block;
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 3rem;
font-weight: 700;
color: var(--primary-color);
margin-bottom: 0.5rem;
}
.stat-label {
font-size: 1.1rem;
color: var(--text-secondary);
}
/* Paper Section */
.paper-content {
text-align: center;
max-width: 600px;
margin: 0 auto;
}
.paper-content p {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
}
.paper-card {
background: white;
padding: 2.5rem;
border-radius: var(--radius);
box-shadow: var(--shadow);
margin-bottom: 2rem;
}
.paper-card h3 {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1rem;
color: var(--text-primary);
}
.paper-authors {
color: var(--text-secondary);
margin-bottom: 2rem;
font-style: italic;
}
/* GitHub Section */
.github-content {
text-align: center;
}
.github-content p {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* Footer */
.footer {
background: var(--background-alt);
padding: 4rem 0 2rem;
border-top: 1px solid var(--border-color);
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 3rem;
margin-bottom: 2rem;
}
.footer-section h3,
.footer-section h4 {
font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
margin-bottom: 1rem;
color: var(--text-primary);
}
.footer-section p {
color: var(--text-secondary);
line-height: 1.6;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section ul li a {
color: var(--text-secondary);
text-decoration: none;
transition: var(--transition);
}
.footer-section ul li a:hover {
color: var(--primary-color);
}
.footer-bottom {
text-align: center;
padding-top: 2rem;
border-top: 1px solid var(--border-color);
color: var(--text-secondary);
}
/* Responsive Design */
@media (max-width: 968px) {
.hero {
flex-direction: column;
text-align: center;
padding: 120px 20px 60px;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.3rem;
}
.hero-buttons {
justify-content: center;
}
.content-grid {
grid-template-columns: 1fr;
gap: 2rem;
}
.nav-menu {
position: fixed;
left: -100%;
top: 60px;
flex-direction: column;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(20px);
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0;
gap: 0;
}
.nav-menu.active {
left: 0;
}
.nav-item {
margin: 1.5rem 0;
}
.hamburger {
display: flex;
}
.hamburger.active .bar:nth-child(2) {
opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
}
@media (max-width: 640px) {
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1.1rem;
}
.section h2 {
font-size: 2rem;
}
.stats-grid {
grid-template-columns: 1fr;
}
.stat-number {
font-size: 2.5rem;
}
.features-grid {
grid-template-columns: 1fr;
}
}