manuais-e-documentacao-itguys/.gemini/stylesheets/extra.css

145 lines
3.8 KiB
CSS

/* iT Guys Premium Documentation Style v4 (Brand Compliant) */
/* 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 */
/* Compact Header Height */
--header-height: 3rem; /* 48px standard compact */
}
/* HEADER LAYOUT - Compact & Branded */
@media screen and (min-width: 60em) {
.md-header {
height: var(--header-height) !important;
}
.md-header__inner {
display: grid;
grid-template-columns: auto minmax(auto, clamp(15rem, 40vw, 35rem)) 1fr;
align-items: center;
gap: 1rem;
height: var(--header-height);
padding-inline: 1rem;
}
/* 1. LOGO AREA (Left) */
.md-header__title {
justify-self: start;
margin-right: 0;
width: auto;
line-height: var(--header-height); /* Vertical Align */
padding: 0 !important;
}
.md-header__button.md-logo img {
height: 2rem !important; /* Force logo to fit nicely */
width: auto !important;
vertical-align: middle;
}
/* Hide text title */
.md-header__title .md-header__topic {
display: none !important;
}
/* 2. SEARCH BAR (Center) */
.md-search {
grid-column: 2;
display: block !important;
width: 100% !important;
margin: 0 !important;
position: static !important;
transform: none !important;
top: 0 !important;
padding: 0 !important;
}
.md-search__inner {
width: 100% !important;
background-color: rgba(255, 255, 255, 0.2);
border-radius: 4px;
height: 2rem; /* Compact Search */
padding: 0;
}
/* Adjust search input text vertical alignment */
.md-search__input {
height: 2rem !important;
padding-left: 2.5rem !important;
}
.md-search__icon {
height: 2rem !important;
top: 0 !important;
}
/* 3. TOGGLE / ACTIONS (Right) */
.md-header__option {
justify-self: end;
margin-left: 0 !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; /* Keep brand blue even in dark mode for identity */
--md-primary-fg-color--dark: #62a3ea; /* Lighter for contrast on dark bg */
}
[data-md-color-scheme="slate"] h1 {
color: #62a3ea !important;
}
[data-md-color-scheme="slate"] .md-header {
background-color: #0d1b2a; /* Deep Navy for "Cyber" feel */
}
/* BUTTONS */
.md-button {
border-radius: 4px;
font-weight: 700;
padding: 0.5rem 1rem;
}
.md-button--primary {
background-color: var(--md-primary-fg-color) !important;
border: 1px solid transparent;
}
.md-button--primary:hover {
background-color: transparent !important;
color: var(--md-primary-fg-color) !important;
border: 1px solid var(--md-primary-fg-color);
}
/* TABLES - Brand Colors */
.md-typeset table:not([class]) th {
background-color: var(--md-primary-fg-color);
color: #fff !important;
}
[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
background-color: #0d5ea6;
}
/* CLEANUP */
.md-copyright, .md-footer-meta__text { display: none; }