forked from mongodb/docs-sample-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.module.css
More file actions
79 lines (67 loc) · 1.11 KB
/
layout.module.css
File metadata and controls
79 lines (67 loc) · 1.11 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
.navigation {
background: #fff;
border-bottom: 1px solid #eee;
padding: 1rem 2rem;
position: sticky;
top: 0;
z-index: 50;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.navContainer {
max-width: 1200px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: #333;
text-decoration: none;
transition: color 0.2s ease;
}
.logo:hover {
color: #0070f3;
}
.logo:focus {
outline: 2px solid #0070f3;
outline-offset: 2px;
border-radius: 4px;
}
.navLinks {
display: flex;
gap: 2rem;
}
.navLink {
color: #666;
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
padding: 0.25rem 0.5rem;
border-radius: 4px;
}
.navLink:hover {
color: #0070f3;
}
.navLink:focus {
outline: 2px solid #0070f3;
outline-offset: 2px;
border-radius: 4px;
}
/* Responsive design */
@media (max-width: 768px) {
.navigation {
padding: 1rem;
}
.navContainer {
flex-direction: column;
gap: 1rem;
}
.logo {
font-size: 1.25rem;
}
.navLinks {
gap: 1.5rem;
}
}