2025-12-12 13:15:44 +05:30

176 lines
2.9 KiB
CSS

.docsPage {
padding-top: 5rem;
}
.hero {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 6rem 0 4rem;
text-align: center;
color: white;
}
.heroContent {
max-width: 800px;
margin: 0 auto;
}
.heroTitle {
font-size: clamp(2.5rem, 5vw, 4rem);
margin-bottom: 1.5rem;
color: white;
}
.heroSubtitle {
font-size: 1.25rem;
color: rgba(255, 255, 255, 0.95);
margin-bottom: 2rem;
}
.searchBox {
display: flex;
max-width: 600px;
margin: 0 auto;
background: white;
border-radius: var(--radius-xl);
overflow: hidden;
box-shadow: var(--shadow-xl);
}
.searchInput {
flex: 1;
padding: 1rem 1.5rem;
border: none;
font-size: 1rem;
outline: none;
}
.searchButton {
padding: 1rem 2rem;
background: var(--gradient-primary);
border: none;
color: white;
font-size: 1.5rem;
cursor: pointer;
transition: all 0.3s ease;
}
.searchButton:hover {
opacity: 0.9;
}
.docsGrid {
display: grid;
grid-template-columns: 1fr;
gap: 2rem;
}
@media (min-width: 768px) {
.docsGrid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (min-width: 1024px) {
.docsGrid {
grid-template-columns: repeat(3, 1fr);
}
}
.docCategory {
background: var(--background);
border-radius: var(--radius-xl);
padding: 2rem;
box-shadow: var(--shadow-md);
transition: all 0.3s ease;
}
.docCategory:hover {
box-shadow: var(--shadow-xl);
}
.categoryHeader {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 2px solid var(--background-secondary);
}
.categoryIcon {
font-size: 2rem;
}
.categoryTitle {
font-size: 1.5rem;
color: var(--foreground);
font-family: var(--font-display);
}
.docsList {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.docLink {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
color: var(--foreground-secondary);
text-decoration: none;
border-radius: var(--radius-md);
transition: all 0.3s ease;
}
.docLink:hover {
background: var(--background-secondary);
color: var(--primary);
padding-left: 1.25rem;
}
.docIcon {
font-size: 1.25rem;
}
.arrow {
margin-left: auto;
opacity: 0;
transition: all 0.3s ease;
}
.docLink:hover .arrow {
opacity: 1;
}
.helpSection {
background: var(--background-secondary);
padding: 5rem 0;
text-align: center;
margin-top: 4rem;
}
.helpContent {
max-width: 600px;
margin: 0 auto;
}
.helpTitle {
font-size: 2.5rem;
margin-bottom: 1rem;
color: var(--foreground);
}
.helpSubtitle {
font-size: 1.25rem;
color: var(--foreground-secondary);
margin-bottom: 2rem;
}
.helpButtons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}