-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathglobal.css
More file actions
110 lines (94 loc) · 2.01 KB
/
global.css
File metadata and controls
110 lines (94 loc) · 2.01 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
@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;
}
/* Search styles */
.searchable-services {
margin-top: 2rem;
}
.search-container {
margin-bottom: 2rem;
}
.search-input-wrapper {
position: relative;
max-width: 600px;
margin: 0 auto;
}
.search-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
width: 1.25rem;
height: 1.25rem;
color: var(--sl-color-gray-3);
pointer-events: none;
z-index: 1;
}
.search-input {
width: 100%;
padding: 1rem 1rem 1rem 3rem;
border: 2px solid var(--sl-color-gray-5);
border-radius: 2rem;
background-color: var(--sl-color-bg-nav);
color: var(--sl-color-white);
font-size: 1rem;
transition: all 0.2s ease;
outline: none;
}
.search-input::placeholder {
color: var(--sl-color-gray-3);
}
.search-input:focus {
border-color: var(--sl-color-accent);
box-shadow: 0 0 0 3px rgba(var(--sl-color-accent-rgb), 0.1);
}
.no-results {
text-align: center;
padding: 2rem;
color: var(--sl-color-gray-2);
}
.no-results p {
margin: 0;
font-size: 1.125rem;
}