fortnite sauce

This commit is contained in:
st5 committed 2026-04-04 12:28:36 -05:00
1 parent 649574ec11
commit 25dd6281ce
6 files changed
+400 -968

No files matched your search

+79 -357
View File
@@ -1,3 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&display=swap');
@font-face {
font-family: "CozetteCrossedSevenVector";
src: url("fonts/CozetteCrossedSevenVector.woff2") format("woff2");
@@ -7,8 +9,7 @@
}
:root {
--bg-1: #04070d;
--bg-2: #0a1021;
--bg: #04070d;
--card: rgba(8, 12, 22, 0.9);
--border: rgba(111, 151, 172, 0.28);
--accent: #8af6c9;
@@ -20,7 +21,7 @@
* {
box-sizing: border-box;
font-family: "CozetteCrossedSevenVector", monospace;
font-family: "Fira Code", monospace;
font-size: 13px;
}
@@ -28,145 +29,89 @@ body {
margin: 0;
min-height: 100vh;
color: var(--text);
background: var(--bg-1);
overflow-x: hidden;
background: var(--bg);
text-transform: lowercase;
}
.orb {
position: fixed;
width: 320px;
height: 320px;
filter: blur(80px);
opacity: 0.25;
pointer-events: none;
}
.orb-left {
top: -80px;
left: -60px;
background: #8fe8d0;
}
.orb-right {
bottom: -120px;
right: -40px;
background: #ffcf70;
.layout,
.stats-layout {
width: min(1140px, 94vw);
margin: 2rem auto;
display: grid;
gap: 1rem;
}
.layout {
width: min(1140px, 94vw);
margin: 2.2rem auto;
display: grid;
grid-template-columns: 1.6fr 1fr;
gap: 1.2rem;
}
.panel {
border: 1px solid var(--border);
background: var(--card);
backdrop-filter: blur(10px);
box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.panel-main {
padding: 1.4rem;
}
.panel-main { padding: 1.2rem; }
.panel-side { padding: 1rem; }
.panel-side {
padding: 1.2rem;
}
.game-head {
.game-head,
.stats-header,
.modal-head,
.level-line,
.perk-actions,
.modal-actions {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.head-actions {
display: flex;
justify-content: space-between;
gap: 0.5rem;
}
.label {
color: var(--accent-2);
text-transform: lowercase;
letter-spacing: 0.14em;
font-size: 0.72rem;
margin: 0 0 0.2rem;
}
h1,
h2 {
margin: 0;
font-family: "CozetteCrossedSevenVector", monospace;
}
h1 {
font-size: clamp(1.35rem, 2vw, 2rem);
}
h2 {
font-size: 1.16rem;
}
.head-actions { display: flex; gap: 0.5rem; }
.label { margin: 0; color: var(--accent-2); letter-spacing: 0.14em; }
h1, h2 { margin: 0; }
.btn {
border: none;
padding: 0.58rem 1.1rem;
font-weight: 700;
font-family: inherit;
color: #052218;
background: var(--accent);
cursor: pointer;
transition: transform 170ms ease, filter 170ms ease;
}
a.btn {
text-decoration: none;
display: inline-flex;
align-items: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(194, 228, 210, 0.2); }
.btn-ghost:hover { filter: brightness(1.12); }
a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.btn-ghost {
color: var(--text);
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(194, 228, 210, 0.2);
}
.btn-ghost:hover {
filter: brightness(1.12);
}
.btn:hover {
transform: translateY(-2px);
filter: brightness(1.05);
}
.stats-grid {
margin-top: 1.15rem;
.stats-grid,
.stats-grid-large,
.perks,
.history-list,
.settings-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.7rem;
gap: 0.55rem;
}
.stat-card {
border: 1px solid rgba(148, 196, 231, 0.24);
padding: 0.66rem;
background: rgba(5, 10, 18, 0.6);
.stats-grid { margin-top: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-grid-large { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat-card,
.perk,
.history-item {
border: 1px solid rgba(130, 160, 188, 0.24);
background: rgba(8, 14, 24, 0.66);
padding: 0.7rem;
}
.stat-card p {
margin: 0;
color: var(--muted);
font-size: 0.8rem;
}
.stat-card p,
.setting-note,
.perk p,
.perk-cost,
.input-wrap span { margin: 0; color: var(--muted); }
.stat-card strong {
font-size: 1.42rem;
display: inline-block;
margin-top: 0.18rem;
}
.stat-card strong { display: inline-block; margin-top: 0.2rem; font-size: 1.3rem; }
.text-shell {
margin-top: 1rem;
@@ -177,51 +122,28 @@ a.btn {
background: rgba(4, 8, 15, 0.72);
padding: 0.95rem;
line-height: 1.8;
font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.word {
padding-right: 0.45rem;
transition: color 100ms ease;
}
.word { padding-right: 0.45rem; transition: color 100ms ease; }
.word.current { color: #d6ff84; }
.word.correct { color: #a8f7bf; }
.word.incorrect { color: var(--bad); text-decoration: underline; text-decoration-thickness: 2px; }
.word.current {
color: #d6ff84;
}
.word.correct {
color: #a8f7bf;
}
.word.incorrect {
color: var(--bad);
text-decoration: underline;
text-decoration-thickness: 2px;
}
.input-wrap {
margin-top: 0.95rem;
display: block;
}
.input-wrap span {
display: block;
margin-bottom: 0.38rem;
color: var(--muted);
font-size: 0.84rem;
}
#typeInput {
.input-wrap { margin-top: 0.95rem; display: block; }
#typeInput,
.settings-grid input,
.settings-grid select {
width: 100%;
border: 1px solid rgba(145, 205, 218, 0.32);
background: rgba(6, 14, 18, 0.86);
color: var(--text);
font-size: 1.04rem;
padding: 0.8rem 0.85rem;
padding: 0.6rem;
outline: none;
}
#typeInput:focus {
#typeInput:focus,
.settings-grid input:focus,
.settings-grid select:focus {
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(159, 255, 169, 0.18);
}
@@ -229,166 +151,30 @@ a.btn {
.results {
margin-top: 1rem;
border: 1px solid rgba(158, 228, 164, 0.32);
padding: 0.9rem;
background: rgba(8, 16, 18, 0.62);
animation: rise 240ms ease;
padding: 0.9rem;
}
@keyframes rise {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.mt-1 { margin-top: 1rem; }
.xp-bar { margin-top: 0.5rem; height: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
#xpFill { height: 100%; width: 0; background: #87f5b0; transition: width 320ms ease; }
.xp-gain { color: #baf1ff; margin-bottom: 0; }
.level-line {
margin-top: 0.35rem;
display: flex;
justify-content: space-between;
color: var(--muted);
font-size: 0.88rem;
}
.xp-bar {
margin-top: 0.5rem;
height: 12px;
width: 100%;
overflow: hidden;
background: rgba(255, 255, 255, 0.12);
}
#xpFill {
height: 100%;
width: 0;
background: #87f5b0;
transition: width 320ms ease;
}
.xp-gain {
color: #baf1ff;
font-size: 0.86rem;
}
.settings-grid {
margin-top: 0.45rem;
display: grid;
gap: 0.45rem;
}
.settings-grid label {
color: var(--muted);
font-size: 0.8rem;
}
.settings-grid input,
.settings-grid select {
width: 100%;
border: 1px solid rgba(145, 205, 218, 0.32);
background: rgba(6, 14, 18, 0.86);
color: var(--text);
font-size: 0.92rem;
padding: 0.56rem 0.62rem;
outline: none;
}
.settings-grid input:focus,
.settings-grid select:focus {
border-color: var(--accent);
}
.setting-note {
margin: 0.2rem 0;
color: #b9f4ff;
font-size: 0.82rem;
}
.perks {
margin-top: 0.7rem;
display: grid;
gap: 0.55rem;
}
.perk {
border: 1px solid rgba(130, 160, 188, 0.24);
padding: 0.7rem;
background: rgba(8, 14, 24, 0.66);
}
.perk h3 {
margin: 0;
font-size: 0.94rem;
}
.perk p {
margin: 0.28rem 0 0;
color: var(--muted);
font-size: 0.82rem;
}
.perk-actions {
margin-top: 0.6rem;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
}
.perk-cost {
color: #c8eecf;
font-size: 0.77rem;
}
.perk-buy {
border: none;
padding: 0.28rem 0.74rem;
font-size: 0.75rem;
font-weight: 700;
font-family: inherit;
cursor: pointer;
background: #b6f8ba;
color: #193027;
}
.perk-buy:disabled {
cursor: not-allowed;
opacity: 0.44;
}
.perk .status {
margin-top: 0.44rem;
display: inline-block;
padding: 0.18rem 0.54rem;
font-size: 0.72rem;
letter-spacing: 0.03em;
}
.status.locked {
background: rgba(255, 255, 255, 0.12);
color: #c0ccc6;
}
.status.unlocked {
background: rgba(167, 255, 141, 0.18);
color: #b9ffad;
}
.status.active {
background: rgba(255, 231, 118, 0.2);
color: #ffe58f;
}
.perk-buy { border: none; padding: 0.28rem 0.74rem; cursor: pointer; background: #b6f8ba; color: #193027; }
.perk-buy:disabled { cursor: not-allowed; opacity: 0.44; }
.status { margin-top: 0.44rem; display: inline-block; padding: 0.18rem 0.54rem; }
.status.locked { background: rgba(255, 255, 255, 0.12); color: #c0ccc6; }
.status.unlocked { background: rgba(167, 255, 141, 0.18); color: #b9ffad; }
.status.active { background: rgba(255, 231, 118, 0.2); color: #ffe58f; }
.modal {
position: fixed;
inset: 0;
z-index: 20;
padding: 1rem;
background: rgba(2, 4, 10, 0.72);
display: grid;
place-items: center;
z-index: 20;
padding: 1rem;
}
.modal-card {
@@ -398,76 +184,12 @@ a.btn {
padding: 1rem;
}
.modal-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.6rem;
margin-bottom: 0.5rem;
}
.modal-actions {
margin-top: 0.7rem;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
}
[hidden] {
display: none !important;
}
.stats-layout {
width: min(1040px, 94vw);
margin: 2rem auto;
display: grid;
gap: 1rem;
}
.stats-header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 0.8rem;
}
.stats-grid-large {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.8rem;
}
.history-list {
margin: 0;
padding: 0;
list-style: none;
display: grid;
gap: 0.5rem;
}
.history-item {
border: 1px solid rgba(130, 160, 188, 0.24);
padding: 0.62rem;
background: rgba(8, 14, 24, 0.66);
font-size: 0.9rem;
color: var(--text);
}
[hidden] { display: none !important; }
.history-list { margin: 0; padding: 0; list-style: none; }
@media (max-width: 980px) {
.layout {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-grid-large {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.head-actions {
flex-wrap: wrap;
justify-content: flex-end;
}
.layout { grid-template-columns: 1fr; }
.stats-grid,
.stats-grid-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.head-actions { flex-wrap: wrap; justify-content: flex-end; }
}