forked from liriliri/eruda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
52 lines (44 loc) · 984 Bytes
/
style.css
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
body, html {
padding: 0;
margin: 0;
}
* {
font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial, sans-serif;
}
header {
position: relative;
z-index: 15;
background: #eda29b;
text-align: center;
color: #fff;
padding: 10px;
font-size: 30px;
box-shadow: 0 2px 2px 0 rgba(0,0,0,.05),0 1px 4px 0 rgba(0,0,0,.2), 0 3px 1px -2px rgba(0,0,0,.1);
}
nav ul {
list-style: none;
padding: 0;
margin: 15px;
}
nav ul li {
background: #f2d367;
width: 50%;
float: left;
}
nav ul li:nth-child(4n), nav ul li:nth-child(4n-3) {
background: #e17555;
}
nav ul li a {
text-align: center;
width: 100%;
height: 100%;
box-sizing: border-box;
display: block;
padding: 10px;
color: #e07556;
font-size: 16px;
text-decoration: none;
}
nav ul li:nth-child(4n) a, nav ul li:nth-child(4n-3) a{
color: #9c3c53;
}