-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathglobal.css
More file actions
51 lines (44 loc) · 1.02 KB
/
global.css
File metadata and controls
51 lines (44 loc) · 1.02 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
@layer base, starlight, theme, components, utilities;
@import '@astrojs/starlight-tailwind';
@import 'tailwindcss/theme.css' layer(theme);
@import 'tailwindcss/utilities.css' layer(utilities);
.service-box {
display: block;
padding: 1.5rem;
border: 1px solid var(--sl-color-gray-5);
border-radius: 0.5rem;
text-decoration: none;
color: inherit;
transition: all 0.2s ease;
height: 100%;
}
.service-box:hover {
border-color: var(--sl-color-accent);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
transform: translateY(-2px);
}
.service-box-content {
height: 100%;
display: flex;
flex-direction: column;
}
.service-box-title {
font-size: 1.125rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
color: var(--sl-color-white);
line-height: 1.4;
}
.service-box-description {
font-size: 0.875rem;
color: var(--sl-color-gray-2);
margin: 0;
line-height: 1.5;
flex-grow: 1;
}
.service-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
margin-top: 2rem;
}