-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
145 lines (127 loc) · 2.5 KB
/
shared.css
File metadata and controls
145 lines (127 loc) · 2.5 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
:root {
--primary: #3b82f6;
--surface: #ffffff;
--bg: #f8fafc;
--border: #e2e8f0;
--text: #334155;
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background-color: var(--bg);
color: var(--text);
min-height: 100vh;
}
/* Nav */
.app-nav {
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
position: sticky;
top: 0;
z-index: 50;
}
.nav-inner {
max-width: 1200px;
margin: 0 auto;
padding: 0 1rem;
height: 60px;
display: flex;
align-items: center;
gap: 2rem;
}
.brand {
font-weight: 700;
font-size: 1.1rem;
color: #0f172a;
text-decoration: none;
letter-spacing: -0.02em;
}
.links {
display: flex;
gap: 1rem;
overflow-x: auto;
scrollbar-width: none; /* Firefox */
}
.links::-webkit-scrollbar { display: none; }
.link {
text-decoration: none;
color: #64748b;
font-size: 0.9rem;
font-weight: 500;
white-space: nowrap;
transition: color 0.2s;
}
.link:hover {
color: var(--primary);
}
/* Layout */
.app-shell {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1rem;
}
.category-section {
margin-bottom: 3rem;
}
.category-title {
font-size: 1.25rem;
font-weight: 700;
color: #1e293b;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #e2e8f0;
display: inline-block;
}
/* Grid */
.hub-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1.5rem;
}
.hub-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: 12px;
padding: 1.5rem;
text-decoration: none;
color: inherit;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
gap: 0.5rem;
box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.hub-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
border-color: var(--primary);
}
.hub-card h3 {
margin: 0;
font-size: 1.1rem;
color: #0f172a;
}
.hub-card p {
margin: 0;
font-size: 0.9rem;
color: #64748b;
line-height: 1.5;
}
.pill {
display: inline-block;
padding: 4px 12px;
background: #eff6ff;
color: var(--primary);
border-radius: 99px;
font-size: 0.75rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.footer-note {
text-align: center;
color: #94a3b8;
font-size: 0.85rem;
margin-top: 4rem;
}