Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
122 lines (107 loc) · 2.2 KB
/
Copy pathstyle.css
File metadata and controls
122 lines (107 loc) · 2.2 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
:root {
--bg-main: #ffffff;
--bg-card: #f8fafc;
--bg-checked: #2563eb;
--border-light: #e2e8f0;
--border-dark: #cbd5e1;
--text-main: #0f172a;
--text-sub: #64748b;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: var(--bg-main);
color: var(--text-main);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 40px 20px;
}
.page-wrapper {
max-width: 900px;
width: 100%;
text-align: center;
}
h1 {
font-size: 2.5rem;
font-weight: 800;
letter-spacing: -0.025em;
margin-bottom: 8px;
}
.subtitle {
color: var(--text-sub);
font-size: 1.1rem;
margin-bottom: 40px;
}
.feature-card-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 20px;
}
.feature-card {
position: relative;
background: var(--bg-card);
border: 2px solid var(--border-light);
border-radius: 16px;
padding: 28px 24px;
text-align: left;
cursor: pointer;
display: flex;
flex-direction: column;
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.feature-card:hover {
transform: translateY(-4px);
border-color: var(--border-dark);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}
.card-icon {
font-size: 1.5rem;
margin-bottom: 16px;
}
.feature-card h4 {
font-size: 1.15rem;
font-weight: 600;
margin-bottom: 8px;
}
.feature-card p {
color: var(--text-sub);
font-size: 0.9rem;
}
.feature-card input[type='checkbox'] {
appearance: none;
border-width: 2px;
border-color: var(--border-dark);
border-style: solid;
position: absolute;
top: 20px;
right: 20px;
width: 22px;
height: 22px;
background-color: var(--bg-main);
border-radius: 6px;
cursor: pointer;
display: grid;
place-content: center;
}
.feature-card input[type='checkbox']:checked {
background-color: var(--bg-checked);
border-color: var(--bg-checked);
}
.feature-card input[type='checkbox']:checked::after {
content: '✓';
color: var(--bg-main);
font-size: 0.85rem;
font-weight: bold;
}
.feature-card:has(input:checked) {
border-color: var(--bg-checked);
background-color: #f0f5ff;
}