这段代码,主要用于给标题转换默认样式,其他的可以自行修改参考
/*标题*/ #cnblogs_post_body h2 { background: none repeat scroll 0% 0% rgb(43, 102, 149); border-radius: 6px 6px 6px 6px; box-shadow: 0px 0px 0px 1px rgb(95, 90, 75), 1px 1px 6px 1px rgba(10, 10, 0, 0.5); color: rgb(255, 255, 255); font-family: "微软雅黑","宋体","黑体",Arial; font-size: 17px; font-weight: bold; height: 25px; line-height: 25px; margin: 15px 0px !important; padding: 5px 0px 5px 20px; text-shadow: 2px 2px 3px rgb(34, 34, 34); 98%; } #cnblogs_post_body h2 a{ color: rgb(235, 235, 235); } #cnblogs_post_body h2 a:hover{ color: rgb(255, 102, 0); }