-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsecondary.css
More file actions
50 lines (46 loc) · 820 Bytes
/
Copy pathsecondary.css
File metadata and controls
50 lines (46 loc) · 820 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
41
42
43
44
45
46
47
48
49
50
header {
margin-bottom: 3rem;
padding: 1em 15%;
box-shadow: rgba(var(--shadow-shade),var(--shadow-shade),var(--shadow-shade),0.2) 0 0.3rem 1.5rem 0;
}
header #name {
display: block;
float: left;
font-size: 1.3em;
margin: 0;
}
header nav ul {
text-align: right;
}
header nav ul li:last-child a {
margin-right: 0;
}
/* When "NICHOLAS S SELBY" and the nave get too close */
@media only screen and (max-width: 1360px) {
header {
padding: 1em calc((100% - var(--max-w)) / 2);
}
header nav ul li a {
margin: 0 0.3em;
}
}
/* Mobile */
@media only screen and (max-width: 766px) {
header {
padding: 0;
background-color: var(--bg-color);
box-shadow: none;
}
header #name {
font-size: var(--mobile-name-size);
}
h1 {
margin-top: 0;
}
}
/* Print */
@media print {
header {
display: none;
}
}