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

120 lines
3.0 KiB
CSS

/* iT Guys Premium Documentation Style v3 (Modern CSS) */
/* ROOT VARIABLES - Professional "Blue Grey" Theme */
:root {
--md-primary-fg-color: #37474F; /* Blue Grey 800 */
--md-primary-fg-color--light: #546E7A; /* Blue Grey 600 */
--md-primary-fg-color--dark: #263238; /* Blue Grey 900 */
--md-accent-fg-color: #FF6D00; /* Deep Orange */
--header-height: 3rem;
}
/* HEADER LAYOUT - CSS Grid & Clamp */
@media screen and (min-width: 60em) {
.md-header__inner {
/* Modern Grid Layout for 3-column structure */
display: grid;
grid-template-columns: 1fr minmax(auto, clamp(15rem, 40vw, 35rem)) 1fr;
align-items: center;
gap: 1rem;
height: 100%;
padding-inline: 1rem;
}
/* 1. LOGO AREA (Left) */
.md-header__title {
justify-self: start;
margin-right: 0;
width: auto;
}
/* Hide the text title (keep logo) */
.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; /* Reset legacy positioning */
transform: none !important;
top: 0 !important;
}
.md-search__inner {
width: 100% !important;
background-color: rgba(255, 255, 255, 0.12);
border-radius: 0.25rem;
height: 2.2rem; /* Consistent height */
}
/* 3. TOGGLE / ACTIONS (Right) */
.md-header__option {
justify-self: end;
margin-left: 0 !important;
}
}
/* GENERAL TYPOGRAPHY & SPACING */
h1 {
color: var(--md-primary-fg-color--dark) !important;
font-weight: 800 !important;
text-transform: uppercase;
font-size: clamp(1.5rem, 2.5vw, 2.2rem); /* Responsive Font Size */
border-left: 0.3rem solid var(--md-accent-fg-color);
padding-left: 1rem;
margin-bottom: 2rem !important;
}
h2 {
color: var(--md-primary-fg-color);
font-weight: 700;
margin-top: 3rem !important;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 0.5rem;
}
/* TABLES - Fluid & Clean */
.md-typeset table:not([class]) {
width: 100%;
margin: 1rem 0;
border-radius: 0.5rem;
border: 1px solid #e0e0e0;
font-size: 0.9em;
}
.md-typeset table:not([class]) th {
background-color: #f5f5f5;
color: #333 !important;
text-transform: none;
font-weight: 700;
padding: 0.75rem !important;
}
/* BUTTONS - Modern Interaction */
.md-button {
border-radius: 2rem;
font-weight: 600;
padding: 0.5rem 1.25rem;
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.md-button--primary {
background-color: var(--md-primary-fg-color) !important;
}
.md-button--primary:hover {
background-color: var(--md-accent-fg-color) !important;
transform: translateY(-0.15rem);
box-shadow: 0 4px 12px rgba(255, 109, 0, 0.25);
}
/* CLEANUP */
.md-copyright, .md-footer-meta__text {
display: none;
}