MediaWiki:Common.css: mudanças entre as edições
Aparência
Home inspirada no Fandom + novo visual |
Corrigindo design limpo da Wiki TokuDrive |
||
| Linha 1: | Linha 1: | ||
/* ========================================================== | /* ========================================================== | ||
Wiki TokuDrive - Home | Wiki TokuDrive - Home limpa, organizada e moderna | ||
========================================================== */ | ========================================================== */ | ||
:root { | :root { | ||
--td-bg: # | --td-bg: #f4f6fb; | ||
--td-surface: #ffffff; | --td-surface: #ffffff; | ||
--td-card: | --td-card: #ffffff; | ||
--td-text: # | --td-card-soft: #f8f9fc; | ||
--td-muted: # | --td-text: #171a24; | ||
--td-border: rgba( | --td-muted: #687084; | ||
--td-link: # | --td-border: rgba(23, 26, 36, .12); | ||
--td-link: #195ec8; | |||
--td- | --td-primary: #111827; | ||
--td-accent | --td-accent: #e50914; | ||
--td-shadow: 0 18px 45px rgba(16, 24, 40, .10); | |||
--td-radius: 22px; | |||
--td-shadow: 0 18px | |||
} | } | ||
html[data-td-theme="dark"] { | html[data-td-theme="dark"] { | ||
--td-bg: # | --td-bg: #090b10; | ||
--td-surface: # | --td-surface: #121620; | ||
--td-card: | --td-card: #151a26; | ||
--td-text: # | --td-card-soft: #10141d; | ||
--td-muted: # | --td-text: #f4f6fb; | ||
--td-border: rgba(255,255,255,. | --td-muted: #a8b0c2; | ||
--td-link: # | --td-border: rgba(255,255,255,.12); | ||
--td-link: #9dbdff; | |||
--td-primary: #ffffff; | |||
--td-shadow: 0 18px 55px rgba(0,0,0,.35); | |||
--td- | |||
--td-shadow: 0 18px | |||
} | } | ||
| Linha 55: | Linha 48: | ||
} | } | ||
a | a, | ||
a:visited { | a:visited { | ||
color: var(--td-link); | color: var(--td-link); | ||
| Linha 65: | Linha 55: | ||
.mw-parser-output h1, | .mw-parser-output h1, | ||
.mw-parser-output h2, | .mw-parser-output h2, | ||
.mw-parser-output h3 | .mw-parser-output h3 { | ||
color: var(--td-text); | color: var(--td-text); | ||
border-color: var(--td-border); | border-color: var(--td-border); | ||
| Linha 77: | Linha 66: | ||
} | } | ||
/* Remove excesso visual só na página principal */ | |||
.page-Página_principal .mw-page-title-main, | |||
.page-Página_principal .citizen-page-header, | |||
.page-Página_principal .mw-first-heading { | |||
display: none !important; | |||
} | |||
.page-Página_principal .mw-parser-output { | |||
max-width: none; | |||
} | |||
/* Elementos padrão de artigos */ | |||
.toc, | .toc, | ||
#toc, | #toc, | ||
| Linha 86: | Linha 87: | ||
color: var(--td-text) !important; | color: var(--td-text) !important; | ||
border: 1px solid var(--td-border) !important; | border: 1px solid var(--td-border) !important; | ||
border-radius: | border-radius: 14px; | ||
box-shadow: 0 8px 24px rgba(0,0,0,. | box-shadow: 0 8px 24px rgba(0,0,0,.04); | ||
} | } | ||
.wikitable th, | .wikitable th, | ||
.infobox th { | .infobox th { | ||
background: rgba(127,127,127,. | background: rgba(127,127,127,.10) !important; | ||
color: var(--td-text) !important; | color: var(--td-text) !important; | ||
} | } | ||
| Linha 102: | Linha 103: | ||
.td-sourcebox { | .td-sourcebox { | ||
border: 1px solid rgba( | border: 1px solid rgba(229,9,20,.24); | ||
background: rgba( | background: rgba(229,9,20,.07); | ||
color: var(--td-text); | color: var(--td-text); | ||
padding: 12px 14px; | padding: 12px 14px; | ||
| Linha 111: | Linha 112: | ||
} | } | ||
/* Botão de tema */ | |||
#td-theme-toggle { | #td-theme-toggle { | ||
position: fixed; | position: fixed; | ||
right: | right: 20px; | ||
bottom: | bottom: 18px; | ||
z-index: 99999; | z-index: 99999; | ||
border: 1px solid var(--td-border); | border: 1px solid var(--td-border); | ||
| Linha 121: | Linha 123: | ||
box-shadow: var(--td-shadow); | box-shadow: var(--td-shadow); | ||
border-radius: 999px; | border-radius: 999px; | ||
padding: | padding: 10px 14px; | ||
font-weight: | font-weight: 800; | ||
cursor: pointer; | cursor: pointer; | ||
} | } | ||
/* | /* Home */ | ||
.td-home { | .td-home { | ||
max-width: | max-width: 1320px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: 10px 0 34px; | |||
} | } | ||
.td | .td-hero { | ||
position: relative; | position: relative; | ||
overflow: hidden; | overflow: hidden; | ||
border-radius: | border-radius: 30px; | ||
padding: clamp(28px, 5vw, 62px); | |||
padding: | |||
background: | background: | ||
radial-gradient(circle at top left, rgba( | radial-gradient(circle at top left, rgba(229,9,20,.20), transparent 34%), | ||
radial-gradient(circle at | radial-gradient(circle at bottom right, rgba(25,94,200,.16), transparent 36%), | ||
linear-gradient(135deg, var(--td-surface), var(--td-card-soft)); | |||
linear-gradient(135deg, var(--td- | border: 1px solid var(--td-border); | ||
box-shadow: var(--td-shadow); | box-shadow: var(--td-shadow); | ||
text-align: center; | |||
} | } | ||
.td | html[data-td-theme="dark"] .td-hero { | ||
background: | background: | ||
radial-gradient(circle at | radial-gradient(circle at top left, rgba(229,9,20,.28), transparent 34%), | ||
radial-gradient(circle at bottom right, rgba(25,94,200,.24), transparent 36%), | |||
radial-gradient(circle at | linear-gradient(135deg, #151a26, #0f121a); | ||
} | } | ||
.td- | .td-home-logo { | ||
width: min(340px, 82vw); | |||
height: 115px; | |||
margin: 0 auto 14px; | |||
background: | background-image: url('/resources/assets/tokudrive-logo.png'); | ||
background-size: contain; | |||
background-position: center; | |||
background-size: | background-repeat: no-repeat; | ||
background-position: | filter: drop-shadow(0 12px 22px rgba(0,0,0,.14)); | ||
} | } | ||
.td- | .td-kicker { | ||
display: inline-flex; | |||
align-items: center; | |||
gap: 8px; | |||
min-height: 32px; | |||
padding: 0 12px; | |||
border-radius: 999px; | |||
background: rgba(229,9,20,.09); | |||
color: var(--td-accent); | |||
font-size: 12px; | |||
font-weight: 900; | |||
text-transform: uppercase; | |||
letter-spacing: .12em; | |||
margin-bottom: 16px; | |||
} | } | ||
.td- | .td-title { | ||
font-size: clamp(34px, 6vw, 64px); | |||
color: | line-height: 1; | ||
margin: | letter-spacing: -.055em; | ||
font-weight: 950; | |||
color: var(--td-primary); | |||
margin: 0 0 16px; | |||
} | } | ||
.td- | .td-subtitle { | ||
max-width: 820px; | |||
margin: 0 auto; | |||
color: var(--td-muted); | |||
font-size: clamp(16px, 2vw, 20px); | |||
line-height: 1.55; | |||
} | } | ||
.td- | .td-search-area { | ||
max-width: 760px; | |||
margin: 28px auto 0; | |||
margin | |||
} | } | ||
.td- | .td-search-form { | ||
display: flex; | |||
gap: 10px; | |||
padding: 8px; | |||
border-radius: 999px; | |||
background: var(--td-card); | |||
border: 1px solid var(--td-border); | |||
box-shadow: 0 12px 28px rgba(0,0,0,.08); | |||
} | } | ||
.td-search- | .td-search-input { | ||
flex: 1; | |||
min-width: 0; | |||
border: 0; | |||
outline: none; | |||
background: transparent; | |||
color: var(--td-text); | |||
padding: 0 16px; | |||
font-size: 16px; | |||
} | } | ||
.td-search- | .td-search-button { | ||
border: 0; | |||
border-radius: 999px; | border-radius: 999px; | ||
padding: 0 20px; | |||
min-height: 44px; | |||
background: var(--td-primary); | |||
color: var(--td-surface); | |||
font-weight: 900; | font-weight: 900; | ||
cursor: pointer; | |||
} | } | ||
.td-search- | html[data-td-theme="dark"] .td-search-button { | ||
background: #ffffff; | |||
color: #10141d; | |||
} | } | ||
.td- | .td-section-head { | ||
display: | display: flex; | ||
align-items: end; | |||
gap: | justify-content: space-between; | ||
margin | gap: 16px; | ||
margin: 30px 0 14px; | |||
} | } | ||
.td- | .td-section-head h2 { | ||
margin: 0 !important; | |||
padding: 0 !important; | |||
border | border: 0 !important; | ||
font-size: 26px; | |||
letter-spacing: -.03em; | |||
font-weight: 950; | |||
} | } | ||
.td- | .td-section-head p { | ||
margin: 0; | |||
color: var(--td-muted); | |||
font-size: 14px; | |||
} | } | ||
.td- | .td-latest-grid, | ||
.td-portal-grid { | |||
display: grid; | |||
gap: 16px; | |||
} | } | ||
.td- | .td-latest-grid { | ||
grid-template-columns: repeat(4, minmax(0, 1fr)); | |||
} | } | ||
.td- | .td-portal-grid { | ||
grid-template-columns: repeat(6, minmax(0, 1fr)); | |||
} | } | ||
.td- | .td-latest-card, | ||
.td-portal-card, | |||
.td-panel { | |||
background: var(--td-card); | |||
border: 1px solid var(--td-border); | |||
border-radius: var(--td-radius); | |||
box-shadow: 0 12px 30px rgba(0,0,0,.055); | |||
} | } | ||
.td- | .td-latest-card { | ||
text-decoration: | min-height: 155px; | ||
padding: 18px; | |||
display: flex; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
text-decoration: none !important; | |||
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; | |||
} | } | ||
.td- | .td-latest-card:hover { | ||
transform: translateY(-4px); | |||
box-shadow: var(--td-shadow); | |||
border-color: rgba(229,9,20,.30); | |||
border- | |||
} | } | ||
.td- | .td-latest-label { | ||
color: var(--td-muted); | |||
font-size: 12px; | |||
font-weight: 900; | |||
text-transform: uppercase; | |||
letter-spacing: .10em; | |||
} | } | ||
.td- | .td-latest-title { | ||
color: var(--td-text); | |||
font-size: 18px; | font-size: 18px; | ||
line-height: 1.25; | |||
font-weight: 950; | |||
margin: 12px 0; | |||
} | } | ||
.td- | .td-latest-date { | ||
color: | color: var(--td-muted); | ||
font-size: | font-size: 13px; | ||
font-weight: | font-weight: 700; | ||
} | } | ||
.td- | .td-loading { | ||
grid-column: 1 / -1; | |||
padding: | padding: 22px; | ||
border-radius: var(--td-radius); | |||
background: var(--td-card); | |||
border: 1px solid var(--td-border); | |||
color: var(--td-muted); | |||
} | } | ||
.td- | .td-portal-card { | ||
min-height: 128px; | |||
padding: 18px; | |||
text-decoration: none !important; | |||
transition: transform .18s ease, box-shadow .18s ease; | |||
} | } | ||
.td- | .td-portal-card:hover { | ||
transform: translateY(-4px); | |||
box-shadow: var(--td-shadow); | |||
} | } | ||
.td- | .td-portal-icon { | ||
width: 42px; | |||
height: 42px; | |||
border-radius: 14px; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
background: rgba(229,9,20,.10); | |||
color: var(--td-accent); | |||
font-size: 22px; | |||
margin-bottom: 14px; | |||
} | } | ||
.td- | .td-portal-title { | ||
font-size: | color: var(--td-text); | ||
font-weight: | font-size: 17px; | ||
font-weight: 950; | |||
margin-bottom: 6px; | |||
} | } | ||
.td- | .td-portal-desc { | ||
color: var(--td-muted); | |||
font-size: 13px; | |||
line-height: 1.45; | |||
font-size: | |||
} | } | ||
.td- | .td-two-cols { | ||
display: grid; | display: grid; | ||
grid-template-columns: 1. | grid-template-columns: 1.1fr .9fr; | ||
gap: 16px; | gap: 16px; | ||
margin-top: 18px; | margin-top: 18px; | ||
| Linha 395: | Linha 381: | ||
.td-panel { | .td-panel { | ||
padding: 22px; | padding: 22px; | ||
} | } | ||
| Linha 404: | Linha 386: | ||
.td-panel h2 { | .td-panel h2 { | ||
margin-top: 0 !important; | margin-top: 0 !important; | ||
padding-top: 0 !important; | |||
border: 0 !important; | border: 0 !important; | ||
font-size: 24px; | font-size: 24px; | ||
font-weight: | font-weight: 950; | ||
} | |||
.td-panel p { | |||
color: var(--td-muted); | |||
} | } | ||
.td- | .td-link-list { | ||
display: grid; | display: grid; | ||
gap: 10px; | gap: 10px; | ||
} | } | ||
.td- | .td-link-list a { | ||
display: block; | display: block; | ||
padding: 12px 14px; | padding: 12px 14px; | ||
border-radius: 14px; | border-radius: 14px; | ||
background: rgba(127,127,127,.08); | |||
text-decoration: none !important; | text-decoration: none !important; | ||
font-weight: 850; | |||
font-weight: | |||
} | } | ||
.td- | .td-link-list a:hover { | ||
background: rgba( | background: rgba(229,9,20,.10); | ||
} | } | ||
@media (max-width: | @media (max-width: 1120px) { | ||
.td- | .td-latest-grid { | ||
grid-template-columns: repeat(2, minmax(0, 1fr)); | |||
} | |||
.td-portal-grid { | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | grid-template-columns: repeat(3, minmax(0, 1fr)); | ||
} | } | ||
.td- | .td-two-cols { | ||
grid-template-columns: | grid-template-columns: 1fr; | ||
} | } | ||
} | } | ||
@media (max-width: | @media (max-width: 660px) { | ||
.td- | .td-home { | ||
.td- | padding: 0 0 26px; | ||
.td- | } | ||
.td-hero { | |||
border-radius: 22px; | |||
padding: 26px 18px; | |||
} | |||
.td-home-logo { | |||
height: 86px; | |||
} | |||
.td-search-form { | |||
border-radius: 18px; | |||
flex-direction: column; | |||
padding: 12px; | |||
} | |||
.td-search-input { | |||
min-height: 42px; | |||
} | |||
.td-search-button { | |||
width: 100%; | |||
} | |||
.td-latest-grid, | |||
.td-portal-grid { | |||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
.td- | .td-section-head { | ||
display: block; | |||
} | |||
.td-section-head p { | |||
margin-top: 6px; | |||
} | } | ||
#td-theme-toggle { | |||
right: 14px; | |||
bottom: 14px; | |||
font-size: 13px; | |||
} | } | ||
} | } | ||
Edição das 14h29min de 28 de junho de 2026
/* ==========================================================
Wiki TokuDrive - Home limpa, organizada e moderna
========================================================== */
:root {
--td-bg: #f4f6fb;
--td-surface: #ffffff;
--td-card: #ffffff;
--td-card-soft: #f8f9fc;
--td-text: #171a24;
--td-muted: #687084;
--td-border: rgba(23, 26, 36, .12);
--td-link: #195ec8;
--td-primary: #111827;
--td-accent: #e50914;
--td-shadow: 0 18px 45px rgba(16, 24, 40, .10);
--td-radius: 22px;
}
html[data-td-theme="dark"] {
--td-bg: #090b10;
--td-surface: #121620;
--td-card: #151a26;
--td-card-soft: #10141d;
--td-text: #f4f6fb;
--td-muted: #a8b0c2;
--td-border: rgba(255,255,255,.12);
--td-link: #9dbdff;
--td-primary: #ffffff;
--td-shadow: 0 18px 55px rgba(0,0,0,.35);
}
html,
body {
background: var(--td-bg) !important;
color: var(--td-text) !important;
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body,
.mw-body,
.citizen-body,
#content,
.citizen-page-container,
.citizen-body-container {
background: var(--td-bg) !important;
color: var(--td-text) !important;
}
a,
a:visited {
color: var(--td-link);
}
.mw-parser-output h1,
.mw-parser-output h2,
.mw-parser-output h3 {
color: var(--td-text);
border-color: var(--td-border);
}
.mw-parser-output > p,
.mw-parser-output li {
font-size: 16px;
line-height: 1.72;
}
/* Remove excesso visual só na página principal */
.page-Página_principal .mw-page-title-main,
.page-Página_principal .citizen-page-header,
.page-Página_principal .mw-first-heading {
display: none !important;
}
.page-Página_principal .mw-parser-output {
max-width: none;
}
/* Elementos padrão de artigos */
.toc,
#toc,
.catlinks,
.thumbinner,
.infobox,
.wikitable {
background: var(--td-card) !important;
color: var(--td-text) !important;
border: 1px solid var(--td-border) !important;
border-radius: 14px;
box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.wikitable th,
.infobox th {
background: rgba(127,127,127,.10) !important;
color: var(--td-text) !important;
}
.wikitable td,
.wikitable th {
border: 1px solid var(--td-border) !important;
}
.td-sourcebox {
border: 1px solid rgba(229,9,20,.24);
background: rgba(229,9,20,.07);
color: var(--td-text);
padding: 12px 14px;
margin: 14px 0 22px;
border-radius: 14px;
font-size: 13px;
}
/* Botão de tema */
#td-theme-toggle {
position: fixed;
right: 20px;
bottom: 18px;
z-index: 99999;
border: 1px solid var(--td-border);
background: var(--td-card);
color: var(--td-text);
box-shadow: var(--td-shadow);
border-radius: 999px;
padding: 10px 14px;
font-weight: 800;
cursor: pointer;
}
/* Home */
.td-home {
max-width: 1320px;
margin: 0 auto;
padding: 10px 0 34px;
}
.td-hero {
position: relative;
overflow: hidden;
border-radius: 30px;
padding: clamp(28px, 5vw, 62px);
background:
radial-gradient(circle at top left, rgba(229,9,20,.20), transparent 34%),
radial-gradient(circle at bottom right, rgba(25,94,200,.16), transparent 36%),
linear-gradient(135deg, var(--td-surface), var(--td-card-soft));
border: 1px solid var(--td-border);
box-shadow: var(--td-shadow);
text-align: center;
}
html[data-td-theme="dark"] .td-hero {
background:
radial-gradient(circle at top left, rgba(229,9,20,.28), transparent 34%),
radial-gradient(circle at bottom right, rgba(25,94,200,.24), transparent 36%),
linear-gradient(135deg, #151a26, #0f121a);
}
.td-home-logo {
width: min(340px, 82vw);
height: 115px;
margin: 0 auto 14px;
background-image: url('/resources/assets/tokudrive-logo.png');
background-size: contain;
background-position: center;
background-repeat: no-repeat;
filter: drop-shadow(0 12px 22px rgba(0,0,0,.14));
}
.td-kicker {
display: inline-flex;
align-items: center;
gap: 8px;
min-height: 32px;
padding: 0 12px;
border-radius: 999px;
background: rgba(229,9,20,.09);
color: var(--td-accent);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .12em;
margin-bottom: 16px;
}
.td-title {
font-size: clamp(34px, 6vw, 64px);
line-height: 1;
letter-spacing: -.055em;
font-weight: 950;
color: var(--td-primary);
margin: 0 0 16px;
}
.td-subtitle {
max-width: 820px;
margin: 0 auto;
color: var(--td-muted);
font-size: clamp(16px, 2vw, 20px);
line-height: 1.55;
}
.td-search-area {
max-width: 760px;
margin: 28px auto 0;
}
.td-search-form {
display: flex;
gap: 10px;
padding: 8px;
border-radius: 999px;
background: var(--td-card);
border: 1px solid var(--td-border);
box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.td-search-input {
flex: 1;
min-width: 0;
border: 0;
outline: none;
background: transparent;
color: var(--td-text);
padding: 0 16px;
font-size: 16px;
}
.td-search-button {
border: 0;
border-radius: 999px;
padding: 0 20px;
min-height: 44px;
background: var(--td-primary);
color: var(--td-surface);
font-weight: 900;
cursor: pointer;
}
html[data-td-theme="dark"] .td-search-button {
background: #ffffff;
color: #10141d;
}
.td-section-head {
display: flex;
align-items: end;
justify-content: space-between;
gap: 16px;
margin: 30px 0 14px;
}
.td-section-head h2 {
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
font-size: 26px;
letter-spacing: -.03em;
font-weight: 950;
}
.td-section-head p {
margin: 0;
color: var(--td-muted);
font-size: 14px;
}
.td-latest-grid,
.td-portal-grid {
display: grid;
gap: 16px;
}
.td-latest-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.td-portal-grid {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.td-latest-card,
.td-portal-card,
.td-panel {
background: var(--td-card);
border: 1px solid var(--td-border);
border-radius: var(--td-radius);
box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.td-latest-card {
min-height: 155px;
padding: 18px;
display: flex;
flex-direction: column;
justify-content: space-between;
text-decoration: none !important;
transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.td-latest-card:hover {
transform: translateY(-4px);
box-shadow: var(--td-shadow);
border-color: rgba(229,9,20,.30);
}
.td-latest-label {
color: var(--td-muted);
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
letter-spacing: .10em;
}
.td-latest-title {
color: var(--td-text);
font-size: 18px;
line-height: 1.25;
font-weight: 950;
margin: 12px 0;
}
.td-latest-date {
color: var(--td-muted);
font-size: 13px;
font-weight: 700;
}
.td-loading {
grid-column: 1 / -1;
padding: 22px;
border-radius: var(--td-radius);
background: var(--td-card);
border: 1px solid var(--td-border);
color: var(--td-muted);
}
.td-portal-card {
min-height: 128px;
padding: 18px;
text-decoration: none !important;
transition: transform .18s ease, box-shadow .18s ease;
}
.td-portal-card:hover {
transform: translateY(-4px);
box-shadow: var(--td-shadow);
}
.td-portal-icon {
width: 42px;
height: 42px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(229,9,20,.10);
color: var(--td-accent);
font-size: 22px;
margin-bottom: 14px;
}
.td-portal-title {
color: var(--td-text);
font-size: 17px;
font-weight: 950;
margin-bottom: 6px;
}
.td-portal-desc {
color: var(--td-muted);
font-size: 13px;
line-height: 1.45;
}
.td-two-cols {
display: grid;
grid-template-columns: 1.1fr .9fr;
gap: 16px;
margin-top: 18px;
}
.td-panel {
padding: 22px;
}
.td-panel h2 {
margin-top: 0 !important;
padding-top: 0 !important;
border: 0 !important;
font-size: 24px;
font-weight: 950;
}
.td-panel p {
color: var(--td-muted);
}
.td-link-list {
display: grid;
gap: 10px;
}
.td-link-list a {
display: block;
padding: 12px 14px;
border-radius: 14px;
background: rgba(127,127,127,.08);
text-decoration: none !important;
font-weight: 850;
}
.td-link-list a:hover {
background: rgba(229,9,20,.10);
}
@media (max-width: 1120px) {
.td-latest-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.td-portal-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.td-two-cols {
grid-template-columns: 1fr;
}
}
@media (max-width: 660px) {
.td-home {
padding: 0 0 26px;
}
.td-hero {
border-radius: 22px;
padding: 26px 18px;
}
.td-home-logo {
height: 86px;
}
.td-search-form {
border-radius: 18px;
flex-direction: column;
padding: 12px;
}
.td-search-input {
min-height: 42px;
}
.td-search-button {
width: 100%;
}
.td-latest-grid,
.td-portal-grid {
grid-template-columns: 1fr;
}
.td-section-head {
display: block;
}
.td-section-head p {
margin-top: 6px;
}
#td-theme-toggle {
right: 14px;
bottom: 14px;
font-size: 13px;
}
}