moved html and css out to seperate files.

This commit is contained in:
visionmercer 2026-04-15 09:08:14 +02:00
commit f9cfd3fc3b
5 changed files with 152 additions and 126 deletions

24
static/css/style.css Normal file
View file

@ -0,0 +1,24 @@
:root {
--bg: #0f1117; --surface: #1a1d27; --border: #252836;
--accent: #4f8ef7; --text: #e2e4ef; --muted: #6b7090; --radius: 8px;
}
body { background: var(--bg); color: var(--text); font-family: system-ui; margin: 0; }
header { background: #12151f; border-bottom: 1px solid var(--border); padding: 0 2rem; height: 56px; display: flex; align-items: center; }
.logo { color: var(--accent); font-weight: bold; text-decoration: none; font-family: monospace; }
main { max-width: 1100px; margin: 0 auto; padding: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.1s; position: relative;}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-img { width: 100%; height: 150px; object-fit: cover; background: #000; }
.folder-icon { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: #1c202d; color: #f7c948; }
.iso-icon { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: #12151f; }
.card-body { padding: 1rem; }
.card-name { font-weight: bold; color: var(--accent); margin-bottom: 0.5rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-desc { font-size: 0.8rem; color: var(--muted); height: 3em; overflow: hidden; }
.bc { background: var(--surface); padding: 0.6rem 1rem; border-radius: 4px; margin-bottom: 1.5rem; font-size: 0.85rem; }
.bc a { color: var(--accent); text-decoration: none; }
.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.tbl th { text-align: left; padding: 1rem; background: #1e2132; color: var(--muted); font-size: 0.75rem; }
.tbl td { padding: 1rem; border-bottom: 1px solid var(--border); }
.dl-btn { border: 1px solid var(--accent); color: var(--accent); padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.7rem; text-decoration: none; }
.dl-btn:hover { background: var(--accent); color: #fff; }