/* Huntarr.io Documentation Styles */ :root { --primary-bg: #1a1d24; --secondary-bg: #252a34; --sidebar-bg: #1a1d24; --content-bg: #252a34; --text-color: #e2e2e2; --link-color: #3498db; --highlight-color: #3498db; --border-color: #333; --sonarr-color: #3498db; /* Blue */ --radarr-color: #f1c40f; /* Yellow */ --lidarr-color: #2ecc71; /* Green */ --readarr-color: #e74c3c; /* Red */ --whisparr-color: #9b59b6; /* Purple */ --card-bg: rgba(20, 25, 35, 0.6); --card-hover-bg: rgba(30, 35, 45, 0.6); } body { font-family: 'Arial', sans-serif; line-height: 1.6; color: var(--text-color); margin: 0; padding: 0; background-color: var(--primary-bg); display: flex; min-height: 100vh; } .sidebar { width: 220px; background-color: var(--sidebar-bg); padding: 20px 0; position: fixed; height: 100%; overflow-y: auto; box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2); z-index: 100; } .sidebar-logo { text-align: center; padding: 10px 20px 20px; border-bottom: 1px solid var(--border-color); } .sidebar-logo img { width: 80px; height: 80px; display: block; margin: 0 auto 10px; } .sidebar-logo h2 { color: var(--text-color); margin: 0; font-size: 1.4rem; border: none; padding: 0; text-align: center; } .sidebar-nav { margin-top: 20px; } .sidebar-section { margin-bottom: 20px; } .sidebar-section-title { font-size: 0.8rem; text-transform: uppercase; color: #777; padding: 10px 20px; margin: 0; } .sidebar-nav ul { list-style: none; padding: 0; margin: 0; } .sidebar-nav li { margin-bottom: 2px; } .sidebar-nav a { display: block; padding: 10px 20px; color: var(--text-color); text-decoration: none; transition: background-color 0.3s, color 0.3s; border-left: 3px solid transparent; } .sidebar-nav a:hover { background-color: rgba(255, 255, 255, 0.1); color: var(--link-color); text-decoration: none; } .sidebar-nav li.active a { background-color: rgba(52, 152, 219, 0.2); border-left: 3px solid var(--highlight-color); color: var(--highlight-color); } .sidebar-nav .svg-icon { margin-right: 10px; width: 18px; vertical-align: text-bottom; } .main-content { flex: 1; margin-left: 220px; padding: 30px; background-color: var(--content-bg); min-height: 100vh; box-sizing: border-box; } .container { max-width: 1000px; margin: 0 auto; background-color: var(--secondary-bg); padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } h1 { color: var(--text-color); text-align: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid var(--highlight-color); } h2 { color: var(--text-color); margin-top: 30px; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--border-color); } h3 { margin-top: 25px; color: var(--text-color); } a { color: var(--link-color); text-decoration: none; transition: color 0.3s; } a:hover { color: #217dbb; text-decoration: underline; } /* Anchor link styles */ .anchor-link { opacity: 0; margin-left: 8px; transition: opacity 0.3s; color: var(--highlight-color); text-decoration: none; } h3:hover .anchor-link { opacity: 1; } .anchor-link:hover { color: #217dbb; text-decoration: none; } /* Hero Section */ .hero-section { background-color: var(--card-bg); border-radius: 10px; padding: 30px; margin-bottom: 40px; border-left: 4px solid var(--highlight-color); } .hero-content { display: flex; align-items: center; flex-wrap: wrap; } .hero-logo { flex: 0 0 150px; text-align: center; margin-right: 30px; } .hero-logo img { max-width: 100%; height: auto; } .hero-text { flex: 1; min-width: 200px; } .hero-text h2 { margin-top: 0; border-bottom: none; color: var(--highlight-color); } .hero-cta { margin-top: 25px; display: flex; gap: 15px; } .btn { display: inline-block; padding: 10px 20px; border-radius: 5px; text-decoration: none; transition: all 0.3s; font-weight: bold; text-align: center; } .btn:hover { text-decoration: none; transform: translateY(-2px); } .btn-primary { background-color: var(--highlight-color); color: #fff; } .btn-primary:hover { background-color: #217dbb; color: #fff; } .btn-secondary { background-color: rgba(52, 152, 219, 0.2); color: var(--highlight-color); border: 1px solid var(--highlight-color); } .btn-secondary:hover { background-color: rgba(52, 152, 219, 0.3); color: var(--highlight-color); } /* Features Section */ .features-section { margin: 40px 0; } .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 30px; } .feature-item { background-color: var(--card-bg); border-radius: 8px; padding: 20px; text-align: center; transition: all 0.3s; } .feature-item:hover { background-color: var(--card-hover-bg); transform: translateY(-5px); } .feature-icon { margin-bottom: 15px; color: var(--highlight-color); } .feature-item h3 { margin: 0 0 10px; font-size: 1.2rem; } .feature-item p { margin: 0; font-size: 0.9rem; color: #ccc; } /* Apps Overview */ .apps-overview { margin: 40px 0; } .apps-list { margin-top: 20px; } .app-list-item { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; padding: 15px; background-color: var(--card-bg); border-radius: 6px; margin-bottom: 10px; transition: all 0.3s; } .app-list-item:hover { background-color: var(--card-hover-bg); } .app-name { font-weight: bold; color: var(--highlight-color); } .app-description { color: #ccc; } .app-link { color: var(--highlight-color); white-space: nowrap; } /* Quick Links */ .quick-links { margin: 40px 0; } .quick-links-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; } .quick-link-item { background-color: var(--card-bg); border-radius: 8px; padding: 20px; text-decoration: none; color: var(--text-color); transition: all 0.3s; border-left: 3px solid var(--highlight-color); } .quick-link-item:hover { background-color: var(--card-hover-bg); transform: translateY(-5px); text-decoration: none; color: var(--text-color); } .quick-link-item h3 { margin: 0 0 10px; color: var(--highlight-color); } .quick-link-item p { margin: 0; font-size: 0.9rem; color: #ccc; } /* Existing styles from before... */ .app-icons { display: flex; justify-content: center; gap: 20px; margin: 30px 0; } .app-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; } .app-box { margin: 20px 0; padding: 15px; border-radius: 8px; background-color: rgba(10, 15, 25, 0.4); border-left: 4px solid; } .app-box h3 { margin-top: 0; } .app-box.sonarr { border-left-color: var(--sonarr-color); } .app-box.radarr { border-left-color: var(--radarr-color); } .app-box.lidarr { border-left-color: var(--lidarr-color); } .app-box.readarr { border-left-color: var(--readarr-color); } .app-box.whisparr { border-left-color: var(--whisparr-color); } .sonarr { background-color: var(--sonarr-color); } .radarr { background-color: var(--radarr-color); } .lidarr { background-color: var(--lidarr-color); } .readarr { background-color: var(--readarr-color); } .whisparr { background-color: var(--whisparr-color); } .section-nav { display: flex; justify-content: space-between; margin: 30px 0; padding: 10px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); } code { background-color: rgba(30, 35, 45, 0.8); padding: 4px 6px; border-radius: 3px; border: 1px solid var(--border-color); font-family: 'Courier New', monospace; font-size: 1em; color: #ffffff; } pre { background-color: var(--card-bg); padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); border-left: 4px solid var(--highlight-color); overflow-x: auto; color: #ffffff; position: relative; margin: 20px 0 30px 0; line-height: 1.5; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); } /* Special styling for terminal command blocks */ pre.terminal { border-left: 4px solid var(--highlight-color); } pre.terminal code { color: #ffffff; /* White text for better readability */ } /* Add this class to any code block that shows terminal commands */ .command-prompt::before { content: '$ '; color: #999; user-select: none; } pre code { background-color: transparent; border: none; padding: 0; display: block; width: 100%; white-space: pre-wrap; word-break: break-word; } .copy-button { position: absolute; right: 10px; top: 10px; padding: 5px 10px; background-color: rgba(255, 255, 255, 0.9); border: 1px solid #ccc; border-radius: 3px; cursor: pointer; color: #000; font-size: 0.8rem; font-weight: bold; } .copy-button:hover { background-color: rgba(52, 152, 219, 0.5); transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } img { max-width: 100%; height: auto; border-radius: 5px; margin: 10px 0; } table { width: 100%; border-collapse: collapse; margin: 20px 0; background-color: rgba(10, 15, 25, 0.4); } table, th, td { border: 1px solid var(--border-color); } th, td { padding: 10px; text-align: left; } th { background-color: rgba(10, 15, 25, 0.6); } footer { text-align: center; margin-top: 40px; padding-top: 20px; font-size: 0.9em; color: #777; border-top: 1px solid var(--border-color); } /* Responsive styles */ @media (max-width: 768px) { body { flex-direction: column; } .sidebar { width: 100%; height: auto; position: relative; padding: 10px 0; } .main-content { margin-left: 0; padding: 20px; } .container { padding: 15px; } .app-icons { flex-wrap: wrap; } .hero-content { flex-direction: column; } .hero-logo { margin-right: 0; margin-bottom: 20px; } .apps-list .app-list-item { grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 10px; } } /* Info icon */ .info-link { display: inline-block; width: 20px; height: 20px; background-color: var(--link-color); color: white; border-radius: 50%; text-align: center; line-height: 20px; font-weight: bold; margin-left: 5px; text-decoration: none; } .info-link:hover { background-color: #217dbb; text-decoration: none; } /* Version badge */ .version-badge { display: inline-block; background-color: rgba(52, 152, 219, 0.2); color: var(--link-color); padding: 2px 8px; border-radius: 12px; font-size: 0.8rem; margin-left: 10px; } /* Table of Contents styles */ .toc { background-color: var(--card-bg); border-radius: 8px; padding: 20px; margin: 20px 0 30px 0; border-left: 4px solid var(--highlight-color); } .toc h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 1px solid var(--border-color); } .toc ul { margin: 0; padding-left: 20px; } .toc li { margin-bottom: 8px; } .toc a { text-decoration: none; color: var(--text-color); display: block; padding: 5px 0; transition: color 0.2s; } .toc a:hover { color: var(--highlight-color); } /* Back to top button */ .back-to-top { position: fixed; bottom: 30px; right: 30px; width: 40px; height: 40px; background-color: var(--highlight-color); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); opacity: 0; /* Start hidden */ transition: opacity 0.3s, transform 0.3s; transform: translateY(20px); z-index: 1000; } /* Settings Page Styles */ .setting-item { margin: 30px 0; background-color: var(--secondary-bg); padding: 20px; border-radius: 4px; } .setting-item h3 { color: var(--highlight-color); font-size: 1.4em; padding-bottom: 5px; border-bottom: 1px solid var(--border-color); display: flex; align-items: center; } .info-icon { color: var(--highlight-color); margin-right: 10px; font-size: 0.8em; text-decoration: none; } .setting-item h4 { color: var(--sonarr-color); font-size: 1.2em; margin-top: 20px; margin-bottom: 10px; } .state-time { color: var(--highlight-color); font-weight: bold; } /* Highlight effect when anchor links are clicked */ .highlight { animation: highlight-pulse 2s; } @keyframes highlight-pulse { 0% { background-color: var(--card-bg); } 25% { background-color: rgba(52, 152, 219, 0.2); } 50% { background-color: rgba(52, 152, 219, 0.1); } 100% { background-color: var(--card-bg); } } /* Warning and Note Boxes */ .warning-box { background-color: rgba(231, 76, 60, 0.1); border-left: 4px solid #e74c3c; padding: 15px; margin: 20px 0; border-radius: 4px; } .warning-box h3 { color: #e74c3c; margin-top: 10px; margin-bottom: 10px; } .note-box { background-color: rgba(52, 152, 219, 0.1); border-left: 4px solid var(--highlight-color); padding: 15px; margin: 20px 0; border-radius: 4px; } .note-box h4 { color: var(--highlight-color); margin-top: 5px; margin-bottom: 10px; } .warning-image { max-width: 100%; border-radius: 4px; margin-bottom: 15px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } .back-to-top.visible { opacity: 1; transform: translateY(0); } .back-to-top:hover { background-color: #217dbb; transform: translateY(-5px); } /* Card style for app blocks */ /* App cards grid container */ .app-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 20px 0; } .app-card { display: flex; flex-direction: column; border-radius: 8px; background-color: rgba(20, 25, 35, 0.6); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; height: 100%; } .app-card:hover { transform: translateY(-5px); box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); } .app-card-header { padding: 12px 15px; display: flex; align-items: center; background-color: #252a34; border-bottom: none; } .app-card-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; position: relative; overflow: hidden; background-color: #1a1d24; border: 2px solid transparent; } .app-card-icon img { width: 48px; height: 48px; object-fit: contain; margin: 0; border-radius: 0; } .app-card.sonarr-card .app-card-icon { border-color: var(--sonarr-color); } .app-card.radarr-card .app-card-icon { border-color: var(--radarr-color); } .app-card.lidarr-card .app-card-icon { border-color: var(--lidarr-color); } .app-card.readarr-card .app-card-icon { border-color: var(--readarr-color); } .app-card.whisparr-card .app-card-icon { border-color: var(--whisparr-color); } .app-card-title { margin: 0; color: var(--text-color); } .app-card-content { padding: 12px 15px; flex: 1; } .app-card-footer { padding: 8px 15px; background-color: rgba(10, 15, 25, 0.3); text-align: right; border-top: 1px solid rgba(255, 255, 255, 0.05); } /* Card styled for sonarr */ .app-card.sonarr-card .app-card-header { background-color: rgba(52, 152, 219, 0.2); border-bottom: 2px solid var(--sonarr-color); } /* Card styled for radarr */ .app-card.radarr-card .app-card-header { background-color: rgba(241, 196, 15, 0.2); border-bottom: 2px solid var(--radarr-color); } /* Card styled for lidarr */ .app-card.lidarr-card .app-card-header { background-color: rgba(46, 204, 113, 0.2); border-bottom: 2px solid var(--lidarr-color); } /* Card styled for readarr */ .app-card.readarr-card .app-card-header { background-color: rgba(231, 76, 60, 0.2); border-bottom: 2px solid var(--readarr-color); } /* Card styled for whisparr */ .app-card.whisparr-card .app-card-header { background-color: rgba(155, 89, 182, 0.2); border-bottom: 2px solid var(--whisparr-color); }