重构后的代码:
```css
.xl_tit6_r{
float: right;
color: #d8d8d8;
max-width: 45%;
}
.xl_tit6_r span{
padding: 0 20px;
cursor: pointer;
height: 36px;
}
.xl_tit6_r label{
float: left;
display: block;
line-height: normal;
}
.xl_tit6_r span.share{
position: relative;
padding-right: 5px;
}
.xl_tit6_r .share_con{
position: absolute;
right: 0;
top: 36px;
width: 121px;
display: none;
z-index: 999;
}
.xl_tit6_r span.share:hover .share_con{
display: block;
}
.xl_tit6_r .share_con ul{
padding: 4px 12px;
background-color: #ffffff;
border: 1px solid #ebebeb;
border-radius: 5px;
}
.xl_tit6_r .share_con li{
padding: 10px 0px;
text-align:left;
border-bottom:1px solid #ebebeb;
}
.xl_tit6_r .share_con li.bor_bo{
border-bottom:0;
}
```
重构后的代码如下:
```css
.bshare-custom .bshare-weixin,
.bshare-custom .bshare-sinaminiblog,
.bshare-custom .bshare-qzone {
background: url(/cms/templates/830544232942910000/images/top_logos_sprite.png) no-repeat;
display: inline-block;
}
.bshare-custom .bshare-weixin {
background-position: 0 -270px;
}
.bshare-custom .bshare-sinaminiblog {
background-position: 0 -234px;
}
.bshare-custom .bshare-qzone {
background-position: 0 -270px;
}
.bshare-custom a:hover,
.bshare-custom a:focus {
text-decoration: none;
}
.wx_dialog{
background: #fff;
border: 1px solid #ccc;
position: fixed;
left: 42%;
top: 30%;
padding: 5px;
z-index: 10;
}
.wx_dialog h3{ font-size:12px; font-weight:bold; text-align:left; margin:10px auto;} /*分享标题样式*/ /*微信对话框*/ /*内容样式*/ */
以下是重构后的代码,并保持了原有的段落结构:
```css
.wx_dialog {
line-height: 16px;
height: 16px;
position: relative;
}
.wx_dialog .bd_weixin_popup_close {
width: 16px;
height: 16px;
position: absolute;
right: 0;
top: 0;
color: #999;
text-decoration: none;
font-size: 16px;
}
.wx_dialog .wx_erm{
padding:20px;
}
.wx_dialog .bd_weixin_popup_foot {
font-size: 12px;
text-align: left;
line-height: 22px;
color: #666;
}
```