sundeep-news-scan/static/style.css

158 lines
3.3 KiB
CSS

* { box-sizing: border-box; }
body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
background: #faf8f3;
color: #222;
line-height: 1.55;
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
header {
background: #fff;
border-bottom: 1px solid #e7e3d8;
padding: 16px 0;
margin-bottom: 32px;
}
header .wrap {
display: flex; align-items: baseline; gap: 16px;
}
.brand {
font-size: 20px;
font-weight: 600;
color: #222;
text-decoration: none;
}
.tag { color: #888; font-size: 13px; }
main { min-height: 60vh; }
.card {
background: #fff;
border: 1px solid #e7e3d8;
border-radius: 10px;
padding: 24px;
margin-bottom: 24px;
}
h1 { margin: 0 0 8px; font-size: 22px; }
h2 { margin: 0 0 12px; font-size: 18px; }
p { margin: 0 0 12px; }
.muted { color: #888; font-size: 14px; }
form label { display: block; margin: 12px 0 6px; font-weight: 500; }
form label span { display: block; font-size: 14px; margin-bottom: 4px; }
.row { display: flex; gap: 16px; }
.row > label { flex: 1; }
input[type="file"], input[type="number"] {
width: 100%;
padding: 10px;
border: 1px solid #d9d4c4;
border-radius: 6px;
background: #fff;
font: inherit;
}
button {
margin-top: 16px;
padding: 10px 18px;
background: #2c2c2a;
color: #fff;
border: 0;
border-radius: 6px;
font: inherit;
cursor: pointer;
}
button:hover { background: #444; }
.btn {
display: inline-block;
padding: 8px 14px;
background: #2c2c2a;
color: #fff;
text-decoration: none;
border-radius: 6px;
font-size: 14px;
}
.btn:hover { background: #444; }
table { width: 100%; border-collapse: collapse; }
th, td {
padding: 10px 8px;
text-align: left;
border-bottom: 1px solid #f0ece1;
}
th { font-size: 13px; color: #888; font-weight: 500; }
code { background: #f4f0e4; padding: 1px 5px; border-radius: 3px; font-size: 13px; }
.status {
display: inline-block;
padding: 2px 8px;
border-radius: 999px;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.04em;
font-weight: 500;
}
.status-queued, .status-running { background: #ffeebb; color: #7a4500; }
.status-done { background: #d8ecd0; color: #205820; }
.status-error { background: #fbd9d4; color: #842018; }
.status-unknown { background: #e4e4e4; color: #555; }
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
}
.art {
border: 1px solid #e7e3d8;
border-radius: 8px;
overflow: hidden;
background: #fff;
display: flex;
flex-direction: column;
}
.art-img {
background: #f4f0e4;
max-height: 220px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.art-img img {
max-width: 100%;
max-height: 220px;
display: block;
}
.art-meta {
padding: 12px;
font-size: 14px;
display: flex;
flex-direction: column;
gap: 6px;
}
.dateline {
font-size: 12px;
color: #2a6;
background: #eaf6ee;
padding: 4px 8px;
border-radius: 4px;
display: inline-block;
}
.head {
font-size: 14px;
color: #333;
font-weight: 500;
/* Telugu text may render in a fallback font; just leave native */
}
.art-meta .row a {
font-size: 13px;
color: #2c2c2a;
text-decoration: none;
padding: 4px 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.art-meta .row a:hover { background: #f0ece1; }
footer { color: #888; font-size: 13px; margin: 48px 0 24px; }