chunkymonkey / static /styles.css
Pwlot's picture
Style full ChunkyMonkey download button
16517fd verified
Raw History Blame Contribute Delete
4.62 kB
:root {
color-scheme: dark;
--bg: #0d0f0f;
--panel: #151816;
--panel-2: #1d211e;
--text: #f3f1e7;
--muted: #a9aa9f;
--line: #33382f;
--yellow: #f4c542;
--yellow-2: #ffe08a;
--danger: #ff6b4a;
--ok: #7bd88f;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: var(--bg);
color: var(--text);
font: 15px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a {
color: inherit;
}
.shell {
width: min(1180px, calc(100vw - 32px));
margin: 0 auto;
padding: 24px 0 48px;
}
.topbar,
.hero,
.status,
article,
.summary {
border: 1px solid var(--line);
background: rgba(21, 24, 22, 0.96);
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 14px;
border-radius: 8px;
}
.brand {
display: flex;
align-items: center;
gap: 12px;
}
.brand img {
width: 46px;
height: 46px;
object-fit: contain;
}
.brand strong,
.brand span {
display: block;
}
.brand span,
.label,
.eyebrow,
.lede,
.status {
color: var(--muted);
}
.toplink {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 40px;
padding: 0 14px;
border: 1px solid rgba(244, 197, 66, 0.72);
border-radius: 6px;
background: var(--yellow);
color: #17120a;
font-size: 14px;
font-weight: 900;
text-decoration: none;
white-space: nowrap;
}
.toplink:hover {
background: var(--yellow-2);
color: #17120a;
text-decoration: none;
}
.scanForm button {
border: 0;
border-radius: 6px;
background: var(--yellow);
color: #17120a;
font-weight: 800;
text-decoration: none;
}
.hero {
display: grid;
grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
gap: 28px;
margin-top: 18px;
padding: 28px;
border-radius: 8px;
}
.eyebrow {
margin: 0 0 10px;
color: var(--yellow-2);
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0;
}
h1 {
max-width: 720px;
margin: 0;
font-size: clamp(30px, 4vw, 44px);
line-height: 1.08;
letter-spacing: 0;
}
h2 {
margin: 0 0 14px;
font-size: 18px;
letter-spacing: 0;
}
.lede {
max-width: 680px;
margin: 18px 0 0;
font-size: 18px;
}
.scanForm {
display: grid;
gap: 12px;
align-self: start;
padding: 16px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--panel-2);
}
label {
display: grid;
gap: 7px;
color: var(--muted);
font-size: 13px;
font-weight: 800;
}
input,
select {
width: 100%;
min-height: 42px;
border: 1px solid var(--line);
border-radius: 6px;
background: #0f1210;
color: var(--text);
padding: 0 12px;
font: inherit;
}
.scanForm button {
min-height: 44px;
cursor: pointer;
}
.status {
margin-top: 14px;
padding: 14px 16px;
border-radius: 8px;
}
.status.error {
color: var(--danger);
}
.results {
margin-top: 14px;
}
.hidden {
display: none;
}
.summary {
display: grid;
grid-template-columns: 2fr repeat(3, 1fr);
gap: 1px;
overflow: hidden;
border-radius: 8px;
}
.summary > div {
display: grid;
gap: 4px;
padding: 14px;
background: var(--panel);
}
.label {
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
}
.grid {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
gap: 14px;
margin-top: 14px;
}
article {
padding: 18px;
border-radius: 8px;
}
.wide {
margin-top: 14px;
}
.finding {
display: grid;
grid-template-columns: 70px 1fr;
gap: 12px;
padding: 12px 0;
border-top: 1px solid var(--line);
}
.finding:first-child {
border-top: 0;
}
.badge {
height: 28px;
border-radius: 999px;
display: inline-grid;
place-items: center;
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.badge.ok {
background: rgba(123, 216, 143, 0.16);
color: var(--ok);
}
.badge.warn {
background: rgba(255, 107, 74, 0.14);
color: var(--danger);
}
.badge.info {
background: rgba(244, 197, 66, 0.14);
color: var(--yellow-2);
}
.finding strong,
.finding p {
display: block;
margin: 0;
}
.finding p {
color: var(--muted);
}
pre,
.fileList {
margin: 0;
padding: 14px;
overflow: auto;
border-radius: 6px;
background: #0a0c0b;
border: 1px solid var(--line);
color: #e7e2c7;
}
.fileList {
display: grid;
gap: 6px;
max-height: 280px;
}
@media (max-width: 820px) {
.topbar {
align-items: flex-start;
flex-direction: column;
gap: 12px;
}
.hero,
.grid,
.summary {
grid-template-columns: 1fr;
}
h1 {
font-size: 34px;
}
}