-
// This theme styles the visual editor with editor-style.css to match the theme style. -
add_editor_style();
-
body { -
font : 13px 'Microsoft YaHei', Microsoft YaHei Arial , Lucida Grande, Tahoma , sans-serif ; -
color : #000 ; -
text-shadow : 0px 1px 0px #d1d1d1 ; -
width : 700px ; -
} -
ul li{ -
list-style : square inside ; -
line-height : 24px ; -
} -
h1 { font-size : 18px ; line-height :185%;} -
h2 { font-size : 16px ; line-height :185%;} -
h3 { font-size : 14px ; line-height :185%;} -
ul,ol,dd, pre ,hr { -
margin : 0 0 10px 0; -
} -
p { -
line-height :185%; -
text-indent :2em; -
margin : 0 0 10px 0; -
} -
blockquote { -
width : 660px ; -
color : #4e6384 ; -
line-height : 23px ; -
margin : 5px auto 5px auto ; -
padding : 10px ; -
clear : both ; -
border : 1px solid #ccc ; -
} -
code { -
width : 660px ; -
font : 12px / 17px tahoma , arial , sans-serif ; -
color : #4e6384 ; -
display : block ; -
margin : 5px auto 5px auto ; -
padding : 10px ; -
border-left : 3px solid #8391A7 ; -
border-right : 1px solid #8391A7 ; -
border-top : 1px solid #8391A7 ; -
border-bottom : 1px solid #8391A7 ; -
} -
blockquote td{ -
border-bottom : 1px solid #ccc ; -
padding : 2px ; -
} -
/**Mixed arrangement of pictures and texts**/ -
img.centered { -
display : block ; -
margin-left : auto ; -
margin-right : auto ; -
margin-bottom : 10px ; -
} -
img.alignnone { -
margin : 0 0 10px 0; -
display : inline ; -
} -
img.alignright { -
margin : 0 0 10px 10px ; -
display : inline ; -
} -
img.alignleft { -
margin : 0 10px 10px 0; -
display : inline ; -
} -
.aligncenter { -
display : block ; -
margin-left : auto ; -
margin-right : auto ; -
margin-bottom : 10px ; -
} -
.alignright { -
float : right right ; -
margin : 0 0 10px 10px ; -
} -
.alignleft { -
float : left ; -
margin : 0 10px 10px 0; -
}
-
//Background Preview -
add_editor_style('/css/editor-style.css');
![weinxin](https://zmingcx.com/wp-content/uploads/2019/08/wx.png)