feat: adds efficiency calculation for rigs and back pack (WIP). UX cleaned up, graphic added to landing page.
This commit is contained in:
@@ -15,32 +15,69 @@
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
margin: 0;
|
||||
padding: 16px;
|
||||
padding-top: 52px;
|
||||
background-image: url('/assets/onlyscavs.png');
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
background-position: center 65%;
|
||||
}
|
||||
body::before {
|
||||
content: '';
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(14,14,14,0.88);
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
.page {
|
||||
max-width: 980px;
|
||||
margin: 0 auto;
|
||||
padding: 24px 16px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
nav {
|
||||
.site-nav {
|
||||
position: fixed;
|
||||
top: 0; left: 0; right: 0;
|
||||
z-index: 100;
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 16px;
|
||||
font-size: 0.9rem;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 24px;
|
||||
height: 52px;
|
||||
background: rgba(14,14,14,0.92);
|
||||
backdrop-filter: blur(10px);
|
||||
-webkit-backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid rgba(255,255,255,0.06);
|
||||
}
|
||||
nav a {
|
||||
color: var(--muted);
|
||||
.nav-brand {
|
||||
font-size: 0.85rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--accent);
|
||||
text-decoration: none;
|
||||
padding: 4px 0;
|
||||
border-bottom: 2px solid transparent;
|
||||
transition: color 0.15s, border-color 0.15s;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
nav a:hover { color: var(--text); }
|
||||
nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
|
||||
.nav-links {
|
||||
display: flex;
|
||||
gap: 2px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.nav-links a {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
font-size: 0.8rem;
|
||||
padding: 5px 10px;
|
||||
border-radius: 5px;
|
||||
transition: color 0.15s, background 0.15s;
|
||||
}
|
||||
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
|
||||
.nav-links a.active { color: var(--accent); background: rgba(156,207,255,0.08); }
|
||||
h1 {
|
||||
font-size: 1.4rem;
|
||||
margin: 0 0 16px;
|
||||
@@ -228,14 +265,16 @@
|
||||
|
||||
<body>
|
||||
<div class="page">
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/keys" class="active">Keys</a>
|
||||
<a href="/collector">Collector</a>
|
||||
<a href="/quests">Quests</a>
|
||||
<a href="/loadout">Loadout</a>
|
||||
<a href="/meds">Injectors</a>
|
||||
<a href="/barters">Barters</a>
|
||||
<nav class="site-nav">
|
||||
<a class="nav-brand" href="/">OnlyScavs</a>
|
||||
<div class="nav-links">
|
||||
<a href="/keys" class="active">Keys</a>
|
||||
<a href="/collector">Collector</a>
|
||||
<a href="/quests">Quests</a>
|
||||
<a href="/loadout">Loadout</a>
|
||||
<a href="/meds">Injectors</a>
|
||||
<a href="/barters">Barters</a>
|
||||
</div>
|
||||
</nav>
|
||||
<h1>Key Ratings</h1>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user