Widget:AllWebReader
<script type="text/javascript"> var nsize = 14; function fontsizeup(){ if (nsize<28){ nsize = nsize + 2; document.getElementById("bodyContent").style.fontSize= nsize+"px"; document.getElementById("zihaoshuchu").innerHTML = nsize+"px"; } }; function fontsizedown(){ if (nsize>10){ nsize = nsize - 2; document.getElementById("bodyContent").style.fontSize= nsize+"px"; document.getElementById("zihaoshuchu").innerHTML = nsize+"px"; } }; function fontsizegoback(){ nsize = 14; document.getElementById("bodyContent").style.fontSize= "14px"; document.getElementById("zihaoshuchu").innerHTML = "14px"; };
function yellowback(){ document.getElementById("bodyContent").style.background = "#ede7da";
document.getElementById("bodyContent").style.color = "#262626"; document.getElementById("contentSub").style.color = "#777777"; document.getElementById("bodyContent").classList.add("bluelink");
}; function greenback(){ document.getElementById("bodyContent").style.background = "#cddfcd";
document.getElementById("bodyContent").style.color = "#262626"; document.getElementById("contentSub").style.color = "#777777"; document.getElementById("bodyContent").classList.add("bluelink");
}; function pinkback(){ document.getElementById("bodyContent").style.background = "#ebcece";
document.getElementById("bodyContent").style.color = "#262626"; document.getElementById("contentSub").style.color = "#777777"; document.getElementById("bodyContent").classList.add("bluelink");
}; function greyback(){ document.getElementById("bodyContent").style.background = "#d0d0d0";
document.getElementById("bodyContent").style.color = "#262626"; document.getElementById("contentSub").style.color = "#777777"; document.getElementById("bodyContent").classList.add("bluelink");
}; function defaultback(){ document.getElementById("bodyContent").style.background = "#fff";/*这里填写原维基的内部背景颜色*/
document.getElementById("bodyContent").style.color = "#333";/*这里填写原维基的字体颜色*/ document.getElementById("contentSub").style.color = "#777777";/*这里填写原维基的副标题颜色*/ document.getElementById("bodyContent").classList.add("originallink");
}; function fontback(){ document.getElementById("bodyContent").style.fontFamily = "Lantinghei SC,Open Sans,Arial,Hiragino Sans GB,Microsoft YaHei,微软雅黑,STHeiti"; }; function fontsong(){ document.getElementById("bodyContent").style.fontFamily = "Times New Roman,SimSun,sans-serif"; }; function fontkai(){ document.getElementById("bodyContent").style.fontFamily = "Times New Roman,Kaiti"; };
var npadding = 0; function paddingup(){ if (npadding<90){ npadding = npadding + 10; document.getElementById("content").style.paddingLeft= npadding+"px"; document.getElementById("content").style.paddingRight= npadding+"px"; document.getElementById("paddingshuchu").innerHTML = npadding+"px"; } }; function paddingdown(){ if (npadding>10){ npadding = npadding - 10; document.getElementById("content").style.paddingLeft= npadding+"px"; document.getElementById("content").style.paddingRight= npadding+"px"; document.getElementById("paddingshuchu").innerHTML = npadding+"px"; } }; function paddinggoback(){ npadding = 0; document.getElementById("content").style.paddingLeft= "0px"; document.getElementById("content").style.paddingRight= "0px"; document.getElementById("paddingshuchu").innerHTML = "0px"; };
</script>
<style>
.bluelink a{
color:#008ADF!important;/*这里填写更改主题后的链接颜色*/
}
.originallink a{
color:#008ADF!important;/*这里填写原站点的链接颜色*/
}
.readerbutton{
margin:0 5px;
display:inline-block;
background-color:rgba(0,0,0,0.1);
border:rgba(255,255,255,0.5) 1px solid;
width:auto;
height:20px;
line-height:12px;
padding:4px;
border-radius:10px;
text-align:center;
font-size:14px;
}
.readerbutton:hover{
margin:0 5px;
display:inline-block;
background-color:rgba(0,0,0,0.1);
border:rgba(0,0,0,0.5) 1px solid;
width:auto;
height:20px;
line-height:12px;
padding:4px;
border-radius:10px;
text-align:center;
font-size:14px;
}
.readerbutton-nobg{
margin:0 5px;
display:inline-block;
background-color:#ede7da;
border:rgba(255,255,255,0.5) 1px solid;
width:20px;
height:20px;
padding:0px;
border-radius:10px;
text-align:center;
color:rgba(0,0,0,0);
}
.readerbutton-nobg:hover{
margin:0 5px;
display:inline-block;
background-color:#ede7da;
border:rgba(0,0,0,0.5) 1px solid;
width:20px;
height:20px;
padding:0px;
border-radius:10px;
text-align:center;
color:rgba(0,0,0,0);
}
.noselect{
-webkit-user-select:none;
-moz-user-select:none;
-o-user-select:none;
user-select:none;
}
.originalfonts{
font-family:Lantinghei SC,Open Sans,Arial,Hiragino Sans GB,Microsoft YaHei,微软雅黑,STHeiti;
}
.wvs6bd-light{
border: 1px solid #E8E8E8; box-shadow: 0px 1px 3px rgba(0,0,0,0.08);
} </style>
默认 - 14px +
默认 黄 绿 粉 灰
默认 - 0px +