MediaWiki:Common.css: Difference between revisions
From determinar.ia.br - Determine suas informações
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ===== | /* ===== Infobox Médico — v3.1 ===== */ | ||
.infobox-medico { | .infobox-medico { | ||
max-width: 520px; margin: 0 auto; | |||
background: #ffffff; border: 1px solid #e5e7eb; | |||
border-radius: 16px; padding: 20px; | |||
box-shadow: 0 2px 12px rgba(0,0,0,.06); | |||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; | |||
} | } | ||
.infobox-medico-imagem { text-align: center; margin-bottom: 12px; } | |||
.infobox-medico-imagem img { border-radius: 12px; } | |||
.infobox-medico-titulo { font-size: 1.45rem; font-weight: 800; color: #111827; line-height: 1.25; } | |||
.infobox-medico-descricao { color: #6b7280; font-size: .95rem; margin-top: 2px; } | |||
.infobox-medico-chips { margin-top: 10px; } | |||
.chip-especialidade { | .chip-especialidade { | ||
display: inline-block; background: #eef2ff; color: #3730a3; | |||
border: 1px solid #c7d2fe; border-radius: 999px; | |||
padding: 3px 12px; margin: 3px 4px 0 0; font-size: .78rem; font-weight: 600; | |||
} | } | ||
.medico-avaliacao { margin-top: 12px; font-size: .92rem; color: #374151; } | |||
.medico-estrelas { color: #f59e0b; letter-spacing: 2px; } | |||
.medico-nota { font-weight: 700; } | |||
.infobox-medico-tabela { width: 100%; border-collapse: collapse; margin-top: 12px; } | |||
.infobox-medico-tabela th { | .infobox-medico-tabela th { | ||
text-align: left; vertical-align: top; color: #6b7280; | |||
font-weight: 600; font-size: .82rem; text-transform: uppercase; | |||
padding: 6px 10px 6px 0; width: 110px; border-bottom: 1px solid #f3f4f6; | |||
} | } | ||
.infobox-medico-tabela td { padding: 6px 0; font-size: .92rem; color: #111827; border-bottom: 1px solid #f3f4f6; } | |||
.infobox-medico-bio { margin-top: 14px; color: #374151; font-size: .95rem; line-height: 1.6; } | |||
.infobox-medico-secao { | .infobox-medico-secao { | ||
margin-top: 18px; font-size: .78rem; font-weight: 700; text-transform: uppercase; | |||
letter-spacing: .05em; color: #6b7280; border-bottom: 2px solid #e5e7eb; padding-bottom: 6px; | |||
. | |||
} | } | ||
.infobox-medico-pubs { margin: 8px 0 0; padding-left: 20px; font-size: .9rem; } | |||
.infobox-medico-pubs li { margin: 4px 0; } | |||
.infobox-medico-rodape { margin-top: 16px; font-size: .75rem; color: #9ca3af; border-top: 1px dashed #e5e7eb; padding-top: 10px; } | |||
.infobox-medico a.external { background-image: none; padding-right: 0; } | |||
/* | /* CTA — azul de verdade (vence Timeless e Minerva) */ | ||
. | .cta-agendar { margin: 18px 0 6px; text-align: center; } | ||
.cta-agendar a.external, | |||
.cta-agendar a, | |||
.content .cta-agendar a.external { | |||
display: block !important; | |||
background: #0d6efd !important; | |||
color: #ffffff !important; | |||
padding: 14px 18px !important; | |||
border-radius: 14px !important; | |||
font-weight: 700 !important; | |||
font-size: 1.05rem !important; | |||
text-decoration: none !important; | |||
box-shadow: 0 4px 14px rgba(13,110,253,.35) !important; | |||
} | } | ||
.cta-agendar a.external:hover, | |||
.cta-agendar a:hover { background: #0a58ca !important; color: #ffffff !important; } | |||
/* | /* Desambiguação — card âmbar */ | ||
. | .medico-desamb { | ||
margin: 18px 0 0; border: 1px solid #e5e7eb; border-left: 4px solid #f59e0b; | |||
border-radius: 10px; background: #fffbeb; overflow: hidden; | |||
} | } | ||
. | .medico-desamb-titulo { | ||
padding: 10px 14px; font-size: .9rem; color: #92400e; font-weight: 600; | |||
cursor: pointer; user-select: none; | |||
} | } | ||
. | .medico-desamb-titulo::after { content: " ▴"; } | ||
.medico-desamb.fechado .medico-desamb-titulo::after { content: " ▾"; } | |||
.medico-desamb-lista { margin: 0; padding: 4px 16px 12px 34px; color: #78350f; font-size: .85rem; line-height: 1.5; } | |||
.medico-desamb.fechado .medico-desamb-lista { display: none; } | |||
/* | /* FAQ — cards abaixo da desambiguação */ | ||
.medico-faq { | |||
margin: 10px 0 0; border: 1px solid #e5e7eb; border-radius: 10px; | |||
background: #f9fafb; overflow: hidden; | |||
} | } | ||
.medico-faq-q { | |||
padding: 12px 14px; font-weight: 600; font-size: .92rem; color: #111827; | |||
. | cursor: pointer; user-select: none; | ||
} | } | ||
.medico-faq-q::before { content: "❓ "; } | |||
.medico-faq-q::after { content: " ▴"; color: #9ca3af; } | |||
.medico-faq.fechado .medico-faq-q::after { content: " ▾"; } | |||
.medico-faq-a { | |||
padding: 10px 14px; color: #374151; font-size: .88rem; line-height: 1.55; | |||
border-top: 1px dashed #d1d5db; | |||
} | } | ||
.medico-faq-a::before { content: "R: "; font-weight: 600; color: #0d6efd; } | |||
.medico-faq.fechado .medico-faq-a { display: none; } | |||
/* | /* Mapa / publicações */ | ||
.medico-mapa { margin: 16px 0 0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); } | |||
.medico-mapa iframe { display: block; border: 0; width: 100%; } | |||
.medico-mapa-link { margin: 14px 0 0; } | |||
.medico-mais-pubs { margin-top: 10px; font-size: .9rem; font-weight: 600; } | |||
} | |||
/* | /* Dark mode */ | ||
html.skin-theme-clientpref-night .infobox-medico { background: #111827; border-color: #374151; } | |||
html.skin-theme-clientpref-night .infobox-medico-titulo { color: #f3f4f6; } | |||
html.skin-theme-clientpref-night .infobox-medico { | html.skin-theme-clientpref-night .medico-desamb { background: #2a2414; border-color: #444; } | ||
html.skin-theme-clientpref-night .medico-desamb-titulo { color: #fbbf24; } | |||
html.skin-theme-clientpref-night .medico-desamb-lista { color: #d6c8a8; } | |||
html.skin-theme-clientpref-night .medico-faq { background: #1f2937; border-color: #374151; } | |||
html.skin-theme-clientpref-night .medico-faq-q { color: #f3f4f6; } | |||
} | html.skin-theme-clientpref-night .medico-faq-a { color: #d1d5db; } | ||
html.skin-theme-clientpref-night .infobox-medico-titulo { color: # | |||
html.skin-theme-clientpref-night . | |||
} | |||
html.skin-theme-clientpref-night .medico- | |||
html.skin-theme-clientpref-night . | |||
html.skin-theme-clientpref-night . | |||
} | |||
html.skin-theme-clientpref-night . | |||
} | |||
html.skin-theme-clientpref-night . | |||
Revision as of 18:54, 3 August 2026
/* ===== Infobox Médico — v3.1 ===== */
.infobox-medico {
max-width: 520px; margin: 0 auto;
background: #ffffff; border: 1px solid #e5e7eb;
border-radius: 16px; padding: 20px;
box-shadow: 0 2px 12px rgba(0,0,0,.06);
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.infobox-medico-imagem { text-align: center; margin-bottom: 12px; }
.infobox-medico-imagem img { border-radius: 12px; }
.infobox-medico-titulo { font-size: 1.45rem; font-weight: 800; color: #111827; line-height: 1.25; }
.infobox-medico-descricao { color: #6b7280; font-size: .95rem; margin-top: 2px; }
.infobox-medico-chips { margin-top: 10px; }
.chip-especialidade {
display: inline-block; background: #eef2ff; color: #3730a3;
border: 1px solid #c7d2fe; border-radius: 999px;
padding: 3px 12px; margin: 3px 4px 0 0; font-size: .78rem; font-weight: 600;
}
.medico-avaliacao { margin-top: 12px; font-size: .92rem; color: #374151; }
.medico-estrelas { color: #f59e0b; letter-spacing: 2px; }
.medico-nota { font-weight: 700; }
.infobox-medico-tabela { width: 100%; border-collapse: collapse; margin-top: 12px; }
.infobox-medico-tabela th {
text-align: left; vertical-align: top; color: #6b7280;
font-weight: 600; font-size: .82rem; text-transform: uppercase;
padding: 6px 10px 6px 0; width: 110px; border-bottom: 1px solid #f3f4f6;
}
.infobox-medico-tabela td { padding: 6px 0; font-size: .92rem; color: #111827; border-bottom: 1px solid #f3f4f6; }
.infobox-medico-bio { margin-top: 14px; color: #374151; font-size: .95rem; line-height: 1.6; }
.infobox-medico-secao {
margin-top: 18px; font-size: .78rem; font-weight: 700; text-transform: uppercase;
letter-spacing: .05em; color: #6b7280; border-bottom: 2px solid #e5e7eb; padding-bottom: 6px;
}
.infobox-medico-pubs { margin: 8px 0 0; padding-left: 20px; font-size: .9rem; }
.infobox-medico-pubs li { margin: 4px 0; }
.infobox-medico-rodape { margin-top: 16px; font-size: .75rem; color: #9ca3af; border-top: 1px dashed #e5e7eb; padding-top: 10px; }
.infobox-medico a.external { background-image: none; padding-right: 0; }
/* CTA — azul de verdade (vence Timeless e Minerva) */
.cta-agendar { margin: 18px 0 6px; text-align: center; }
.cta-agendar a.external,
.cta-agendar a,
.content .cta-agendar a.external {
display: block !important;
background: #0d6efd !important;
color: #ffffff !important;
padding: 14px 18px !important;
border-radius: 14px !important;
font-weight: 700 !important;
font-size: 1.05rem !important;
text-decoration: none !important;
box-shadow: 0 4px 14px rgba(13,110,253,.35) !important;
}
.cta-agendar a.external:hover,
.cta-agendar a:hover { background: #0a58ca !important; color: #ffffff !important; }
/* Desambiguação — card âmbar */
.medico-desamb {
margin: 18px 0 0; border: 1px solid #e5e7eb; border-left: 4px solid #f59e0b;
border-radius: 10px; background: #fffbeb; overflow: hidden;
}
.medico-desamb-titulo {
padding: 10px 14px; font-size: .9rem; color: #92400e; font-weight: 600;
cursor: pointer; user-select: none;
}
.medico-desamb-titulo::after { content: " ▴"; }
.medico-desamb.fechado .medico-desamb-titulo::after { content: " ▾"; }
.medico-desamb-lista { margin: 0; padding: 4px 16px 12px 34px; color: #78350f; font-size: .85rem; line-height: 1.5; }
.medico-desamb.fechado .medico-desamb-lista { display: none; }
/* FAQ — cards abaixo da desambiguação */
.medico-faq {
margin: 10px 0 0; border: 1px solid #e5e7eb; border-radius: 10px;
background: #f9fafb; overflow: hidden;
}
.medico-faq-q {
padding: 12px 14px; font-weight: 600; font-size: .92rem; color: #111827;
cursor: pointer; user-select: none;
}
.medico-faq-q::before { content: "❓ "; }
.medico-faq-q::after { content: " ▴"; color: #9ca3af; }
.medico-faq.fechado .medico-faq-q::after { content: " ▾"; }
.medico-faq-a {
padding: 10px 14px; color: #374151; font-size: .88rem; line-height: 1.55;
border-top: 1px dashed #d1d5db;
}
.medico-faq-a::before { content: "R: "; font-weight: 600; color: #0d6efd; }
.medico-faq.fechado .medico-faq-a { display: none; }
/* Mapa / publicações */
.medico-mapa { margin: 16px 0 0; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.medico-mapa iframe { display: block; border: 0; width: 100%; }
.medico-mapa-link { margin: 14px 0 0; }
.medico-mais-pubs { margin-top: 10px; font-size: .9rem; font-weight: 600; }
/* Dark mode */
html.skin-theme-clientpref-night .infobox-medico { background: #111827; border-color: #374151; }
html.skin-theme-clientpref-night .infobox-medico-titulo { color: #f3f4f6; }
html.skin-theme-clientpref-night .medico-desamb { background: #2a2414; border-color: #444; }
html.skin-theme-clientpref-night .medico-desamb-titulo { color: #fbbf24; }
html.skin-theme-clientpref-night .medico-desamb-lista { color: #d6c8a8; }
html.skin-theme-clientpref-night .medico-faq { background: #1f2937; border-color: #374151; }
html.skin-theme-clientpref-night .medico-faq-q { color: #f3f4f6; }
html.skin-theme-clientpref-night .medico-faq-a { color: #d1d5db; }
