---
---
@import "minima";
// ============================================
// Custom Header Styles
// ============================================
.site-header-custom {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
height: 60px;
}
.site-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: white;
font-weight: 700;
font-size: 1.2em;
transition: opacity 0.2s ease;
&:hover {
opacity: 0.9;
text-decoration: none;
}
.logo-icon {
font-size: 1.5em;
line-height: 1;
}
.logo-text {
letter-spacing: -0.5px;
}
}
.site-nav-custom {
display: flex;
align-items: center;
gap: 8px;
a {
color: rgba(255, 255, 255, 0.9);
text-decoration: none;
padding: 8px 16px;
border-radius: 6px;
font-size: 0.95em;
font-weight: 500;
transition: all 0.2s ease;
&:hover {
background: rgba(255, 255, 255, 0.15);
color: white;
text-decoration: none;
}
}
.nav-github {
display: flex;
align-items: center;
gap: 6px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
svg {
width: 18px;
height: 18px;
}
&:hover {
background: rgba(255, 255, 255, 0.2);
border-color: rgba(255, 255, 255, 0.3);
}
}
}
// Mobile hamburger button
.nav-toggle {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
background: transparent;
border: none;
cursor: pointer;
padding: 10px;
z-index: 1001;
span {
display: block;
width: 24px;
height: 2px;
background: white;
border-radius: 2px;
transition: all 0.3s ease;
}
&.active {
span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
span:nth-child(2) {
opacity: 0;
}
span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
}
}
// Mobile responsive header
@media (max-width: 768px) {
.nav-toggle {
display: flex;
}
.site-nav-custom {
position: fixed;
top: 60px;
left: 0;
right: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
flex-direction: column;
padding: 20px;
gap: 5px;
transform: translateY(-100%);
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
&.nav-open {
transform: translateY(0);
opacity: 1;
visibility: visible;
}
a {
width: 100%;
text-align: center;
padding: 12px 20px;
}
.nav-github span {
display: inline;
}
}
}
// Custom styles for Fal MCP Server docs
// Hero section
.hero-section {
text-align: center;
padding: 60px 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px;
margin-bottom: 40px;
}
.hero-title {
font-size: 3em;
margin-bottom: 20px;
}
.hero-subtitle {
font-size: 1.3em;
opacity: 0.9;
margin-bottom: 30px;
}
// CTA buttons
.cta-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 12px 30px;
text-decoration: none;
border-radius: 5px;
transition: all 0.3s;
font-weight: 600;
}
.btn-primary {
background-color: #4CAF50;
color: white;
&:hover {
background-color: #45a049;
transform: translateY(-2px);
}
}
.btn-secondary {
background-color: white;
color: #333;
&:hover {
background-color: #f0f0f0;
transform: translateY(-2px);
}
}
// Feature grid
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin: 40px 0;
}
.feature-card {
padding: 30px;
border: 1px solid #e0e0e0;
border-radius: 10px;
transition: all 0.3s;
&:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transform: translateY(-5px);
}
.feature-icon {
font-size: 3em;
margin-bottom: 15px;
}
h3 {
color: #333;
margin-bottom: 15px;
}
ul {
list-style: none;
padding-left: 0;
li:before {
content: "✓ ";
color: #4CAF50;
font-weight: bold;
}
}
}
// Deployment grid
.deployment-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 30px 0;
}
.deployment-option {
padding: 20px;
background: #f8f9fa;
border-radius: 8px;
text-align: center;
h3 {
color: #495057;
margin-bottom: 10px;
}
code {
display: block;
margin: 10px 0;
padding: 10px;
background: #212529;
color: #f8f9fa;
border-radius: 4px;
}
}
// Models table
.models-table {
overflow-x: auto;
margin: 30px 0;
table {
width: 100%;
border-collapse: collapse;
th {
background: #667eea;
color: white;
padding: 12px;
text-align: left;
}
td {
padding: 10px;
border-bottom: 1px solid #e0e0e0;
}
tr:hover {
background: #f8f9fa;
}
}
}
// Navigation buttons
.nav-buttons {
display: flex;
justify-content: space-between;
margin-top: 50px;
padding-top: 30px;
border-top: 1px solid #e0e0e0;
}
// Footer CTA
.footer-cta {
text-align: center;
padding: 40px;
background: #f8f9fa;
border-radius: 10px;
margin-top: 50px;
h2 {
margin-bottom: 20px;
}
.btn-large {
padding: 15px 40px;
font-size: 1.2em;
}
}
// Code highlighting improvements
pre {
background: #282c34;
color: #abb2bf;
padding: 15px;
border-radius: 8px;
overflow-x: auto;
font-size: 0.9em;
line-height: 1.5;
}
code {
background: #f0f0f0;
padding: 2px 6px;
border-radius: 3px;
font-size: 0.9em;
}
pre code {
background: transparent;
padding: 0;
}
// Rouge syntax highlighter with line numbers
.highlight {
background: #282c34;
border-radius: 8px;
overflow: hidden;
margin: 1.5em 0;
pre {
margin: 0;
padding: 0;
background: transparent;
border-radius: 0;
}
// Rouge table structure (.rouge-table is the actual class name)
.rouge-table,
table {
width: 100%;
border-collapse: collapse;
border: none;
margin: 0;
padding: 0;
border-spacing: 0;
td {
padding: 0;
border: none;
vertical-align: top;
}
// Line numbers gutter (.rouge-gutter is the actual class name)
.rouge-gutter,
td.gutter,
td.gl {
width: 50px;
padding: 15px 12px 15px 15px;
color: #636d83;
text-align: right;
user-select: none;
border-right: 1px solid #3e4451;
background: rgba(0, 0, 0, 0.15);
pre,
pre.lineno {
color: #636d83;
padding: 0;
margin: 0;
background: transparent;
white-space: pre;
line-height: 1.6;
}
}
// Code content column (.rouge-code is the actual class name)
.rouge-code,
td.code {
padding: 15px;
overflow-x: auto;
pre {
padding: 0;
margin: 0;
white-space: pre;
line-height: 1.6;
overflow-x: auto;
}
}
}
// Fallback for code blocks without table structure
> pre {
padding: 15px;
white-space: pre;
line-height: 1.6;
}
}
// Inline code in paragraphs
p code,
li code {
background: #e8e8e8;
color: #e83e8c;
padding: 2px 6px;
border-radius: 4px;
font-size: 0.875em;
}
// Mobile responsive
@media (max-width: 768px) {
.hero-title {
font-size: 2em;
}
.features-grid {
grid-template-columns: 1fr;
}
.deployment-grid {
grid-template-columns: 1fr;
}
.nav-buttons {
flex-direction: column;
gap: 10px;
.btn {
width: 100%;
text-align: center;
}
}
}