Skip to content

Commit d169ee7

Browse files
committed
ok?
1 parent 3040782 commit d169ee7

File tree

1 file changed

+48
-70
lines changed

1 file changed

+48
-70
lines changed

apps/angular-app/src/pages/home/home.component.css

Lines changed: 48 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
.hero {
88
text-align: center;
99
padding: 48px 0 64px;
10-
border-bottom: 1px solid var(--md-sys-color-outline-variant, #cac4d0);
10+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
1111
}
1212

1313
.hero h1 {
1414
font-size: 48px;
1515
font-weight: 400;
1616
margin: 0 0 16px;
17-
color: var(--md-sys-color-on-surface, #1d1b20);
17+
color: var(--md-sys-color-on-surface);
1818
}
1919

2020
.subtitle {
2121
font-size: 18px;
22-
color: var(--md-sys-color-on-surface-variant, #49454f);
22+
color: var(--md-sys-color-on-surface-variant);
2323
margin: 0 0 32px;
2424
line-height: 1.6;
2525
}
2626

27-
.button-group {
27+
.button-group,.framework-badges {
2828
display: flex;
2929
gap: 16px;
3030
justify-content: center;
@@ -33,7 +33,7 @@
3333

3434
section {
3535
padding: 48px 0;
36-
border-bottom: 1px solid var(--md-sys-color-outline-variant, #e7e0ec);
36+
border-bottom: 1px solid var(--md-sys-color-outline-variant);
3737
}
3838

3939
section:last-of-type {
@@ -45,51 +45,56 @@ h2 {
4545
font-weight: 400;
4646
margin: 0 0 32px;
4747
text-align: center;
48-
color: var(--md-sys-color-on-surface, #1d1b20);
48+
color: var(--md-sys-color-on-surface);
4949
}
5050

51-
.feature-grid {
51+
.feature-grid,.component-list,.architecture-content,.quick-start-content,.resource-grid {
5252
display: grid;
53-
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
5453
gap: 24px;
54+
}
55+
56+
.feature-grid {
57+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
5558
margin-top: 32px;
5659
}
5760

5861
.feature-card {
5962
padding: 24px;
6063
border-radius: 12px;
61-
background: var(--md-sys-color-surface-variant, #e7e0ec);
64+
background: var(--md-sys-color-surface-variant);
6265
text-align: center;
6366
}
6467

6568
.feature-card .material-symbols-outlined {
6669
font-size: 48px;
67-
color: var(--md-sys-color-primary, #6750a4);
70+
color: var(--md-sys-color-primary);
6871
margin-bottom: 16px;
6972
}
7073

71-
.feature-card h3 {
74+
.feature-card h3,.arch-column h3 {
7275
font-size: 20px;
7376
font-weight: 500;
77+
margin: 0 0 16px;
78+
color: var(--md-sys-color-on-surface);
79+
}
80+
81+
.feature-card h3 {
7482
margin: 0 0 8px;
75-
color: var(--md-sys-color-on-surface, #1d1b20);
7683
}
7784

78-
.feature-card p {
85+
.feature-card p,.component-card p,.arch-column li {
7986
margin: 0;
80-
color: var(--md-sys-color-on-surface-variant, #49454f);
87+
color: var(--md-sys-color-on-surface-variant);
8188
line-height: 1.5;
8289
}
8390

8491
.component-list {
85-
display: grid;
8692
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
87-
gap: 24px;
8893
}
8994

9095
.component-card {
9196
padding: 24px;
92-
border: 1px solid var(--md-sys-color-outline, #79747e);
97+
border: 1px solid var(--md-sys-color-outline);
9398
border-radius: 12px;
9499
display: flex;
95100
flex-direction: column;
@@ -108,11 +113,18 @@ h2 {
108113
gap: 8px;
109114
}
110115

111-
.component-header h3 {
116+
.component-header h3,.quick-start-content h3 {
112117
font-size: 18px;
113118
font-weight: 500;
114119
margin: 0;
115-
color: var(--md-sys-color-on-surface, #1d1b20);
120+
color: var(--md-sys-color-on-surface);
121+
}
122+
123+
.quick-start-content h3 {
124+
margin: 0 0 12px;
125+
}
126+
127+
.component-header h3 {
116128
flex: 1;
117129
}
118130

@@ -121,56 +133,44 @@ h2 {
121133
border-radius: 8px;
122134
font-size: 12px;
123135
font-weight: 500;
124-
background: var(--md-sys-color-secondary-container, #e8def8);
125-
color: var(--md-sys-color-on-secondary-container, #1d192b);
136+
background: var(--md-sys-color-secondary-container);
137+
color: var(--md-sys-color-on-secondary-container);
126138
}
127139

128140
.badge.coming {
129-
background: var(--md-sys-color-tertiary-container, #ffd8e4);
130-
color: var(--md-sys-color-on-tertiary-container, #31111d);
141+
background: var(--md-sys-color-tertiary-container);
142+
color: var(--md-sys-color-on-tertiary-container);
131143
}
132144

133145
.component-card p {
134-
margin: 0;
135-
color: var(--md-sys-color-on-surface-variant, #49454f);
136-
line-height: 1.5;
137146
flex: 1;
138147
}
139148

140-
.demo-buttons {
149+
.demo-buttons,.component-features,.component-actions {
141150
display: flex;
142-
gap: 12px;
143151
flex-wrap: wrap;
144152
}
145153

154+
.demo-buttons {
155+
gap: 12px;
156+
}
157+
146158
.component-features {
147-
display: flex;
148159
gap: 12px;
149-
flex-wrap: wrap;
150160
font-size: 14px;
151-
color: var(--md-sys-color-on-surface-variant, #49454f);
161+
color: var(--md-sys-color-on-surface-variant);
152162
}
153163

154164
.component-actions {
155-
display: flex;
156165
gap: 8px;
157-
flex-wrap: wrap;
158166
margin-top: auto;
159167
}
160168

161169
.architecture-content {
162-
display: grid;
163170
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
164171
gap: 32px;
165172
}
166173

167-
.arch-column h3 {
168-
font-size: 20px;
169-
font-weight: 500;
170-
margin: 0 0 16px;
171-
color: var(--md-sys-color-on-surface, #1d1b20);
172-
}
173-
174174
.arch-column ul {
175175
list-style: none;
176176
padding: 0;
@@ -179,34 +179,23 @@ h2 {
179179

180180
.arch-column li {
181181
padding: 8px 0;
182-
color: var(--md-sys-color-on-surface-variant, #49454f);
183-
line-height: 1.5;
184182
}
185183

186184
.arch-column code {
187-
background: var(--md-sys-color-surface-variant, #e7e0ec);
185+
background: var(--md-sys-color-surface-variant);
188186
padding: 2px 8px;
189187
border-radius: 4px;
190188
font-family: 'Courier New', monospace;
191189
font-size: 14px;
192190
}
193191

194192
.quick-start-content {
195-
display: grid;
196193
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
197-
gap: 24px;
198194
margin-bottom: 24px;
199195
}
200196

201-
.quick-start-content h3 {
202-
font-size: 18px;
203-
font-weight: 500;
204-
margin: 0 0 12px;
205-
color: var(--md-sys-color-on-surface, #1d1b20);
206-
}
207-
208197
pre {
209-
background: var(--md-sys-color-surface-variant, #e7e0ec);
198+
background: var(--md-sys-color-surface-variant);
210199
padding: 16px;
211200
border-radius: 8px;
212201
overflow-x: auto;
@@ -216,35 +205,31 @@ pre {
216205
code {
217206
font-family: 'Courier New', monospace;
218207
font-size: 14px;
219-
color: var(--md-sys-color-on-surface, #1d1b20);
208+
color: var(--md-sys-color-on-surface);
220209
}
221210

222211
.framework-badges {
223-
display: flex;
224212
gap: 12px;
225-
justify-content: center;
226-
flex-wrap: wrap;
227213
}
228214

229215
.framework-badge {
230216
padding: 8px 16px;
231217
border-radius: 16px;
232-
background: var(--md-sys-color-tertiary-container, #ffd8e4);
233-
color: var(--md-sys-color-on-tertiary-container, #31111d);
218+
background: var(--md-sys-color-tertiary-container);
219+
color: var(--md-sys-color-on-tertiary-container);
234220
font-size: 14px;
235221
font-weight: 500;
236222
}
237223

238224
.resource-grid {
239-
display: grid;
240225
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
241226
gap: 16px;
242227
}
243228

244229
.home-footer {
245230
text-align: center;
246231
padding: 48px 0 24px;
247-
color: var(--md-sys-color-on-surface-variant, #49454f);
232+
color: var(--md-sys-color-on-surface-variant);
248233
}
249234

250235
.home-footer p {
@@ -260,20 +245,13 @@ code {
260245
.hero h1 {
261246
font-size: 36px;
262247
}
263-
264248
.subtitle {
265249
font-size: 16px;
266250
}
267-
268251
h2 {
269252
font-size: 28px;
270253
}
271-
272-
.feature-grid,
273-
.component-list,
274-
.architecture-content,
275-
.quick-start-content,
276-
.resource-grid {
254+
.feature-grid,.component-list,.architecture-content,.quick-start-content,.resource-grid {
277255
grid-template-columns: 1fr;
278256
}
279257
}

0 commit comments

Comments
 (0)