-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
138 lines (118 loc) · 6.33 KB
/
Copy pathstyles.css
File metadata and controls
138 lines (118 loc) · 6.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
:root {
color-scheme: dark;
--ink: #f8fafc;
--muted: #aab9c7;
--deep: #0b1118;
--surface: #111b26;
--card: #162534;
--border: #294050;
--accent: #f5bd50;
--accent-strong: #ffd476;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--deep); }
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
background: var(--deep);
color: var(--ink);
font: 16px/1.65 ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--ink); }
a:hover { color: white; }
main { flex: 1 0 auto; }
.hero {
min-height: 30rem;
}
.game-hero {
min-height: 23rem;
background: var(--surface);
border-bottom: 1px solid var(--border);
}
.compact-header, .site-header { background: var(--surface); }
.nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
width: min(72rem, calc(100% - 3rem));
min-height: 4.25rem;
margin: 0 auto;
padding: .85rem 0;
background: transparent;
border-bottom: 1px solid var(--border);
}
.nav a { color: white; font-weight: 700; text-decoration: none; }
.nav .brand { color: var(--accent); letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; }
.nav-links a { padding: .35rem .55rem; border-radius: .4rem; color: var(--muted); font-size: .88rem; transition: background .15s ease, color .15s ease; }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--card); color: var(--ink); }
.hero-content {
display: grid;
justify-items: center;
gap: .8rem;
max-width: 60rem;
margin: 3.25rem auto 0;
padding: 0 1.5rem 3rem;
text-align: center;
}
.title-art { width: min(42rem, 100%); filter: drop-shadow(0 .35rem .2rem rgba(0,0,0,.4)); }
.button {
display: inline-block;
padding: .65rem 1rem;
border: 1px solid rgba(255,255,255,.15);
border-radius: .5rem;
background: var(--accent);
color: #162a32;
font-weight: 800;
text-decoration: none;
box-shadow: 0 .15rem .35rem rgba(0,0,0,.2);
transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.button:hover { background: var(--accent-strong); color: #162a32; box-shadow: 0 .35rem .7rem rgba(0,0,0,.25); transform: translateY(-1px); }
.section { width: min(72rem, calc(100% - 3rem)); margin: 0 auto; padding: 3rem 0; }
.intro { max-width: 50rem; text-align: center; }
h1, h2 { letter-spacing: -.035em; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { margin: 0 0 1rem; color: var(--accent); font-size: clamp(1.35rem, 3vw, 1.75rem); }
.intro p { margin: 1rem 0 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; }
.gallery img { width: 100%; border: 1px solid var(--border); border-radius: .7rem; background: var(--card); box-shadow: 0 .5rem 1.4rem rgba(0,0,0,.22); cursor: zoom-in; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.gallery img:hover { border-color: var(--accent); box-shadow: 0 .8rem 1.8rem rgba(0,0,0,.3); transform: translateY(-.2rem); }
.gallery img:focus-visible { outline: .2rem solid var(--accent); outline-offset: .2rem; }
.portrait-gallery { grid-template-columns: repeat(auto-fit, minmax(12rem, 16rem)); justify-content: center; }
.image-lightbox { width: fit-content; max-width: min(92vw, 76rem); max-height: 92vh; margin: auto; padding: 0; border: 1px solid var(--border); border-radius: .8rem; background: var(--surface); box-shadow: 0 1rem 3rem rgba(0,0,0,.6); }
.image-lightbox::backdrop { background: rgba(4, 16, 21, .82); backdrop-filter: blur(.2rem); }
.image-lightbox-content { position: relative; display: grid; place-items: center; max-width: 100%; max-height: 92vh; padding: 2.75rem .75rem .75rem; }
.image-lightbox img { display: block; max-width: min(88vw, 72rem); max-height: calc(92vh - 3.5rem); object-fit: contain; }
.lightbox-close { position: absolute; top: .55rem; right: .55rem; width: 2rem; height: 2rem; padding: 0; border: 1px solid var(--border); border-radius: .45rem; background: var(--card); color: var(--ink); cursor: pointer; }
.lightbox-close::before, .lightbox-close::after { position: absolute; top: 50%; left: 50%; width: .8rem; height: 2px; background: currentColor; content: ""; }
.lightbox-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.lightbox-close:hover, .lightbox-close:focus-visible { border-color: var(--accent); background: #213447; color: var(--accent-strong); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 24rem)); justify-content: center; gap: 1.5rem; margin-top: 1.5rem; }
.game-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); color: var(--ink); text-align: left; text-decoration: none; box-shadow: 0 .5rem 1.4rem rgba(0,0,0,.22); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.game-card:hover { border-color: var(--accent); color: var(--ink); box-shadow: 0 .8rem 1.8rem rgba(0,0,0,.32); transform: translateY(-.2rem); }
.game-card:focus-visible { outline: .2rem solid var(--accent); outline-offset: .25rem; }
.game-card > img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.game-card-content { flex: 1; padding: 1.25rem; }
.game-card-content h3 { margin: 0; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.game-card-content p { margin-bottom: 0; color: var(--muted); }
.policy { max-width: 52rem; }
.policy h1 { margin-bottom: .2rem; }
.updated { color: var(--muted); margin-top: 0; }
footer { flex: 0 0 auto; display: flex; justify-content: center; align-items: center; gap: 1.5rem; padding: 2rem 1.5rem; border-top: 1px solid var(--border); background: var(--surface); color: var(--muted); }
footer p { margin: 0; }
@media (max-width: 38rem) {
.hero { min-height: 0; }
.game-hero { min-height: 25rem; }
.hero-content { margin-top: 2rem; padding-bottom: 2.5rem; }
.nav { width: min(100% - 2rem, 72rem); min-height: 0; flex-wrap: wrap; justify-content: center; gap: .45rem 1rem; padding: .8rem 0; }
.nav .brand { width: 100%; text-align: center; }
.nav-links { gap: 1rem; }
.nav-links a { font-size: .84rem; }
.section { width: min(100% - 2rem, 72rem); }
footer { flex-direction: column; gap: .25rem; }
}