-
Notifications
You must be signed in to change notification settings - Fork 4
/
style_3_2.css
140 lines (115 loc) · 1.93 KB
/
style_3_2.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
* {
margin: 0;
padding: 0;
}
* {
box-sizing: border-box;
}
body {
font-size: 10px;
font-family: Helvetica, Arial, sans-serif;
}
h1 {
font-size: 1.6rem;
line-height: 2.0rem;
margin-bottom: 0.2rem;
}
h2 {
font-size: 1.4rem;
}
h3 {
font-size: 1.2rem;
}
p {
font-size: 1.0rem;
}
li {
font-size: 1.0rem;
list-style-type: none;
}
h2, h3, p, li {
line-height: 1.6rem;
margin-bottom: 0.2rem;
}
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;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
visibility: hidden;
clear: both;
}
body {
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: 960px;
margin: 0 auto;
background-color: #fffef9;
}
#firstcolwrap section {
padding: 20px 30px;
color: #fff;
background-color: #4f5555;
}
#secondcolwrap section {
width: 960px;
display: table-row;
}
#secondcolwrap h2 {
width: 160px;
height: 140px;
display: table-cell;
text-align: center;
background-color: #8a8c8e;
border-bottom: 2px solid #a1a3a6;
}
#secondcolwrap ul, #secondcolwrap .skill_wrap, #secondcolwrap .education_wrap, #secondcolwrap .project_wrap {
width: 800px;
height: 140px;
display: table-cell;
border-bottom: 2px solid #a1a3a6;
}
#secondcolwrap section > * {
padding-top: 20px;
padding-left: 10px;
}
#basic_information li, #contact_information li {
float: left;
padding-right: 50px;
}
.inner h3 {
float: left;
}
.inner p {
float: left;
}