|
|
| (19 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) |
| Linha 1: |
Linha 1: |
| /* ==========================================================
| |
| Wiki TokuDrive - Sem menu lateral + design limpo moderno
| |
| ========================================================== */
| |
|
| |
|
| :root {
| |
| --td-bg: #f3f5fa;
| |
| --td-surface: #ffffff;
| |
| --td-card: #ffffff;
| |
| --td-soft: #f8f9fc;
| |
| --td-text: #151823;
| |
| --td-muted: #687085;
| |
| --td-border: rgba(20,24,36,.12);
| |
| --td-link: #1d62d5;
| |
| --td-accent: #e50914;
| |
| --td-accent-soft: rgba(229,9,20,.10);
| |
| --td-dark: #111827;
| |
| --td-shadow: 0 18px 45px rgba(16,24,40,.10);
| |
| --td-radius: 24px;
| |
| }
| |
|
| |
|
| html[data-td-theme="dark"] {
| | /* === TOKUDRIVE_FIX_LOGO_INFOBOX_BEGIN === */ |
| --td-bg: #080a10;
| |
| --td-surface: #111620;
| |
| --td-card: #151b27;
| |
| --td-soft: #10141d;
| |
| --td-text: #f4f6fb;
| |
| --td-muted: #a9b2c7;
| |
| --td-border: rgba(255,255,255,.12);
| |
| --td-link: #9fbeff;
| |
| --td-accent-soft: rgba(229,9,20,.18);
| |
| --td-dark: #ffffff;
| |
| --td-shadow: 0 18px 55px rgba(0,0,0,.38);
| |
| }
| |
|
| |
|
| html,
| | /* Corrige topo: mostra apenas a wordmark, sem duplicar logo */ |
| body {
| | .mw-logo { |
| background: var(--td-bg) !important; | | min-width: 190px !important; |
| color: var(--td-text) !important; | | width: 190px !important; |
| font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; | | height: 58px !important; |
| | display: flex !important; |
| | align-items: center !important; |
| } | | } |
|
| |
|
| body,
| | .mw-logo-icon { |
| .mw-body,
| | display: none !important; |
| .citizen-body,
| |
| #content,
| |
| .citizen-page-container,
| |
| .citizen-body-container,
| |
| .mw-body-content,
| |
| .mw-parser-output { | |
| background: transparent !important; | |
| color: var(--td-text) !important;
| |
| } | | } |
|
| |
|
| a,
| | .mw-logo-wordmark { |
| a:visited {
| | width: 170px !important; |
| color: var(--td-link); | | height: 50px !important; |
| | max-width: 170px !important; |
| | max-height: 50px !important; |
| | object-fit: contain !important; |
| | object-position: left center !important; |
| } | | } |
|
| |
|
| /* ==========================================================
| | .mw-logo-tagline { |
| REMOVER TOTALMENTE MENU LATERAL / DRAWER / TOC LATERAL
| |
| ========================================================== */
| |
| | |
| #mw-panel,
| |
| #mw-navigation,
| |
| #p-logo,
| |
| #p-navigation,
| |
| #p-tb,
| |
| #p-lang,
| |
| #p-interaction,
| |
| #p-cactions,
| |
| #p-personal,
| |
| .mw-sidebar,
| |
| .mw-portlet,
| |
| .vector-sidebar-container,
| |
| .vector-main-menu,
| |
| .vector-main-menu-landmark,
| |
| .vector-column-start,
| |
| .vector-toc-landmark,
| |
| .vector-page-toolbar,
| |
| .vector-sticky-header,
| |
| .citizen-drawer,
| |
| .citizen-sidebar,
| |
| .citizen-page-sidebar,
| |
| .citizen-toc,
| |
| .citizen-drawer__card,
| |
| .citizen-header__button--menu,
| |
| .citizen-header__button--toc,
| |
| .citizen-header__button--search,
| |
| .citizen-page-header__actions,
| |
| .citizen-page-actions,
| |
| .citizen-search-box,
| |
| #siteNotice {
| |
| display: none !important; | | display: none !important; |
| visibility: hidden !important;
| |
| width: 0 !important;
| |
| min-width: 0 !important;
| |
| max-width: 0 !important;
| |
| overflow: hidden !important;
| |
| } | | } |
|
| |
|
| /* ocupar largura total sem espaço reservado da lateral */ | | /* Infobox igual wiki: à direita, com borda e cabeçalho */ |
| body,
| | .infobox { |
| .mw-body,
| | float: right !important; |
| .citizen-page-container,
| | clear: right !important; |
| .citizen-body-container,
| | width: 22em !important; |
| .mw-workspace-container,
| | margin: 0 0 1em 1em !important; |
| .vector-body,
| | background: #f8f9fa !important; |
| #content { | | border: 1px solid #a2a9b1 !important; |
| margin-left: 0 !important; | | border-spacing: 3px !important; |
| padding-left: 0 !important; | | color: #202122 !important; |
| grid-template-columns: 1fr !important; | | font-size: 88% !important; |
| grid-template-areas: none !important; | | line-height: 1.5em !important; |
| } | | } |
|
| |
|
| .citizen-page-container, | | .infobox th, |
| .mw-body, | | .infobox td { |
| #content {
| | vertical-align: top !important; |
| max-width: 100% !important; | | padding: 4px 6px !important; |
| width: 100% !important; | | color: #202122 !important; |
| } | | } |
|
| |
|
| .citizen-body { | | .infobox th { |
| max-width: 1320px !important; | | background: #eaecf0 !important; |
| margin-left: auto !important;
| | text-align: center !important; |
| margin-right: auto !important;
| | font-weight: bold !important; |
| padding-left: 18px !important; | |
| padding-right: 18px !important; | |
| } | | } |
|
| |
|
| /* Cabeçalho superior próprio */
| | .infobox .infobox-above, |
| #td-topbar {
| | .infobox .infobox-title { |
| position: sticky;
| | background: #ccccff !important; |
| top: 0;
| | text-align: center !important; |
| z-index: 99999;
| | font-size: 125% !important; |
| background: rgba(255,255,255,.92); | | font-weight: bold !important; |
| backdrop-filter: blur(16px); | |
| border-bottom: 1px solid var(--td-border); | |
| box-shadow: 0 8px 26px rgba(0,0,0,.04); | |
| } | | } |
|
| |
|
| html[data-td-theme="dark"] #td-topbar {
| | .infobox .td-infobox-image, |
| background: rgba(10,13,20,.90); | | .infobox .infobox-image { |
| | text-align: center !important; |
| | background: #f8f9fa !important; |
| } | | } |
|
| |
|
| .td-topbar-inner { | | .infobox img { |
| max-width: 1320px; | | max-width: 220px !important; |
| margin: 0 auto; | | height: auto !important; |
| padding: 12px 18px;
| |
| display: flex;
| |
| align-items: center;
| |
| gap: 18px;
| |
| } | | } |
|
| |
|
| .td-topbar-brand { | | /* Tabelas padrão wiki */ |
| width: 132px; | | .wikitable { |
| height: 42px; | | background: #f8f9fa !important; |
| flex: 0 0 auto; | | color: #202122 !important; |
| background: url('/resources/assets/tokudrive-logo.png') center/contain no-repeat; | | border: 1px solid #a2a9b1 !important; |
| | border-collapse: collapse !important; |
| | margin: 1em 0 !important; |
| } | | } |
|
| |
|
| .td-topbar-menu { | | .wikitable th { |
| display: flex;
| | background: #eaecf0 !important; |
| align-items: center;
| | font-weight: bold !important; |
| gap: 8px;
| |
| flex: 1;
| |
| overflow-x: auto;
| |
| scrollbar-width: none;
| |
| }
| |
| | |
| .td-topbar-menu::-webkit-scrollbar {
| |
| display: none;
| |
| }
| |
| | |
| .td-topbar-menu a {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| min-height: 38px;
| |
| padding: 0 13px;
| |
| border-radius: 999px;
| |
| color: var(--td-text) !important;
| |
| background: rgba(127,127,127,.08); | |
| border: 1px solid transparent;
| |
| text-decoration: none !important;
| |
| white-space: nowrap;
| |
| font-weight: 850; | |
| font-size: 14px;
| |
| }
| |
| | |
| .td-topbar-menu a:hover {
| |
| border-color: var(--td-border);
| |
| background: var(--td-accent-soft);
| |
| }
| |
| | |
| .td-topbar-search {
| |
| flex: 0 1 260px;
| |
| display: flex;
| |
| align-items: center;
| |
| border: 1px solid var(--td-border);
| |
| background: var(--td-card);
| |
| border-radius: 999px;
| |
| min-height: 38px;
| |
| padding: 0 12px;
| |
| }
| |
| | |
| .td-topbar-search input {
| |
| width: 100%;
| |
| border: 0;
| |
| outline: none;
| |
| background: transparent;
| |
| color: var(--td-text);
| |
| font-size: 14px;
| |
| }
| |
| | |
| /* Páginas/artigos */
| |
| .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;
| |
| }
| |
| | |
| .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, | | .wikitable th, |
| .infobox th { | | .wikitable td { |
| background: rgba(127,127,127,.10) !important; | | border: 1px solid #a2a9b1 !important; |
| color: var(--td-text) !important; | | padding: 0.35em 0.55em !important; |
| }
| |
| | |
| .wikitable td, | |
| .wikitable th { | |
| border: 1px solid var(--td-border) !important;
| |
| } | | } |
|
| |
|
| | /* Remove aviso antigo de importação */ |
| .td-sourcebox { | | .td-sourcebox { |
| border: 1px solid rgba(229,9,20,.24); | | display: none !important; |
| background: var(--td-accent-soft);
| |
| color: var(--td-text);
| |
| padding: 12px 14px;
| |
| margin: 14px 0 22px;
| |
| border-radius: 14px;
| |
| font-size: 13px;
| |
| } | | } |
|
| |
|
| /* Home */ | | /* Remove erros técnicos visuais de módulos importados */ |
| .page-Página_principal .mw-page-title-main,
| | .mw-parser-output .scribunto-error, |
| .page-Página_principal .citizen-page-header, | | .mw-parser-output strong.error, |
| .page-Página_principal .mw-first-heading {
| | .mw-parser-output span.error { |
| display: none !important; | | display: none !important; |
| } | | } |
|
| |
|
| .page-Página_principal .citizen-body {
| | @media (max-width: 900px) { |
| max-width: 100% !important;
| | .mw-logo { |
| padding-left: 18px !important;
| | min-width: 155px !important; |
| padding-right: 18px !important;
| | width: 155px !important; |
| }
| | height: 46px !important; |
| | |
| .td-home {
| |
| max-width: 1320px;
| |
| margin: 0 auto;
| |
| padding: 22px 0 40px;
| |
| }
| |
| | |
| .td-hero {
| |
| position: relative;
| |
| overflow: hidden;
| |
| border-radius: 32px;
| |
| padding: clamp(30px, 5vw, 70px) 24px;
| |
| text-align: center;
| |
| background:
| |
| radial-gradient(circle at top left, rgba(229,9,20,.18), transparent 34%),
| |
| radial-gradient(circle at bottom right, rgba(29,98,213,.16), transparent 36%),
| |
| linear-gradient(135deg, var(--td-surface), var(--td-soft));
| |
| border: 1px solid var(--td-border);
| |
| box-shadow: var(--td-shadow);
| |
| }
| |
| | |
| 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(29,98,213,.22), transparent 36%),
| |
| linear-gradient(135deg, #151b27, #0e121a);
| |
| }
| |
| | |
| .td-home-logo { | |
| width: min(360px, 82vw);
| |
| height: 120px;
| |
| margin: 0 auto 10px;
| |
| background: url('/resources/assets/tokudrive-logo.png') center/contain no-repeat;
| |
| filter: drop-shadow(0 14px 24px rgba(0,0,0,.14));
| |
| }
| |
| | |
| .td-kicker {
| |
| display: inline-flex;
| |
| align-items: center;
| |
| min-height: 32px;
| |
| padding: 0 13px;
| |
| border-radius: 999px;
| |
| background: var(--td-accent-soft);
| |
| color: var(--td-accent);
| |
| font-size: 12px;
| |
| font-weight: 950;
| |
| text-transform: uppercase;
| |
| letter-spacing: .12em;
| |
| margin-bottom: 18px;
| |
| }
| |
| | |
| .td-title {
| |
| font-size: clamp(38px, 7vw, 72px);
| |
| line-height: .96;
| |
| letter-spacing: -.06em;
| |
| font-weight: 1000;
| |
| color: var(--td-dark);
| |
| margin: 0 0 18px;
| |
| }
| |
| | |
| .td-subtitle {
| |
| max-width: 840px;
| |
| margin: 0 auto;
| |
| color: var(--td-muted);
| |
| font-size: clamp(16px, 2vw, 21px);
| |
| line-height: 1.58;
| |
| }
| |
| | |
| .td-search-area {
| |
| max-width: 800px;
| |
| margin: 30px 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 22px;
| |
| min-height: 46px;
| |
| background: var(--td-dark);
| |
| color: var(--td-surface);
| |
| font-weight: 950;
| |
| cursor: pointer;
| |
| }
| |
| | |
| html[data-td-theme="dark"] .td-search-button {
| |
| background: #fff;
| |
| color: #111620;
| |
| }
| |
| | |
| .td-section-head {
| |
| display: flex;
| |
| align-items: end;
| |
| justify-content: space-between;
| |
| gap: 18px;
| |
| margin: 34px 0 16px;
| |
| }
| |
| | |
| .td-section-head h2 {
| |
| margin: 0 !important;
| |
| padding: 0 !important;
| |
| border: 0 !important;
| |
| font-size: 28px;
| |
| letter-spacing: -.035em;
| |
| font-weight: 1000;
| |
| }
| |
| | |
| .td-section-head p {
| |
| margin: 0;
| |
| color: var(--td-muted);
| |
| font-size: 14px;
| |
| }
| |
| | |
| .td-latest-grid {
| |
| display: grid;
| |
| gap: 16px;
| |
| grid-template-columns: repeat(4, minmax(0, 1fr));
| |
| }
| |
| | |
| .td-latest-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: 165px;
| |
| padding: 19px;
| |
| 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: 950;
| |
| text-transform: uppercase;
| |
| letter-spacing: .10em;
| |
| }
| |
| | |
| .td-latest-title {
| |
| color: var(--td-text);
| |
| font-size: 19px;
| |
| line-height: 1.25;
| |
| font-weight: 1000;
| |
| margin: 12px 0;
| |
| }
| |
| | |
| .td-latest-date {
| |
| color: var(--td-muted);
| |
| font-size: 13px;
| |
| font-weight: 750;
| |
| }
| |
| | |
| .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-two-cols {
| |
| display: grid;
| |
| grid-template-columns: 1.1fr .9fr;
| |
| gap: 16px;
| |
| margin-top: 20px;
| |
| }
| |
| | |
| .td-panel {
| |
| padding: 24px;
| |
| }
| |
| | |
| .td-panel h2 {
| |
| margin-top: 0 !important;
| |
| padding-top: 0 !important;
| |
| border: 0 !important;
| |
| font-size: 25px;
| |
| font-weight: 1000;
| |
| }
| |
| | |
| .td-panel p {
| |
| color: var(--td-muted);
| |
| }
| |
| | |
| .td-link-list {
| |
| display: grid;
| |
| gap: 10px;
| |
| }
| |
| | |
| .td-link-list a {
| |
| display: block;
| |
| padding: 13px 15px;
| |
| border-radius: 14px;
| |
| background: rgba(127,127,127,.08);
| |
| text-decoration: none !important;
| |
| font-weight: 900;
| |
| }
| |
| | |
| .td-link-list a:hover {
| |
| background: var(--td-accent-soft);
| |
| }
| |
| | |
| /* Botão 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: 900;
| |
| cursor: pointer;
| |
| }
| |
| | |
| @media (max-width: 1120px) {
| |
| .td-topbar-inner {
| |
| flex-wrap: wrap;
| |
| }
| |
| | |
| .td-topbar-brand {
| |
| width: 120px;
| |
| }
| |
| | |
| .td-topbar-search {
| |
| flex: 1 1 100%;
| |
| } | | } |
|
| |
|
| .td-latest-grid { | | .mw-logo-wordmark { |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | | width: 145px !important; |
| | height: 42px !important; |
| | max-width: 145px !important; |
| | max-height: 42px !important; |
| } | | } |
|
| |
|
| .td-two-cols { | | .infobox { |
| grid-template-columns: 1fr; | | float: none !important; |
| | width: 100% !important; |
| | margin: 0 0 1em 0 !important; |
| } | | } |
| } | | } |
|
| |
|
| @media (max-width: 660px) {
| | /* === TOKUDRIVE_FIX_LOGO_INFOBOX_END === */ |
| .citizen-body,
| |
| .page-Página_principal .citizen-body {
| |
| padding-left: 12px !important;
| |
| padding-right: 12px !important;
| |
| }
| |
| | |
| .td-topbar-inner {
| |
| padding: 10px 12px;
| |
| }
| |
| | |
| .td-topbar-menu {
| |
| order: 3;
| |
| flex: 1 1 100%;
| |
| }
| |
| | |
| .td-hero {
| |
| border-radius: 22px;
| |
| padding: 28px 16px;
| |
| }
| |
| | |
| .td-home-logo {
| |
| height: 88px;
| |
| }
| |
| | |
| .td-search-form {
| |
| flex-direction: column;
| |
| border-radius: 18px;
| |
| padding: 12px;
| |
| }
| |
| | |
| .td-search-input {
| |
| min-height: 42px;
| |
| }
| |
| | |
| .td-search-button {
| |
| width: 100%;
| |
| }
| |
| | |
| .td-latest-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;
| |
| }
| |
| }
| |