Adopt classic C64 blue theme
This commit is contained in:
parent
911eeb0685
commit
6d99012279
1 changed files with 31 additions and 26 deletions
|
|
@ -1,58 +1,63 @@
|
||||||
:root {
|
:root {
|
||||||
color-scheme: dark;
|
color-scheme: dark;
|
||||||
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
|
||||||
background: #121024;
|
--c64-blue: #40318d;
|
||||||
color: #f7f3ff;
|
--c64-light-blue: #7869c4;
|
||||||
|
--c64-lightest-blue: #b8b1e7;
|
||||||
|
--c64-deep-blue: #17113b;
|
||||||
|
--c64-panel-blue: #282064;
|
||||||
|
background: var(--c64-deep-blue);
|
||||||
|
color: #f6f4ff;
|
||||||
}
|
}
|
||||||
|
|
||||||
* { box-sizing: border-box; }
|
* { box-sizing: border-box; }
|
||||||
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #33265d, #121024 42rem); }
|
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, var(--c64-blue), var(--c64-deep-blue) 42rem); }
|
||||||
.site-header { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid #ffffff1c; color: #bdb5dd; }
|
.site-header { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 5vw, 4rem); border-bottom: 1px solid #b8b1e733; color: var(--c64-lightest-blue); }
|
||||||
.brand { color: #fff; font-weight: 800; text-decoration: none; }
|
.brand { color: #fff; font-weight: 800; text-decoration: none; }
|
||||||
main { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }
|
main { width: min(1100px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }
|
||||||
.panel { max-width: 1100px; margin: auto; }
|
.panel { max-width: 1100px; margin: auto; }
|
||||||
.eyebrow { margin: 0 0 .5rem; color: #c9a7ff; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
|
.eyebrow { margin: 0 0 .5rem; color: var(--c64-lightest-blue); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
|
||||||
h1 { margin: 0; font-size: clamp(2rem, 7vw, 4rem); line-height: 1; }
|
h1 { margin: 0; font-size: clamp(2rem, 7vw, 4rem); line-height: 1; }
|
||||||
.lede, .hint { max-width: 780px; color: #c8c1df; font-size: 1.08rem; line-height: 1.65; }
|
.lede, .hint { max-width: 780px; color: #d2cef0; font-size: 1.08rem; line-height: 1.65; }
|
||||||
.status { margin: 2rem 0 1rem; color: #9ce6c2; }
|
.status { margin: 2rem 0 1rem; color: #9ce6c2; }
|
||||||
.library-toolbar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0 0; padding: .75rem; border: 1px solid #ffffff24; border-radius: 12px; background: #17132eef; box-shadow: 0 12px 30px #08061366; backdrop-filter: blur(12px); }
|
.library-toolbar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0 0; padding: .75rem; border: 1px solid #b8b1e738; border-radius: 12px; background: #17113bef; box-shadow: 0 12px 30px #09062180; backdrop-filter: blur(12px); }
|
||||||
.library-toolbar input, .library-toolbar select { height: 42px; padding: 0 .8rem; border: 1px solid #ffffff2b; border-radius: 8px; background: #292344; color: #fff; font: inherit; }
|
.library-toolbar input, .library-toolbar select { height: 42px; padding: 0 .8rem; border: 1px solid #b8b1e740; border-radius: 8px; background: var(--c64-panel-blue); color: #fff; font: inherit; }
|
||||||
.library-toolbar input:focus, .library-toolbar select:focus { border-color: #b58cff; outline: 2px solid #b58cff44; }
|
.library-toolbar input:focus, .library-toolbar select:focus { border-color: var(--c64-light-blue); outline: 2px solid #7869c466; }
|
||||||
.search-field { flex: 1 1 260px; }
|
.search-field { flex: 1 1 260px; }
|
||||||
.search-field input { width: 100%; }
|
.search-field input { width: 100%; }
|
||||||
.view-switcher { display: flex; gap: .25rem; padding: .2rem; border-radius: 8px; background: #0e0c1c; }
|
.view-switcher { display: flex; gap: .25rem; padding: .2rem; border-radius: 8px; background: #100c2c; }
|
||||||
.view-button, .toolbar-button { height: 42px; margin: 0; border: 0; }
|
.view-button, .toolbar-button { height: 42px; margin: 0; border: 0; }
|
||||||
.view-button { min-width: 42px; padding: .4rem; background: transparent; color: #aaa2c8; font-size: 1.2rem; }
|
.view-button { min-width: 42px; padding: .4rem; background: transparent; color: var(--c64-lightest-blue); font-size: 1.2rem; }
|
||||||
.view-button.active { background: #6f4bad; color: #fff; }
|
.view-button.active { background: var(--c64-light-blue); color: #fff; }
|
||||||
.toolbar-button { padding: 0 .9rem; }
|
.toolbar-button { padding: 0 .9rem; }
|
||||||
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
|
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
|
||||||
.program-card { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; padding: 1.25rem; border: 1px solid #ffffff24; border-radius: 14px; background: #211c3bcc; color: #fff; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
|
.program-card { display: flex; min-height: 270px; flex-direction: column; align-items: flex-start; padding: 1.25rem; border: 1px solid #b8b1e733; border-radius: 14px; background: #211a59d9; color: #fff; cursor: pointer; transition: transform .15s, border-color .15s, background .15s; }
|
||||||
.program-card:hover { transform: translateY(-3px); border-color: #b58cff; }
|
.program-card:hover { transform: translateY(-3px); border-color: var(--c64-light-blue); }
|
||||||
.program-card:has(.card-action:hover) { transform: none; background: #252044cc; }
|
.program-card:has(.card-action:hover) { transform: none; background: #29216bd9; }
|
||||||
.type-pill { display: inline-flex; gap: .4rem; align-items: center; padding: .3rem .65rem; border: 1px solid #b58cff55; border-radius: 999px; background: #8d5cff24; color: #d9c7ff; font-size: .75rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
|
.type-pill { display: inline-flex; gap: .4rem; align-items: center; padding: .3rem .65rem; border: 1px solid #b8b1e766; border-radius: 999px; background: #7869c433; color: #d8d3f4; font-size: .75rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
|
||||||
.program-title { margin: 1rem 0 0; font-size: 1.2rem; }
|
.program-title { margin: 1rem 0 0; font-size: 1.2rem; }
|
||||||
.program-description { margin: .55rem 0 0; color: #c8c1df; font-size: .92rem; line-height: 1.45; }
|
.program-description { margin: .55rem 0 0; color: #d2cef0; font-size: .92rem; line-height: 1.45; }
|
||||||
.controls { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
|
.controls { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
|
||||||
kbd { min-width: 1.8rem; padding: .25rem .45rem; border: 1px solid #aaa1c9; border-bottom-width: 3px; border-radius: 5px; background: #f2eff8; color: #241f38; font: 700 .72rem ui-monospace, monospace; text-align: center; }
|
kbd { min-width: 1.8rem; padding: .25rem .45rem; border: 1px solid var(--c64-light-blue); border-bottom-width: 3px; border-radius: 5px; background: #e9e7f7; color: #211a59; font: 700 .72rem ui-monospace, monospace; text-align: center; }
|
||||||
.program-actions { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
|
.program-actions { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.25rem; }
|
||||||
.card-action { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 94px; min-height: 38px; margin: 0; padding: .5rem .75rem; border: 1px solid #a783ef66; border-radius: 8px; background: #302653; color: #e4d8ff; font: inherit; font-size: .84rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
|
.card-action { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 94px; min-height: 38px; margin: 0; padding: .5rem .75rem; border: 1px solid #b8b1e766; border-radius: 8px; background: var(--c64-blue); color: #eeecfa; font: inherit; font-size: .84rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
|
||||||
.card-action:hover { border-color: #c4a6ff; background: #6f4bad; color: #fff; }
|
.card-action:hover { border-color: var(--c64-lightest-blue); background: var(--c64-light-blue); color: #fff; }
|
||||||
.card-action:focus-visible { outline: 3px solid #c4a6ff77; outline-offset: 2px; }
|
.card-action:focus-visible { outline: 3px solid #b8b1e788; outline-offset: 2px; }
|
||||||
.card-action:disabled { opacity: .45; cursor: not-allowed; }
|
.card-action:disabled { opacity: .45; cursor: not-allowed; }
|
||||||
.play-icon { font-size: .78rem; }
|
.play-icon { font-size: .78rem; }
|
||||||
.code-icon { font: 800 .8rem ui-monospace, monospace; }
|
.code-icon { font: 800 .8rem ui-monospace, monospace; }
|
||||||
.program-grid.list-view { grid-template-columns: 1fr; }
|
.program-grid.list-view { grid-template-columns: 1fr; }
|
||||||
.program-grid.list-view .program-card { min-height: 0; display: grid; grid-template-columns: auto minmax(150px, .8fr) minmax(220px, 1.5fr) minmax(180px, 1fr); align-items: center; gap: 1rem; }
|
.program-grid.list-view .program-card { min-height: 0; display: grid; grid-template-columns: auto minmax(150px, .8fr) minmax(220px, 1.5fr) minmax(180px, 1fr); align-items: center; gap: 1rem; }
|
||||||
.program-grid.list-view .program-title, .program-grid.list-view .program-description, .program-grid.list-view .controls, .program-grid.list-view .program-actions { margin: 0; padding: 0; }
|
.program-grid.list-view .program-title, .program-grid.list-view .program-description, .program-grid.list-view .controls, .program-grid.list-view .program-actions { margin: 0; padding: 0; }
|
||||||
.source-modal { width: min(900px, calc(100% - 2rem)); height: min(80vh, 760px); padding: 0; border: 1px solid #ffffff2b; border-radius: 14px; background: #17142b; color: #fff; box-shadow: 0 30px 80px #000a; }
|
.source-modal { width: min(900px, calc(100% - 2rem)); height: min(80vh, 760px); padding: 0; border: 1px solid #b8b1e744; border-radius: 14px; background: var(--c64-deep-blue); color: #fff; box-shadow: 0 30px 80px #000a; }
|
||||||
.source-modal::backdrop { background: #080611cc; backdrop-filter: blur(5px); }
|
.source-modal::backdrop { background: #090621d9; backdrop-filter: blur(5px); }
|
||||||
.modal-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #ffffff1f; background: #17142bf5; }
|
.modal-heading { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid #b8b1e733; background: #17113bf5; }
|
||||||
.modal-heading h2 { margin: 0; }
|
.modal-heading h2 { margin: 0; }
|
||||||
.icon-button { width: 42px; height: 42px; margin: 0; padding: 0; border-radius: 50%; font-size: 1.7rem; line-height: 1; }
|
.icon-button { width: 42px; height: 42px; margin: 0; padding: 0; border-radius: 50%; font-size: 1.7rem; line-height: 1; }
|
||||||
.source-modal > .status { margin: 2rem; }
|
.source-modal > .status { margin: 2rem; }
|
||||||
.source-modal pre { min-height: calc(100% - 82px); margin: 0; padding: 1.5rem; overflow: auto; background: #0c0a17; color: #d9fbdc; font: .92rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: left; white-space: pre; }
|
.source-modal pre { min-height: calc(100% - 82px); margin: 0; padding: 1.5rem; overflow: auto; background: #0d0928; color: #d8d3f4; font: .92rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: left; white-space: pre; }
|
||||||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||||||
.button, button { display: inline-block; margin-top: 1.5rem; padding: .7rem 1rem; border: 1px solid #ffffff2b; border-radius: 8px; background: #302653; color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
|
.button, button { display: inline-block; margin-top: 1.5rem; padding: .7rem 1rem; border: 1px solid #b8b1e744; border-radius: 8px; background: var(--c64-blue); color: #fff; font: inherit; text-decoration: none; cursor: pointer; }
|
||||||
button:disabled { opacity: .5; cursor: wait; }
|
button:disabled { opacity: .5; cursor: wait; }
|
||||||
.player-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
|
.player-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
|
||||||
.player-heading h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
|
.player-heading h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue