Spaces:
Sleeping
Sleeping
Download app/static/css/style.css from ChristianOrtig/AVRied: direct link, hf CLI and curl.
- Browser
- Download file 7.83 kB
-
https://huggingface.co/spaces/ChristianOrtig/AVRied/resolve/main/app/static/css/style.css
- Command line
-
hf download hf://spaces/ChristianOrtig/AVRied/app/static/css/style.css
-
curl -L -o style.css https://huggingface.co/spaces/ChristianOrtig/AVRied/resolve/main/app/static/css/style.css
7.83 kB
| :root { | |
| --bg: #f6f7f2; | |
| --bg-alt: #ffffff; | |
| --text: #1f2937; | |
| --muted: #5f6b7a; | |
| --line: #dde3db; | |
| --green: #2f6f5f; | |
| --green-dark: #245548; | |
| --green-soft: #e8f2ec; | |
| --danger: #b64747; | |
| --shadow: 0 10px 30px rgba(31, 41, 55, 0.08); | |
| --radius: 24px; | |
| } | |
| * { box-sizing: border-box; } | |
| html { scroll-behavior: smooth; } | |
| body { | |
| margin: 0; | |
| font-family: Arial, Helvetica, sans-serif; | |
| color: var(--text); | |
| background: var(--bg); | |
| line-height: 1.55; | |
| } | |
| img { max-width: 100%; display: block; } | |
| a { color: inherit; text-decoration: none; } | |
| .container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; } | |
| .narrow { width: min(680px, calc(100% - 32px)); } | |
| .site-header { | |
| background: rgba(255,255,255,0.94); | |
| border-bottom: 1px solid var(--line); | |
| position: sticky; | |
| top: 0; | |
| z-index: 20; | |
| backdrop-filter: blur(10px); | |
| } | |
| .nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; } | |
| .brand { display: flex; align-items: center; gap: 14px; } | |
| .brand-mark { | |
| width: 48px; height: 48px; border-radius: 16px; background: var(--green); | |
| color: white; display: grid; place-items: center; font-weight: 700; | |
| } | |
| .brand-kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); } | |
| .brand-name { font-size: 19px; font-weight: 700; } | |
| .nav { display: flex; gap: 20px; font-size: 15px; color: var(--muted); } | |
| .nav a:hover { color: var(--text); } | |
| .hero { background: linear-gradient(180deg, #ffffff 0%, #f6f7f2 100%); border-bottom: 1px solid var(--line); } | |
| .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; padding: 72px 0 56px; align-items: center; } | |
| .eyebrow { display: inline-block; color: var(--green); text-transform: uppercase; font-size: 13px; letter-spacing: .16em; font-weight: 700; } | |
| h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; } | |
| h1 { font-size: clamp(40px, 6vw, 66px); } | |
| h2 { font-size: clamp(30px, 4vw, 42px); } | |
| h3 { font-size: 22px; } | |
| .hero-text { font-size: 19px; max-width: 720px; color: var(--muted); } | |
| .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; } | |
| .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } | |
| .stat-card, .info-card, .form-card, .photo-card, .winner-card, .admin-card { | |
| border: 1px solid var(--line); background: var(--bg-alt); border-radius: var(--radius); box-shadow: var(--shadow); | |
| } | |
| .stat-card { padding: 18px; } | |
| .stat-card span { display: block; color: var(--muted); font-size: 14px; } | |
| .stat-card strong { display: block; margin-top: 10px; font-size: 28px; } | |
| .visual-card { | |
| min-height: 460px; border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; | |
| background: linear-gradient(140deg, rgba(47,111,95,.18), rgba(255,255,255,.2)), | |
| linear-gradient(180deg, #d9ece3, #eef1f4 48%, #cad7d5 100%); | |
| position: relative; | |
| } | |
| .visual-card::before, | |
| .visual-card::after { | |
| content: ""; position: absolute; left: 0; right: 0; bottom: 0; | |
| } | |
| .visual-card::before { | |
| height: 52%; | |
| background: polygon(0 100%, 14% 62%, 28% 74%, 44% 42%, 59% 78%, 76% 50%, 90% 78%, 100% 62%, 100% 100%); | |
| clip-path: polygon(0 100%, 14% 62%, 28% 74%, 44% 42%, 59% 78%, 76% 50%, 90% 78%, 100% 62%, 100% 100%); | |
| background-color: #2f6f5f; | |
| } | |
| .visual-card::after { | |
| height: 42%; | |
| clip-path: polygon(0 100%, 20% 62%, 37% 80%, 54% 44%, 68% 82%, 82% 56%, 100% 84%, 100% 100%); | |
| background: #234c45; | |
| } | |
| .visual-overlay { | |
| position: absolute; top: 32px; left: 32px; z-index: 1; background: rgba(255,255,255,.88); | |
| border-radius: 22px; padding: 18px 20px; backdrop-filter: blur(8px); | |
| } | |
| .visual-overlay span { display: block; color: var(--green); font-size: 13px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; } | |
| .visual-overlay strong { display: block; font-size: 28px; margin: 6px 0; } | |
| .visual-overlay small { color: var(--muted); font-size: 15px; } | |
| .section { padding: 72px 0; } | |
| .section-alt { background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } | |
| .info-grid, .top3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } | |
| .info-card { padding: 24px; } | |
| .info-card p { color: var(--muted); margin: 0; } | |
| .split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; } | |
| .check-list { padding-left: 18px; color: var(--muted); } | |
| .check-list li { margin-bottom: 10px; } | |
| .form-card { padding: 24px; } | |
| .form-row { display: grid; gap: 14px; margin-bottom: 14px; } | |
| .two-cols { grid-template-columns: repeat(2, 1fr); } | |
| label { display: block; margin-bottom: 14px; } | |
| label span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; } | |
| input, textarea { | |
| width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid #cfd8cf; background: #fff; | |
| font: inherit; color: var(--text); | |
| } | |
| input:focus, textarea:focus { outline: 2px solid rgba(47,111,95,.18); border-color: var(--green); } | |
| .btn { | |
| display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; padding: 14px 18px; | |
| border: 1px solid transparent; font-weight: 700; cursor: pointer; font-size: 15px; | |
| } | |
| .btn-primary { background: var(--green); color: #fff; } | |
| .btn-primary:hover { background: var(--green-dark); } | |
| .btn-secondary { background: #fff; color: var(--text); border-color: var(--line); } | |
| .btn-secondary:hover { background: #f8faf8; } | |
| .btn-danger { background: #fff0f0; color: var(--danger); border-color: #efc3c3; } | |
| .btn-full { width: 100%; } | |
| .section-head { margin-bottom: 24px; } | |
| .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } | |
| .photo-card img, .winner-card img, .admin-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; } | |
| .photo-content, .winner-content { padding: 18px; } | |
| .photo-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; } | |
| .tag { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; } | |
| .votes, .author { color: var(--muted); font-size: 14px; } | |
| .winner-rank { display: inline-block; margin-bottom: 10px; padding: 8px 12px; border-radius: 999px; background: #f2f5ec; color: var(--green); font-weight: 700; font-size: 13px; } | |
| .empty-state { | |
| border: 1px dashed #cdd7cc; border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); background: #fbfcfa; | |
| } | |
| .flash-stack { padding-top: 16px; } | |
| .flash { padding: 14px 18px; border-radius: 16px; margin-bottom: 10px; border: 1px solid var(--line); background: #fff; } | |
| .flash-success { border-color: #bfdecf; background: #edf8f1; } | |
| .flash-error { border-color: #efc3c3; background: #fff2f2; } | |
| .flash-info { border-color: #cbd5e1; background: #f8fafc; } | |
| .site-footer { border-top: 1px solid var(--line); padding: 34px 0 56px; background: #fff; } | |
| .footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; } | |
| .footer-grid p { color: var(--muted); margin: 0; } | |
| .admin-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; } | |
| .admin-grid { display: grid; gap: 18px; } | |
| .admin-card { display: grid; grid-template-columns: 320px 1fr; overflow: hidden; } | |
| .admin-card.compact { grid-template-columns: 180px 1fr; } | |
| .admin-card > div { padding: 18px; } | |
| .admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; } | |
| @media (max-width: 980px) { | |
| .hero-grid, .split-grid, .gallery-grid, .top3-grid, .info-grid, .footer-grid { grid-template-columns: 1fr; } | |
| .stats { grid-template-columns: 1fr; } | |
| .nav { display: none; } | |
| .admin-card, .admin-card.compact { grid-template-columns: 1fr; } | |
| } | |
| @media (max-width: 720px) { | |
| .section { padding: 56px 0; } | |
| .two-cols { grid-template-columns: 1fr; } | |
| .container { width: min(1180px, calc(100% - 24px)); } | |
| .hero-grid { padding-top: 48px; } | |
| } | |