/* iT Guys Premium Documentation Style v9 (Revert & Fix Text) */ /* ROOT VARIABLES - iT Guys Official Colors */ :root { --md-primary-fg-color: #1478cf; --md-primary-fg-color--light: #4ea5f5; --md-primary-fg-color--dark: #0d5ea6; --md-accent-fg-color: #00f7ff; --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 */ .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 */ .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; } /* OVERLAY: REVERT TO INVISIBLE (Click-to-dismiss only) User disliked the visual dimming. */ .md-search__overlay { opacity: 0 !important; background-color: transparent !important; width: 100% !important; height: 100vh !important; position: fixed !important; top: 0 !important; left: 0 !important; pointer-events: auto !important; /* Catch click to close */ z-index: 15 !important; cursor: default !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 (White Background) */ .md-search__inner.md-search__inner--active { background-color: #fff !important; box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important; } /* INPUT STYLING & BUG FIX */ .md-search__input { background: transparent !important; height: 100% !important; padding-left: 40px !important; font-size: 0.9rem !important; color: #fff !important; /* Default state: White text on Blue */ } /* CRITICAL FIX: When active (White BG), text MUST be Black. Added specificity and opacity to prevent "faded" look. */ .md-search__inner--active .md-search__input { color: #000000 !important; text-shadow: none !important; opacity: 1 !important; } .md-search__inner--active .md-search__input::placeholder { color: #666666 !important; } /* Icon Alignment */ .md-search__icon { height: 36px !important; width: 40px !important; top: 0 !important; left: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; pointer-events: none; } .md-search__icon[for="__search"] svg { fill: rgba(255,255,255,0.7) !important; } /* Dark icon when active */ .md-search__inner--active .md-search__icon[for="__search"] svg { fill: #333333 !important; } /* DROPDOWN ALIGNMENT */ .md-search__output { position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important; margin-top: 4px !important; border-radius: 4px !important; overflow: hidden !important; box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important; } .md-search__scrollwrap { max-height: 70vh !important; } /* 3. TOGGLE / ACTIONS */ .md-header__option { margin-left: 0 !important; } .md-header__source { margin-left: 1rem !important; } } /* SCROLL UNLOCK */ body[data-md-scrolllock] { overflow: auto !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 */ [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; }