-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.css
91 lines (76 loc) · 1.07 KB
/
index.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
*{
margin: 0;
padding: 0;
}
li{
list-style: none;
}
body{
min-width: 1200px;
font-family: consolas,Menlo,PingFang SC,Microsoft YaHei,monospace;
font-size: 16px;
background: #e0e0e0 none repeat scroll 0 0;
}
.container{
width: 950px;
height: 1200px;
margin: 0 auto;
background-color: #eee;
padding: 20px;
}
p, li{
line-height: 1.8;
word-break:break-all;
}
h1, h2{
text-align: center;
margin: 10px 0px;
}
h3, h4{
margin: 10px 0px;
}
aside{
width: 400px;
height: 1200px;
float: left;
background-color: #fff;
}
article{
width: 500px;
height: 1200px;
float: right;
padding: 10px;
}
section header{
padding: 6px 20px;
background-color: #aaa;
border-radius: 3px;
margin: 10px 0;
}
section ul{
padding: 16px;
}
section ol{
padding-left: 28px;
}
section ol li{
list-style-type: decimal;
}
.fa{
margin: 0 0.48em 0 0;
max-width: 16px;
}
.skill{
border-bottom: 1px solid #aaa;
padding: 6px 10px;
}
.skill::before{
width: 6px;
height: 24px;
content: "";
position: relative;
display: inline-block;
left: -10px;
top: 12px;
background-color: #aaa;
}