MedCaseAgent / frontend /src /styles /dashboard.css
MVChem
initial commit
01923e1
Raw History Blame Contribute Delete
3.46 kB
:root {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: #222;
background: #fff;
font-synthesis: none;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #555; outline-offset: 6px; }
.project-page { width: min(100% - 80px, 1040px); margin: 0 auto; }
.introduction { max-width: 820px; margin: 0 auto; padding: 64px 0 38px; text-align: center; }
.organization { margin: 0 0 20px; color: #777; font-size: 12px; font-weight: 500; letter-spacing: 1.7px; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5.2vw, 66px); font-weight: 400; line-height: 1.1; letter-spacing: -2.5px; }
.subtitle { max-width: 710px; margin: 22px auto 0; color: #424242; font-size: 24px; font-weight: 400; line-height: 1.5; letter-spacing: -.45px; }
.description { max-width: 760px; margin: 24px auto 0; color: #686868; font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.teaser { margin: 8px 0 40px; }
.teaser > a { display: block; }
.teaser img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 16px; text-align: center; color: #777; font-size: 12px; line-height: 1.6; }
figcaption a { text-underline-offset: 3px; margin-left: 3px; }
.resources { max-width: 930px; margin: 0 auto; }
.resources h2 { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: #777; }
.resources ul { list-style: none; margin: 0; padding: 0; }
.resources li { border-top: 1px solid #e7e7e7; }
.resources li:last-child { border-bottom: 1px solid #e7e7e7; }
.resource-link { display: grid; grid-template-columns: 200px 1fr 20px; align-items: center; gap: 24px; padding: 22px 0; text-decoration: none; }
a.resource-link:hover .resource-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.resource-name { font-size: 17px; font-weight: 550; letter-spacing: -.3px; }
.code-label { font-weight: 400; color: #777; }
.resource-description { color: #737373; font-size: 13px; line-height: 1.7; }
.resource-arrow { font-size: 19px; color: #777; text-align: right; }
footer { margin: 40px 0 30px; color: #909090; font-size: 11px; text-align: center; }
footer span { padding: 0 8px; }
.feedback { padding-top: 100px; line-height: 1.8; }
.feedback p { color: #666; }
.feedback button { margin-top: 10px; padding: 9px 15px; border: 1px solid #ccc; border-radius: 4px; background: white; font: inherit; cursor: pointer; }
@media (max-width: 700px) {
.project-page { width: calc(100% - 40px); }
.introduction { padding: 40px 0 26px; }
.organization { margin-bottom: 18px; font-size: 11px; }
h1 { font-size: 46px; letter-spacing: -2px; }
.subtitle { margin-top: 17px; font-size: 20px; line-height: 1.55; }
.description { margin-top: 20px; font-size: 14px; line-height: 1.8; }
.teaser { margin: 5px -6px 30px; }
figcaption { font-size: 11px; margin-top: 12px; }
.resource-link { grid-template-columns: 1fr 20px; gap: 7px 15px; padding: 20px 0; }
.resource-name { font-size: 17px; }
.resource-description { grid-column: 1; font-size: 13px; }
.resource-arrow { grid-column: 2; grid-row: 1 / 3; }
footer { margin-top: 32px; }
}
@media (max-width: 360px) {
h1 { font-size: 40px; }
.project-page { width: calc(100% - 32px); }
}