-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (100 loc) · 2.25 KB
/
Copy pathstyles.css
File metadata and controls
114 lines (100 loc) · 2.25 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
:root {
color-scheme: light;
font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
--text: #19233c;
--muted: #5f6f8f;
--card: rgba(255, 255, 255, 0.86);
--primary: #4f46e5;
--primary-dark: #3730a3;
--ring: rgba(79, 70, 229, 0.18);
}
* {
box-sizing: border-box;
}
body {
min-height: 100vh;
margin: 0;
display: grid;
place-items: center;
padding: 2rem;
color: var(--text);
background:
radial-gradient(circle at top left, rgba(99, 102, 241, 0.32), transparent 34rem),
radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.34), transparent 30rem),
linear-gradient(135deg, #f8fbff 0%, #eef2ff 100%);
}
.welcome-card {
width: min(100%, 760px);
padding: clamp(2rem, 6vw, 4.5rem);
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.72);
border-radius: 32px;
background: var(--card);
box-shadow: 0 24px 80px rgba(31, 41, 55, 0.16);
backdrop-filter: blur(18px);
}
.eyebrow {
margin: 0 0 0.75rem;
color: var(--primary);
font-size: 0.9rem;
font-weight: 700;
letter-spacing: 0.22em;
text-transform: uppercase;
}
h1 {
margin: 0;
font-size: clamp(2.3rem, 7vw, 4.6rem);
line-height: 1.1;
}
.intro {
max-width: 34rem;
margin: 1.35rem auto 0;
color: var(--muted);
font-size: clamp(1rem, 2vw, 1.2rem);
line-height: 1.8;
}
.actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 1rem;
margin-top: 2.25rem;
}
.primary-button,
.secondary-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 8.5rem;
padding: 0.9rem 1.4rem;
border-radius: 999px;
font-weight: 700;
text-decoration: none;
transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.primary-button {
color: #fff;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
box-shadow: 0 14px 30px var(--ring);
}
.secondary-button {
color: var(--primary-dark);
background: #fff;
border: 1px solid rgba(79, 70, 229, 0.18);
}
.primary-button:hover,
.secondary-button:hover {
transform: translateY(-2px);
box-shadow: 0 18px 36px rgba(79, 70, 229, 0.2);
}
@media (max-width: 520px) {
body {
padding: 1rem;
}
.welcome-card {
border-radius: 24px;
}
.actions {
flex-direction: column;
}
}