-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
283 lines (252 loc) · 6.17 KB
/
Copy pathstyle.css
File metadata and controls
283 lines (252 loc) · 6.17 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
/* =========================================================
HOME OF HOME APPLIANCES — landing page styles
Palette:
--bg-black #0A0A0A page background
--red #E10600 bright red accent (brand)
--red-deep #B30000 red hover/active state
--grey-banner #2B2B2B grey info banner
--grey-line #4A4A4A dividers / muted borders
--white #F5F5F5 primary text on black
Type:
Display/handwriting accent : 'Caveat' (the red italic banner labels + quote)
Body / UI : 'Inter' (everything else)
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');
:root {
--bg-black: #0A0A0A;
--red: #E10600;
--red-deep: #B30000;
--grey-banner: #2B2B2B;
--grey-line: #4A4A4A;
--white: #F5F5F5;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-color: var(--bg-black);
color: var(--white);
font-family: 'Inter', Arial, sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
}
/* ---------- Visible focus state (accessibility) ---------- */
a:focus-visible {
outline: 2px solid var(--red);
outline-offset: 3px;
border-radius: 2px;
}
/* =========================================================
TOP BAR — logo, top right
========================================================= */
.topbar {
display: flex;
justify-content: flex-end;
align-items: center;
padding: 28px 5vw 18px;
}
.logo-slot {
display: flex;
align-items: center;
}
/* Placeholder only — delete once you drop your real logo in */
.logo-placeholder {
font-family: 'Inter', sans-serif;
font-weight: 700;
font-size: 0.85rem;
letter-spacing: 0.12em;
color: var(--grey-line);
border: 1px dashed var(--grey-line);
padding: 10px 18px;
border-radius: 4px;
}
/* =========================================================
GREY INFO BANNER — diagonal-edged strip, 3 sections
========================================================= */
.info-banner {
background-color: var(--grey-banner);
display: flex;
align-items: center;
justify-content: center;
gap: clamp(24px, 6vw, 80px);
padding: 22px 6vw;
position: relative;
/* subtle angled edges so the strip doesn't look like a flat default bar */
clip-path: polygon(0 6px, 100% 0, 100% calc(100% - 6px), 0 100%);
}
.info-item {
display: flex;
align-items: baseline;
gap: 10px;
white-space: nowrap;
}
.info-script {
font-family: 'Caveat', cursive;
font-style: italic;
font-weight: 700;
font-size: clamp(1.6rem, 2.4vw, 2.2rem);
color: var(--red);
line-height: 1;
}
.info-value {
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 1rem;
color: var(--white);
background: rgba(0, 0, 0, 0.25);
padding: 4px 10px;
border-radius: 4px;
min-width: 2.2em;
text-align: center;
}
.info-divider {
width: 1px;
height: 28px;
background-color: var(--grey-line);
}
@media (max-width: 600px) {
.info-banner {
flex-wrap: wrap;
gap: 18px;
clip-path: none;
}
.info-divider {
display: none;
}
}
/* =========================================================
HERO — quote on the left, image slot starting mid-screen
========================================================= */
.hero {
flex: 1;
display: flex;
align-items: center;
gap: 4vw;
padding: clamp(40px, 8vh, 90px) 6vw;
}
.hero-quote-wrap {
flex: 0 0 42%;
display: flex;
align-items: center;
}
.hero-quote {
font-family: 'Caveat', cursive;
font-style: italic;
font-weight: 700;
color: var(--red);
font-size: clamp(2.6rem, 6vw, 5.2rem);
line-height: 1.05;
}
/* Image slot begins around the middle of the screen and runs right */
.hero-image-wrap {
flex: 1 1 58%;
display: flex;
justify-content: center;
align-items: center;
}
/* Placeholder box — remove this and put your <img> in hero-image-wrap */
.image-placeholder {
width: 100%;
max-width: 520px;
aspect-ratio: 4 / 3;
border: 2px dashed var(--grey-line);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--grey-line);
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
letter-spacing: 0.04em;
text-align: center;
padding: 20px;
}
/* If you swap in a real <img>, this keeps it tidy automatically */
.hero-image-wrap img {
width: 100%;
max-width: 520px;
height: auto;
border-radius: 8px;
display: block;
}
@media (max-width: 760px) {
.hero {
flex-direction: column;
text-align: center;
}
.hero-quote-wrap,
.hero-image-wrap {
flex: none;
width: 100%;
}
}
/* =========================================================
FOOTER — bottom-right nav row (Home / News / Posts / Phone)
+ a near-invisible admin login link, hidden in plain sight
========================================================= */
.footer {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 22px;
padding: 20px 5vw 28px;
border-top: 1px solid rgba(74, 74, 74, 0.4);
}
.footer-nav {
display: flex;
align-items: center;
gap: clamp(14px, 2.4vw, 28px);
}
.footer-nav a {
color: var(--white);
text-decoration: none;
font-family: 'Inter', sans-serif;
font-weight: 500;
font-size: 0.92rem;
letter-spacing: 0.02em;
transition: color 0.2s ease;
}
.footer-nav a:hover {
color: var(--red);
}
/* The hidden admin login — a plain dot that only reveals itself as a
link when you hover/focus it. Move .admin-slot anywhere on the page
if you want it tucked somewhere other than the footer corner. */
.admin-slot {
margin-right: auto;
}
.admin-login {
color: var(--grey-line);
text-decoration: none;
font-size: 0.9rem;
padding: 6px 10px;
opacity: 0.5;
transition: color 0.2s ease, opacity 0.2s ease;
}
.admin-login:hover,
.admin-login:focus-visible {
color: var(--red);
opacity: 1;
}
@media (max-width: 600px) {
.footer {
flex-direction: column;
align-items: flex-end;
gap: 14px;
}
.admin-slot {
margin-right: 0;
align-self: flex-start;
}
}