_share.css
2.19 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
.share-wrapper {
@each $icon in weibo, tweibo, renren, qzone, qq, douban, weixin {
.$(icon) {
background: url(/share/$(icon).png) no-repeat;
}
}
position: relative;
i {
display: block;
float: left;
margin-left: 5px;
width: 16px;
height: 16px;
cursor: pointer;
}
.weixin-share-box {
position: absolute;
top: 22px;
right: -26px;
z-index: 2;
display: none;
padding-top: 9px;
width: 282px;
height: 302px;
text-align: center;
font-family: Microsoft Yahei, Arial, Verdana, sans-serif;
em,
em i {
position: absolute;
width: 0;
height: 0;
border-width: 0 10px 9px;
border-style: dashed dashed solid;
font-size: 0;
}
em {
top: 0;
left: 50%;
margin-left: -10px;
border-color: transparent transparent #d6d6d6;
}
em i {
top: 1px;
left: -15px;
overflow: hidden;
border-color: transparent transparent #e8e8e8;
}
.con {
position: relative;
overflow: hidden;
width: 280px;
height: 300px;
border: 1px solid #d6d6d6;
background-color: #fff;
box-shadow: 0 2px 4px #d1d1d1;
}
h2 {
display: block;
height: 46px;
background-color: #e8e8e8;
color: #000;
font-size: 18px;
line-height: 46px;
}
.pic,
.pic img {
width: 168px;
height: 168px;
}
.pic {
overflow: hidden;
margin: 16px auto;
}
.w {
color: #9f9f9f;
font-size: 13px;
line-height: 20px;
}
.close {
position: absolute;
top: 0;
right: 0;
overflow: hidden;
width: 45px;
height: 45px;
color: #999;
font-size: 16px;
line-height: 45px;
}
}
}