-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.css
108 lines (88 loc) · 1.36 KB
/
main.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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
}
html {
font-size: 10px;
font-family: Helvetica, Arial, sans-serif;
}
h1 {
font-size: 2.4rem;
line-height: 3.6rem;
margin-bottom: 0.6rem;
}
h2 {
font-size: 1.8rem;
}
h3 {
font-size: 1.6rem;
}
p {
font-size: 1.4rem;
}
li {
font-size: 1.3rem;
list-style-type: none;
}
h2, h3, p, li {
line-height: 1.8rem;
margin-bottom: 0.4rem;
}
a {
outline: none;
text-decoration: none;
padding: 2px 1px 0;
}
a:link {
color: inherit;
}
a:visited {
color: #437A16;
}
a:focus {
border-bottom: 1px solid;
background: #BAE498;
}
a:hover {
border-bottom: 1px solid;
background: #CDFEAA;
}
a:active {
background: #265301;
color: #CDFEAA;
}
.wrapper {
height: 100vh;
background-color: #bed742;
background-image: url(https://ws3.sinaimg.cn/large/6f8a2832gy1fqrnfj5nddj21hc0pik7z.jpg);
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;
padding-top: 20px;
}
.main-wrapper {
width: 60%;
box-sizing: border-box;
margin: 0 auto;
padding: 20px 40px 30px;
background-color: #fffef9;
}
.logo h1 {
letter-spacing: 1px;
color: grey;
}
.logo h2 {
letter-spacing: 4px;
font-weight: bold;
}
.logo p {
letter-spacing: 1px;
font-style: italic;
}
.project h3 {
letter-spacing: 1px;
}
.project p {
letter-spacing: 1px;
}