-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhero.css
More file actions
131 lines (120 loc) · 4.87 KB
/
Copy pathhero.css
File metadata and controls
131 lines (120 loc) · 4.87 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
/* hero.css */
@font-face {
font-family: 'Gendy';
src: url('assets/fonts/Gendy.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'calcio';
src: url('assets/fonts/calcio.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'surgena';
src: url('assets/fonts/surgena.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'blauer-regular';
src: url('assets/fonts/Blauer-Nue-Regular.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'blauer-extrabold';
src: url('assets/fonts/Blauer-Nue-Extrabold.otf') format('truetype');
font-weight: normal;
font-style: normal;
}
:root{
--bg:#0b0b0b; /* deep black */
--panel:#0f0f0f;
--muted:#9e9e9e;
--accent:#ffffff;
--glass: rgba(255,255,255,0.03);
--glass-2: rgba(255,255,255,0.02);
--radius:14px;
--gap:18px;
}
*{box-sizing:border-box}
html, body {
height: 100%;
margin: 0;
padding-top:-30px;
padding-left: 30px;
padding-right: 30px;
padding-bottom:30px;
background-color: #0b0b0b;
color: var(--accent);
font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
min-height: 100vh;
}
.page-title {
font-family:Gendy, sans-serif;
font-size: 78px; /* Default for desktop */
text-align: left;
}
/* For tablets and below (mobile screens) */
@media (max-width: 768px) {
.page-title {
font-size: 78px; /* Smaller on mobile */
text-align: left;
}
}
/* For very small phones */
@media (max-width: 480px) {
.page-title {
font-size: 70px;
text-align: left;
}
}
.subtitle {font-family:Gendy;}
.app{max-width:1100px;margin:36px auto;padding:28px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand h1{margin:0;font-size:28px;letter-spacing:1px}
.brand .subtitle{margin:4px 0 0;font-size:13px;color:var(--muted)}
.controls{display:flex;gap:12px;align-items:center}
select, input{background:var(--panel);border:1px solid rgba(255,255,255,0.04);color:var(--accent);padding:10px 12px;border-radius:10px;font-size:14px}
input{min-width:280px}
.summary{display:flex;align-items:center;justify-content:space-between;margin:20px 0 8px}
.stats{display:flex;gap:16px}
.stat{background:var(--glass);padding:10px 14px;border-radius:10px;text-align:center}
.stat span{display:block;font-weight:700;font-size:18px}
.hint{color:var(--muted);margin:0 0 0 8px}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 22px}
.chip{padding:8px 12px;border-radius:999px;background:var(--glass-2);border:1px solid rgba(255,255,255,0.02);color:#9E9E9E;cursor:pointer;user-select:none;transition:transform .18s cubic-bezier(.2,.8,.2,1),background .18s}
.chip:hover{transform:translateY(-4px)}
.chip.active{background:#ffffff;color:#000;border-color:rgba(0,0,0,0.06);font-weight:600}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:var(--gap)}
.card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));border-radius:var(--radius);padding:16px;min-height:110px;border:1px solid rgba(255,255,255,0.03);display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:transform .3s cubic-bezier(.2,.9,.3,1),box-shadow .3s,border .3s}
.card:hover {
transform: translateY(-8px) scale(1.02) rotateX(6deg) rotateY(-6deg);
box-shadow: 0 18px 40px rgba(255, 255, 255, 0.25);
border: 2px solid #fff;
}
.card:active{animation:bounce .42s both}
@keyframes bounce{0%{transform:translateY(-6px)}50%{transform:translateY(4px)}100%{transform:translateY(0)}}
.card .meta{display:flex;justify-content:space-between;align-items:center}
.card .os{font-size:12px;color:var(--muted);padding:6px 8px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,0.02)}
.card h3{margin:8px 0 6px;font-size:15px}
.combo{display:flex;gap:8px;flex-wrap:wrap}
.key{padding:6px 8px;border-radius:8px;background:#fff;color:#000;font-weight:600;font-size:13px;border:1px solid rgba(0,0,0,0.06)}
.small{font-size:14px;color:var(--muted)}
.copy{font-size:12px;padding:6px 10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent}
.foot{color:var(--muted);margin-top:26px;text-align:center}
@media (max-width:640px){.controls{flex-direction:column;align-items:flex-start}input{min-width:180px}}
/* subtle focus outlines for accessibility */
[tabindex]:focus,button:focus,input:focus,select:focus{outline:3px solid rgba(255,255,255,0.06);outline-offset:3px}
/* nice entrance */
.grid .card{opacity:0;transform:translateY(18px)}
.grid.loaded .card{animation:pop .45s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes pop{to{opacity:1;transform:translateY(0)}}
/* small utility */
.kv{display:flex;gap:8px;align-items:center}
/* end of style */