closed2open / style.css
abidlabs's picture
abidlabs HF Staff
changes
a909440
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
color: white;
min-height: 100vh;
font-weight: 400;
line-height: 1.6;
}
.navbar {
background-color: transparent;
padding: 3rem 0 2rem 0;
position: relative;
}
.navbar::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.nav-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-title {
font-size: 2.5rem;
font-weight: 700;
color: white;
margin: 0;
letter-spacing: -0.02em;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.nav-subtitle {
font-size: 1.1rem;
color: #b0b0b0;
font-weight: 300;
font-style: italic;
margin: 0;
opacity: 0.9;
}
.main-content {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 2rem;
}
.section-title {
font-size: 2.2rem;
font-weight: 600;
margin-bottom: 3rem;
color: white;
letter-spacing: -0.01em;
text-align: center;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -1rem;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 2px;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.why-open-section {
margin-bottom: 4rem;
}
.benefits-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.benefit-card {
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.benefit-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}
.benefit-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
border-color: rgba(255, 255, 255, 0.2);
}
.benefit-card:hover::before {
opacity: 1;
}
.benefit-card h3 {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 1rem;
color: white;
letter-spacing: -0.01em;
z-index: 2;
position: relative;
}
.benefit-card p {
color: #b0b0b0;
font-size: 0.95rem;
line-height: 1.6;
margin: 0;
z-index: 2;
position: relative;
}
.recipes-overview {
margin-top: 4rem;
}
.recipes-table {
display: flex;
flex-direction: column;
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.recipe-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
.recipe-cell {
background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 20px;
padding: 2.5rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(15px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
min-height: 250px;
}
.recipe-cell::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
transition: opacity 0.3s ease;
}
.recipe-cell.audio {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.15) 100%);
}
.recipe-cell.video {
background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(255, 142, 83, 0.15) 100%);
}
.recipe-cell.multimodal {
background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(0, 242, 254, 0.15) 100%);
}
.recipe-cell.text {
background: linear-gradient(135deg, rgba(67, 233, 123, 0.2) 0%, rgba(56, 249, 215, 0.15) 100%);
}
.recipe-cell.guardrails {
background: linear-gradient(135deg, rgba(168, 237, 234, 0.2) 0%, rgba(254, 214, 227, 0.15) 100%);
}
.recipe-cell.optimization {
background: linear-gradient(135deg, rgba(255, 236, 210, 0.2) 0%, rgba(252, 182, 159, 0.15) 100%);
}
.recipe-cell.audio::before {
background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
}
.recipe-cell.video::before {
background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(255, 142, 83, 0.05) 100%);
}
.recipe-cell.multimodal::before {
background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.05) 100%);
}
.recipe-cell.text::before {
background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.05) 100%);
}
.recipe-cell.guardrails::before {
background: linear-gradient(135deg, rgba(168, 237, 234, 0.1) 0%, rgba(254, 214, 227, 0.05) 100%);
}
.recipe-cell.optimization::before {
background: linear-gradient(135deg, rgba(255, 236, 210, 0.1) 0%, rgba(252, 182, 159, 0.05) 100%);
}
.recipe-cell:hover {
transform: translateY(-4px);
box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.25);
}
.recipe-cell:hover::before {
opacity: 1;
}
.recipe-cell h3 {
font-size: 1.5rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
letter-spacing: -0.01em;
z-index: 2;
position: relative;
}
.recipe-links {
display: flex;
flex-direction: column;
gap: 0.8rem;
z-index: 2;
position: relative;
}
.recipe-link {
color: #b0b0b0;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
padding: 0.6rem 1rem;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.05);
transition: all 0.2s ease;
display: block;
}
.recipe-link:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateX(4px);
}
.recipe-link.more-recipes {
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.2);
font-weight: 600;
color: #d0d0d0;
margin-top: 0.5rem;
}
.recipe-link.more-recipes:hover {
background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
border-color: rgba(255, 255, 255, 0.3);
color: white;
transform: translateX(6px);
}
.breadcrumb {
margin-bottom: 3rem;
}
.breadcrumb a {
color: #b0b0b0;
text-decoration: none;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.2s ease;
padding: 0.5rem 1rem;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.05);
}
.breadcrumb a:hover {
color: white;
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.2);
transform: translateY(-1px);
}
.recipe-header {
margin-bottom: 4rem;
text-align: center;
}
.recipe-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
color: white;
letter-spacing: -0.02em;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.recipe-description {
font-size: 1.3rem;
color: #b0b0b0;
max-width: 700px;
font-weight: 400;
margin: 0 auto 2rem auto;
line-height: 1.6;
}
.recipe-meta {
display: flex;
justify-content: center;
gap: 2rem;
flex-wrap: wrap;
}
.recipe-meta span {
background: rgba(255, 255, 255, 0.1);
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
color: #d0d0d0;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.recipe-content {
max-width: 1000px;
margin: 0 auto;
}
.content-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.content-card {
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(10px);
}
.content-card h2 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1rem;
color: white;
}
.content-card ul {
color: #b0b0b0;
line-height: 1.6;
padding-left: 1.5rem;
}
.content-card li {
margin-bottom: 0.5rem;
}
.demo-section {
margin-bottom: 3rem;
}
.demo-section h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
text-align: center;
}
.demo-container {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 1rem;
backdrop-filter: blur(10px);
}
.code-section {
margin-bottom: 3rem;
}
.code-section h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
}
.code-block {
margin-bottom: 2rem;
}
.code-block h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 1rem;
color: #d0d0d0;
}
.code-block pre {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 1.5rem;
overflow-x: auto;
}
.code-block code {
color: #e0e0e0;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.9rem;
line-height: 1.5;
}
.steps-section {
margin-bottom: 3rem;
}
.steps-section h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
}
.steps-list {
list-style: none;
padding: 0;
}
.steps-list li {
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1rem;
backdrop-filter: blur(10px);
}
.steps-list h3 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 0.5rem;
color: white;
}
.steps-list p {
color: #b0b0b0;
margin-bottom: 0.5rem;
}
.steps-list code {
background: rgba(0, 0, 0, 0.3);
padding: 0.3rem 0.6rem;
border-radius: 4px;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.85rem;
color: #e0e0e0;
}
.resources-section {
margin-bottom: 3rem;
}
.resources-section h2 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
}
.resources-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
}
.resource-link {
display: block;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 1.5rem;
text-decoration: none;
color: #d0d0d0;
font-weight: 500;
text-align: center;
transition: all 0.2s ease;
}
.resource-link:hover {
background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
border-color: rgba(255, 255, 255, 0.3);
color: white;
transform: translateY(-2px);
}
.picks-section {
margin-top: 4rem;
}
.picks-subtitle {
font-size: 1.1rem;
color: #b0b0b0;
text-align: center;
margin-bottom: 3rem;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
.picks-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.pick-category {
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.pick-category::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}
.pick-category:hover {
transform: translateY(-2px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
border-color: rgba(255, 255, 255, 0.2);
}
.pick-category:hover::before {
opacity: 1;
}
.pick-category h3 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1.5rem;
color: white;
letter-spacing: -0.01em;
z-index: 2;
position: relative;
}
.pick-list {
list-style: none;
padding: 0;
margin: 0;
z-index: 2;
position: relative;
}
.pick-list li {
color: #b0b0b0;
font-size: 0.95rem;
line-height: 1.6;
margin-bottom: 0.8rem;
padding-left: 0;
}
.notebook-content {
max-width: 1000px;
margin: 0 auto;
}
.notebook-content h1,
.notebook-content h2,
.notebook-content h3,
.notebook-content h4,
.notebook-content h5,
.notebook-content h6 {
color: white;
margin-top: 2rem;
margin-bottom: 1rem;
font-weight: 600;
}
.notebook-content h1 {
font-size: 2.5rem;
letter-spacing: -0.02em;
}
.notebook-content h2 {
font-size: 2rem;
letter-spacing: -0.01em;
}
.notebook-content h3 {
font-size: 1.5rem;
}
.notebook-content p {
color: #b0b0b0;
line-height: 1.6;
margin-bottom: 1rem;
}
.notebook-content ul,
.notebook-content ol {
color: #b0b0b0;
margin-bottom: 1rem;
padding-left: 2rem;
}
.notebook-content li {
margin-bottom: 0.5rem;
}
.notebook-content code {
background: rgba(0, 0, 0, 0.3);
padding: 0.2rem 0.4rem;
border-radius: 4px;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
font-size: 0.9rem;
color: #e0e0e0;
}
.notebook-content pre {
background: rgba(0, 0, 0, 0.3);
border-radius: 8px;
padding: 1.5rem;
overflow-x: auto;
margin-bottom: 1.5rem;
}
.notebook-content pre code {
background: none;
padding: 0;
border-radius: 0;
font-size: 0.9rem;
line-height: 1.5;
}
.notebook-content blockquote {
border-left: 4px solid rgba(255, 255, 255, 0.2);
padding-left: 1rem;
margin: 1.5rem 0;
color: #d0d0d0;
font-style: italic;
}
.notebook-content .gradio-app {
margin: 2rem 0;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.notebook-content table {
width: 100%;
border-collapse: collapse;
margin: 1.5rem 0;
}
.notebook-content th,
.notebook-content td {
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.8rem;
text-align: left;
}
.notebook-content th {
background: rgba(255, 255, 255, 0.05);
color: white;
font-weight: 600;
}
.notebook-content td {
color: #b0b0b0;
}
.recipes-section {
margin-top: 3rem;
}
.recipes-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.recipe-card {
background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(10px);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.recipe-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}
.recipe-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
border-color: rgba(255, 255, 255, 0.2);
}
.recipe-card:hover::before {
opacity: 1;
}
.recipe-card h3 {
font-size: 1.4rem;
font-weight: 600;
margin-bottom: 1rem;
color: white;
letter-spacing: -0.01em;
z-index: 2;
position: relative;
}
.recipe-card p {
color: #b0b0b0;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.5rem;
z-index: 2;
position: relative;
}
.recipe-status {
display: inline-block;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
color: #b0b0b0;
padding: 0.4rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 500;
border: 1px solid rgba(255, 255, 255, 0.1);
z-index: 2;
position: relative;
}
@media (max-width: 768px) {
.nav-content {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.nav-title {
font-size: 2.2rem;
}
.nav-subtitle {
font-size: 1rem;
}
.main-content {
padding: 2rem 1rem;
}
.benefits-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.benefit-card {
padding: 1.5rem;
}
.topic-title {
font-size: 2.5rem;
}
.recipes-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.recipe-card {
padding: 1.5rem;
}
.recipe-row {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.recipe-cell {
padding: 1.5rem;
min-height: auto;
}
.recipe-title {
font-size: 2.5rem;
}
.content-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.content-card {
padding: 1.5rem;
}
.resources-grid {
grid-template-columns: 1fr;
gap: 1rem;
}
.recipe-meta {
flex-direction: column;
gap: 1rem;
}
.picks-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.pick-category {
padding: 1.5rem;
}
}
/* Collapsible section styles */
.collapsible-header {
cursor: pointer;
user-select: none;
transition: opacity 0.2s ease;
}
.collapsible-header:hover {
opacity: 0.8;
}
.toggle-icon {
font-size: 0.8em;
margin-left: 0.5rem;
transition: transform 0.2s ease;
}
/* Coming soon styles */
.recipe-link.coming-soon {
color: #666;
cursor: not-allowed;
opacity: 0.6;
}
.recipe-link.coming-soon:hover {
color: #666;
opacity: 0.6;
}