使用谷歌文件发布 wordpress 博客
进入谷歌文件设置,选择博客设置=>编辑信息。
进入谷歌文件设置,选择博客设置=>编辑信息。
主题 Greenery 是以800*600为目标设计的,在1024*768两侧有很多空白。
文章显示的位置太少了。
这次只修改了一下大小,使其可以充分利用1027*768的屏幕大小。增加了文章时间和标签的字体大小。
修改是通过增加 css 和放大图片完成的。增加的 css 是:
[coolcode lang="css" download="my.css"]
body {
font-size:72.5% !important;
}
#wrapper {
width:950px !important;
}
#header {
background-image:url(/files/2008/09/header1.jpg) !important;
}
#content {
width:654px !important;
}
.postmeta {
font-size:12px !important;
}
[/coolcode]
放大的 header 背景图片:

Greenery 主题放大的 header 背景图片
CoolCode 插件是国人的 WordPress 语法高亮插件。内部使用 Text_Highlighter 来处理语法高亮。
官方地址:
http://www.coolcode.cn/show-26-1.html
使用方法:
[coolcode]
[coolcode lang="程序设计语言" linenum="off" download="文件名.扩展名"]
代码
[/coolcode]
[/coolcode]
支持的语言列表:
actionscript
cpp
css
diff
dtd
html
java
javascript
mysql
perl
php
python
ruby
sql
xml