Think before you speak, read before you think.

默认主题Twenty Eleven 1.3的blockquote,pre标签

by

in

修改wordpress主题的style.css文件

找到blockquote { ** } 并注释掉

/*注释掉
blockquote {
 font-family: Georgia, "Bitstream Charter", serif;
 font-style: italic;
 font-weight: normal;
 margin: 0 3em;
}
*/

替换为

blockquote { 
 font-family: 微软雅黑,Georgia, "Bitstream Charter", serif;
 font-weight: normal;
 border-left: 4px solid #ccc;
 margin: 0 1em;
}

同理pre替换为

pre {
 background: #f4f4f4;
 font: 13px "Courier 10 Pitch", Courier, monospace;
 line-height: 1.5;
 margin-bottom: 1.625em;
 overflow: auto;
 padding: 0.75em 1.625em;
}

2012年10月添加code样式

code {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 0.4em 0.4em 0.4em 0.4em;
    color: #555555;
    display: inline-block;
    font-size: 0.8em;
    line-height: 1.5em;
    margin: -1px 0;
    padding: 0 0.3em;
}

 


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *