majorSearch.css
1.1 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
/* 左侧 */
.major_l_box,
.branch_major {
padding: 21px 23px 6px 29px;
background-color: #fff;
margin-bottom: 20px;
}
.major_name {
width: 100%;
}
/* 收藏专业 */
.collect_major {
padding: 6px 18px;
background-color: #409eff;
color: #fff;
border-radius: 3px;
font-size: 14px;
}
.induc_box {
margin: 18px 0 0 0;
}
h2 {
margin-bottom: 16px;
}
h2::after {
height: 0;
}
.subject_induction {
margin: 0 0 10px 10px;
width: 770px;
}
.subject_induction span {
color: #8c9198!important;
}
/* 下属专业 */
.branch_det {
margin-bottom: 20px;
text-align: left;
width: 100%;
}
.branch_det:hover {
background-color: #f1f2f1;
}
h3 {
color: #34485e;
font-size: 16px;
margin-left: -8px;
position: relative;
}
.branch_det:hover h3 {
color: #409eff
}
/* 专业概述 */
.branch_summary {
margin-top: 10px;
color: #8c9198;
font-size: 14px;
line-height: 22px;
text-align: left;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}