-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
226 lines (219 loc) · 4.25 KB
/
Copy pathstyle.css
File metadata and controls
226 lines (219 loc) · 4.25 KB
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
body{
background-color: #E2F2FC;
font-family: Arial; /* 字体是可继承属性, 可以直接放到body */
}
#blueBorder{
background-color: #2196F3;
width: 780px; /* content width*/
height: 600px; /* content height*/
margin: 0 auto;
padding: 40px 70px;
}
#main{
background-color: #FFFFFF;
border: 3px solid #FFFFFF;
border-radius:7px;
width: calc(100% - 6px); /* 也可以直接写654px */
height: 594px;
/* width: 100%; 因为box-sizing是content-box, 所以这里的100%宽就是660px, 没给border留空间 */
}
/* 头部 */
#head{
height: 44px;
line-height: 44px; /* 重要!!! 高为44px, 让头部的内容垂直居中 行高也设置为44px */
border-bottom: 1.5px solid #f5f0f0;
padding: 10px 40px;
}
.inlineDiv{
display: inline-block;
vertical-align: middle; /* 重要!!! 让所有的inline-block以中心线对其 */
}
/* logo部分 */
#logoArea{
width: 28px;
height: 28px;
}
#blueCircle{
width: 28px;
height: 28px;
border-radius: 50%;
background-color: #2196F3;
position: relative;
}
#whiteCircle{
/* 设置在父元素中居中 */
position: absolute;
top: 50%;
left: 50%; /* top/left 百分比相对于父元素的宽高 */
transform: translate(-50%, -50%); /* 相对于自身元素的宽高 */
width: 14px;
height: 14px;
border-radius: 7px;
background-color: #FFFFFF;
}
.Kodecolor{
/* width: 80px; 文本一般情况下可以不设置宽高,除非限定的非常死 */
/* height: 14px; */
/* padding: 15px 25px 15px 0; */
margin: 0 25px 0 5px;
/* transform: translate(0,-18px); 骚操作,一般不要这么做*/
font-weight: bold;
font-size: 14px;
font-family: Arial;
}
/* 搜索框 */
.inputArea{
height: 28px;
line-height: 28px;
border: 1px solid #f5f0f0;
margin-right: 10px;
}
.image{
width: 16px;
height: 16px;
padding: 6px;
}
.input{
width: 150px;
height: 28px;
position: relative;
margin-top: 0;
}
.input:empty::before {
content: attr(placeholder);
font-size: 8px;
font-family: Arial;
color: #cdcdcd;
text-align: left;
}
.navigateBar{
font-size:11px;
font-weight: bold;
margin-left: 12px;
margin-right: 12px;
color: #504f4f;
}
#messageCount{
width: 22px;
height: 22px;
line-height: 22px;
margin-left: 5px;
text-align: center;
color: #048dfd;
background-color: #d3e7f8;
}
.avatar{
width: 36px;
height: 36px;
border-radius: 50%;
}
/* main body */
.leftArea{
width: calc(30% - 45px);
height: 485px;
padding: 20px 20px 25px 40px;
}
.rightArea{
width: calc(70% - 80px);
height: 485px;
padding: 20px 40px 25px 20px;
}
.verticalDiv{
width: 100%;
margin-top:12px;
margin-bottom: 12px;
}
.grayText{
color: #c0c0c0;
font-size: 10px;
margin-top: 4px;
}
.seperateBox{
width: 100%;
height:10px;
line-height: 10px;
}
.seperateTitle{
width:20%;
height: 100%;
margin-right: 3px;
font-size: 10px;
}
.seperateLine{
width: calc(80% - 8px);
height: 100%;
border-bottom: 1.5px solid #f5f0f0;
}
.blueBlock{
text-align: center;
color: #048dfd;
background-color: #d3e7f8;
height: 22px;
line-height: 22px;
margin-left: 5px;
font-size: 12px;
font-weight: bold;
padding: 1px 8px;
}
.workTitile{
font-weight: bold;
font-size: 14px;
color: #504f4f;
}
.skillsLabel{
margin-top: 15px;
font-weight: bold;
font-size: 10px;
color: #504f4f;
}
.infoBox{
line-height: 17px;
margin-top: 12px;
}
.name{
font-weight: bold;
font-size: 17px;
}
.icon{
width: 12px;
height: 12px;
padding: 4px 1px 4px 8px;
}
.bookmark{
width: 14px;
height: 14px;
padding: 5px 3px 3px 3px;
margin-left: 168px;
}
.blueText{
color: #2196F3;
font-size: 12px;
}
.rankings{
margin-top: 20px;
}
.score{
margin-top: 5px;
}
.icon-star{
width: 14px;
height: 14px;
padding: 0 1px;
}
.btnBox{
margin-top: 20px;
line-height: 24px;
font-size: 12px;
vertical-align: middle;
}
.msgBox{
margin-right: 15px;
}
.contractBox{
margin-right: 15px;
background-color: #E2F2FC;
padding: 3px 10px ;
}
.reportUser{
color: #c0c0c0;
}