forked from mongodb/docs-sample-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.module.css
More file actions
95 lines (82 loc) · 1.36 KB
/
home.module.css
File metadata and controls
95 lines (82 loc) · 1.36 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
/**
* Home Page Styles
*
* Styles specific to the home/landing page
*/
.page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 2rem;
text-align: center;
}
.main {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
max-width: 600px;
}
.title {
font-size: 3rem;
font-weight: 700;
color: #333;
margin: 0;
letter-spacing: -0.025em;
}
.description {
font-size: 1.25rem;
color: #666;
margin: 0;
line-height: 1.6;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 1rem 2rem;
font-size: 1.1rem;
font-weight: 600;
color: white;
background: #0066cc;
border: none;
border-radius: 8px;
text-decoration: none;
transition: all 0.2s ease;
cursor: pointer;
min-width: 180px;
}
.button:hover {
background: #0052a3;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}
.button:active {
transform: translateY(0);
}
/* Responsive Design */
@media (max-width: 768px) {
.title {
font-size: 2.5rem;
}
.description {
font-size: 1.1rem;
}
.page {
padding: 1rem;
}
}
@media (max-width: 480px) {
.title {
font-size: 2rem;
}
.description {
font-size: 1rem;
}
.button {
padding: 0.875rem 1.5rem;
font-size: 1rem;
}
}