/* Basic reset */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; line-height: 1.6; color: #333; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } /* Header */ .site-header { background-color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); padding: 15px 0; } .site-header .container { display: flex; justify-content: space-between; align-items: center; } .site-title { font-size: 1.5rem; font-weight: bold; text-decoration: none; color: #0366d6; } .main-nav ul { display: flex; list-style: none; } .main-nav li { margin-left: 20px; } .main-nav a { text-decoration: none; color: #586069; } .main-nav a:hover { color: #0366d6; } /* Documentation layout */ .docs-container { display: grid; grid-template-columns: 250px 1fr; gap: 40px; max-width: 1200px; margin: 40px auto; padding: 0 20px; } .docs-sidebar { position: sticky; top: 20px; height: calc(100vh - 40px); overflow-y: auto; } .docs-nav h3 { margin-bottom: 15px; font-size: 1.2rem; } .docs-nav ul { list-style: none; margin-bottom: 20px; } .docs-nav li { margin-bottom: 5px; } .docs-nav a { text-decoration: none; color: #586069; display: block; padding: 5px 0; } .docs-nav a:hover { color: #0366d6; } .docs-nav a.active { color: #0366d6; font-weight: 600; } .docs-nav ul ul { margin-left: 15px; margin-top: 5px; margin-bottom: 0; } .docs-content { min-width: 0; } /* Content styling */ h1, h2, h3, h4, h5, h6 { margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.25; } h1 { font-size: 2rem; margin-top: 0; } h2 { font-size: 1.6rem; padding-bottom: 0.3em; border-bottom: 1px solid #eaecef; } h3 { font-size: 1.3rem; } p { margin-bottom: 1rem; } a { color: #0366d6; } code { background-color: #f6f8fa; padding: 0.2em 0.4em; border-radius: 3px; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 0.85em; } pre { background-color: #f6f8fa; padding: 16px; overflow: auto; border-radius: 3px; margin-bottom: 1rem; } pre code { background-color: transparent; padding: 0; } ul, ol { margin-bottom: 1rem; margin-left: 1.5rem; } table { border-collapse: collapse; margin-bottom: 1rem; width: 100%; } table th, table td { border: 1px solid #dfe2e5; padding: 6px 13px; } table th { background-color: #f6f8fa; font-weight: 600; } blockquote { margin: 0 0 1rem; padding: 0 1rem; color: #6a737d; border-left: 0.25rem solid #dfe2e5; } blockquote > :first-child { margin-top: 0; } blockquote > :last-child { margin-bottom: 0; } .direct-link { text-decoration: none; font-size: 0.8em; margin-left: 0.3em; opacity: 0; /* Hide by default */ transition: opacity 0.2s ease; } /* Show link on heading hover */ h1:hover .direct-link, h2:hover .direct-link, h3:hover .direct-link, h4:hover .direct-link, h5:hover .direct-link, h6:hover .direct-link, .direct-link:hover { opacity: 0.5; } .direct-link:hover { opacity: 1; } /* Homepage */ .hero { text-align: center; padding: 60px 0; background-color: #f6f8fa; } .hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; } .hero p { font-size: 1.5rem; margin-bottom: 2rem; color: #586069; } .cta-buttons { display: flex; justify-content: center; gap: 20px; } .button { display: inline-block; padding: 10px 20px; background-color: #0366d6; color: white; text-decoration: none; border-radius: 4px; font-weight: 500; } .button-outline { background-color: transparent; color: #0366d6; border: 1px solid #0366d6; } .features { padding: 60px 0; } .features .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; } .feature { padding: 20px; border-radius: 4px; background-color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); } .feature h2 { margin-top: 0; font-size: 1.4rem; } /* Footer */ .site-footer { text-align: center; padding: 20px 0; color: #586069; border-top: 1px solid #eaecef; margin-top: 60px; font-size: 0.9rem; } .footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: center; } .footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; } .footer-links a { color: #586069; text-decoration: none; padding: 0 5px; } .footer-links a:hover { text-decoration: underline; color: #0366d6; } .footer-separator { margin: 0 5px; color: #d1d5da; } /* Responsive adjustments */ @media (max-width: 768px) { .docs-container { grid-template-columns: 1fr; } .docs-sidebar { position: static; height: auto; margin-bottom: 30px; } .hero h1 { font-size: 2rem; } .hero p { font-size: 1.2rem; } }