Browse Category

CSS

原装 CSS

自带的中文字体简直瞎眼,换字体前备份一下 style.css



/*
Theme Name: Kotha
Theme URI: http://www.shapedtheme.com/wordpress/themes/kotha-free-responsive-wordpress-blog-theme
Author: ShapedTheme
Author URI: http://shapedtheme.com
Description: Kotha is a super clean & elegant Responsive WordPress Blog Theme. It's perfect
for your personal, travel, lifesty[......]

阅读全文

手工改主题

最近把主题换成了 Kotha ,div 块没阴影很是突兀,纯白的背景更是刺眼,于是开始改 style.css ,记下来备用。

 

重新定义白色:

.white-color{
 background-color: #FAFAFA;
 box-shadow: 0 0 30px #aaaaaa;
 }

 

 

加入自动换行:

 .post .entry-content {width:640px;white-space:normal;word-break:break-all;word-wrap:break-word;overflow:hidden;}

原始代码:


/* === Menu === */
 #header{[......]

阅读全文