Files
Huntarr.io/docs/css/features.css

265 lines
4.6 KiB
CSS

/* Huntarr.io Documentation - Features Page Styles */
/* Section Headers with Blue Background (per user preference) */
.section-header {
background-color: #252a34;
color: #fff;
padding: 10px 15px;
border-radius: 5px;
margin-top: 30px;
margin-bottom: 20px;
border-left: 4px solid var(--highlight-color);
font-size: 1.4rem;
}
/* Info Boxes */
.info-box {
background-color: rgba(52, 152, 219, 0.1);
border: 1px solid rgba(52, 152, 219, 0.3);
border-radius: 5px;
padding: 15px;
margin: 20px 0;
position: relative;
}
.info-title {
display: flex;
align-items: center;
color: var(--highlight-color);
font-weight: bold;
margin-bottom: 10px;
}
.info-title .svg-icon {
width: 20px;
height: 20px;
margin-right: 10px;
}
/* Feature Cards */
.card-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin: 20px 0;
}
.feature-card {
background-color: var(--card-bg);
border-radius: 8px;
padding: 20px;
flex: 1 1 300px;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.feature-title {
font-size: 1.2rem;
font-weight: bold;
color: var(--highlight-color);
margin-bottom: 10px;
border-bottom: 1px solid var(--border-color);
padding-bottom: 10px;
}
/* Steps List */
.steps-list {
list-style: none;
padding: 0;
margin: 20px 0;
}
.steps-list li {
display: flex;
margin-bottom: 25px;
position: relative;
}
.step-number {
background-color: var(--highlight-color);
color: white;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
margin-right: 15px;
flex-shrink: 0;
font-weight: bold;
}
.step-content {
flex: 1;
}
.step-content h3 {
margin-top: 0;
color: var(--highlight-color);
}
/* Table Styles */
.table-container {
overflow-x: auto;
margin: 20px 0;
}
table {
width: 100%;
border-collapse: collapse;
background-color: var(--card-bg);
border-radius: 5px;
overflow: hidden;
}
th {
background-color: var(--secondary-bg);
color: var(--highlight-color);
text-align: left;
padding: 10px 15px;
font-weight: bold;
border-bottom: 2px solid var(--border-color);
}
td {
padding: 10px 15px;
border-bottom: 1px solid var(--border-color);
vertical-align: top;
}
tr:last-child td {
border-bottom: none;
}
tr:hover td {
background-color: rgba(255, 255, 255, 0.05);
}
/* Features Grid */
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
margin: 20px 0;
}
.feature-item {
display: flex;
background-color: var(--card-bg);
border-radius: 8px;
padding: 20px;
transition: all 0.3s ease;
}
.feature-item:hover {
background-color: var(--card-hover-bg);
transform: translateY(-3px);
}
.feature-icon {
margin-right: 15px;
}
.feature-icon .svg-icon {
width: 24px;
height: 24px;
color: var(--highlight-color);
}
.feature-details {
flex: 1;
}
.feature-details h3 {
margin-top: 0;
color: var(--highlight-color);
font-size: 1.1rem;
}
/* Code Block */
.code-block {
background-color: #1d1f21;
border-radius: 5px;
padding: 15px;
margin: 20px 0;
overflow-x: auto;
}
.code-block h3 {
margin-top: 0;
color: var(--highlight-color);
font-size: 1rem;
margin-bottom: 10px;
}
.code-block pre {
margin: 0;
}
.code-block code {
font-family: 'Consolas', 'Monaco', monospace;
color: #e2e2e2;
line-height: 1.5;
font-size: 0.9rem;
}
/* FAQ Container */
.faq-container {
margin: 20px 0;
}
.faq-item {
margin-bottom: 15px;
background-color: var(--card-bg);
border-radius: 5px;
overflow: hidden;
}
.faq-question {
background-color: var(--secondary-bg);
padding: 12px 15px;
font-weight: bold;
cursor: pointer;
color: var(--highlight-color);
}
.faq-answer {
padding: 15px;
border-top: 1px solid var(--border-color);
}
.faq-answer p:first-child {
margin-top: 0;
}
.faq-answer p:last-child {
margin-bottom: 0;
}
/* Content Section */
.content-section {
margin-bottom: 40px;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
.card-container, .features-grid {
flex-direction: column;
}
.feature-card, .feature-item {
width: 100%;
}
.step-number {
width: 24px;
height: 24px;
font-size: 0.8rem;
}
}