forked from bustEXZ/JSQ
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.css
More file actions
40 lines (35 loc) · 706 Bytes
/
Copy pathheader.css
File metadata and controls
40 lines (35 loc) · 706 Bytes
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
header {
background: linear-gradient(30deg, yellow, orange);
padding: 1rem;
margin-bottom: 1rem;
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
h1 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}
nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-content: center;
}
nav a {
text-decoration: none;
margin: 0.5rem;
padding: 0.5rem 1rem;
cursor: pointer;
transition: 0.2s;
}
nav a:hover {
background: #fff;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
}
nav a.active {
background: #fff;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.3) inset;
}