/* iT Guys Premium Documentation Style v6 (Final Polish) */ /* ROOT VARIABLES - iT Guys Official Colors */ :root { --md-primary-fg-color: #1478cf; /* iT Guys Blue */ --md-primary-fg-color--light: #4ea5f5; /* Lighter Blue */ --md-primary-fg-color--dark: #0d5ea6; /* Darker Blue */ --md-accent-fg-color: #00f7ff; /* iT Guys Cyan */ /* Strict Header Height */ --header-height: 48px; } /* HEADER LAYOUT - Compact & Absolute Centering */ @media screen and (min-width: 60em) { /* Force Header Height */ .md-header { height: var(--header-height) !important; min-height: var(--header-height) !important; } .md-header__inner { height: var(--header-height) !important; padding: 0 1rem !important; display: flex !important; align-items: center !important; position: relative !important; justify-content: space-between !important; gap: 0 !important; } /* 1. LOGO AREA (Left) */ .md-header__title { flex-grow: 0; width: auto; padding: 0 !important; margin-right: 0 !important; line-height: var(--header-height) !important; } .md-header__button.md-logo { margin: 0 !important; padding: 0 !important; } .md-header__button.md-logo img { height: 32px !important; width: auto !important; display: block; } .md-header__title .md-header__topic { display: none !important; } /* 2. SEARCH BAR (Absolutely Centered & Non-Modal) */ .md-search { display: block !important; position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important; width: clamp(250px, 40vw, 600px) !important; margin: 0 !important; padding: 0 !important; height: 36px !important; z-index: 20; /* Higher than toggle */ } /* REMOVE MODAL OVERLAY (Allow clicking page) */ .md-search__overlay { opacity: 0 !important; pointer-events: none !important; width: 0 !important; height: 0 !important; } .md-search__inner { width: 100% !important; height: 100% !important; background-color: rgba(255, 255, 255, 0.2) !important; border-radius: 4px; padding: 0 !important; box-shadow: none !important; } /* Active State (When typing) configuration */ .md-search__inner.md-search__inner--active { background-color: #fff !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; } /* INPUT & ICON ALIGNMENT FIX */ .md-search__input { background: transparent !important; height: 100% !important; padding-left: 40px !important; /* increased padding for icon */ font-size: 0.9rem !important; color: #fff !important; /* Default white text */ } /* Text color when active (white background) */ .md-search__inner--active .md-search__input { color: #333 !important; } .md-search__inner--active .md-search__input::placeholder { color: #999 !important; } /* FIX ICON ALIGNMENT (Flex centering) */ .md-search__icon { height: 36px !important; /* Match container */ width: 40px !important; top: 0 !important; left: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; pointer-events: none; /* Let clicks pass to input */ } /* Icon Color adjustments */ .md-search__icon[for="__search"] svg { fill: rgba(255,255,255,0.7) !important; } .md-search__inner--active .md-search__icon[for="__search"] svg { fill: #666 !important; } /* 3. TOGGLE / ACTIONS (Right) */ .md-header__option { margin-left: 0 !important; } .md-header__source { margin-left: 1rem !important; } } /* GENERAL TYPOGRAPHY */ h1 { color: var(--md-primary-fg-color) !important; font-weight: 800 !important; text-transform: uppercase; font-size: clamp(1.5rem, 2.5vw, 2.2rem); border-left: 0.3rem solid var(--md-accent-fg-color); padding-left: 1rem; margin-bottom: 2rem !important; } h2 { color: var(--md-primary-fg-color--dark); font-weight: 700; margin-top: 3rem !important; border-bottom: 2px solid #e0e0e0; padding-bottom: 0.5rem; } /* Dark Mode Adjustments */ [data-md-color-scheme="slate"] { --md-primary-fg-color: #1478cf; --md-primary-fg-color--dark: #62a3ea; } [data-md-color-scheme="slate"] h1 { color: #62a3ea !important; } [data-md-color-scheme="slate"] .md-header { background-color: #0b1a26; } /* BUTTONS */ .md-button { border-radius: 4px; font-weight: 700; } .md-button--primary { background-color: var(--md-primary-fg-color) !important; } /* CLEANUP */ .md-copyright, .md-footer-meta__text { display: none; }