星期一
结合朋友们的建议,重构后的blog作了一些改进
昨晚重构后的blog上线后,收到几条建议。
一是冰淇淋的:
文章内容预览是否可以取消,这样看起来有点乱,没有以前那么一目了然了。个人认为没什么必要,一般看标题就能明白大致意思了,而且我想既然是自己想看的文章,大多都会直接点击进去看。
一是 applewar 的:
- 觉得比原来乱,因为你的字全是黑的,而且标题那么大,给人很挤的感觉。
- 文章概要里,列成1 2 3 4,如果是列表比较好,现在全横在一起了。
冰淇淋的建议我之前也考虑过,不过因为限于标题字数的限制,无法列出所有小标题,所以需要在文章摘要里列出所有的小标题。这正是旧版没有做到的。
结合applewar的建议,作了如下更改:
- 列表标题由16px改为14px;
- 摘要由一行改成多行列表;
- 站点全局行距由 20px 改成 22px
经过这三点修改后,拥挤感明显降低了很多。感谢applewar,也感谢冰淇淋在第一时间的建议:)
CSS限制单行显示
.test { width:定义宽度; white-space:nowrap; overflow:hidden }
white-space:nowrap 为限制单行,尤其用于英文时,这个属性必不可少;
overflow:hidden 如果超出宽度则隐藏。
关于z-blog插件Totoro的“相关设置”问题
第一条是:设置系统审核阈值(默认50,阈值越小越严格,低于0则使游客的评论全进入审核):
我按提示输入负值后(本意为使游客的评论全进入审核),结果这个“相关设置”项就消失了。下载了插件重新安装一下才解决问题。随后在官方论坛上找到相关帖,确实需要重新安装才可以解决。
见:http://bbs.rainbowsoft.org/viewthread.php?tid=26124
ul默认的list-style-type
全局 ul 用了list-style-type:none,要在局部用默认的小实心圆ico,发现是这个:
list-style-type:disc
顺便试了下,实心小方形是 square
English log
A Tale from India
Three fish lived in a pond. One was named Plan Ahead, another was Think Fast, and the third was named Wait and See. One day they heard a fisherman say that he was going to cast his net in their pond the next day.
Plan Ahead said, "I’m swimming down the river tonight!
Think Fast said, "I’m sure I’ll come up with a plan.
Wait and See lazily said, "I just can’t think about it now!"
When the fisherman cast his nets, Plan Ahead was long gone. But Think Fast and Wait and See were caught!
Think Fast quickly rolled his belly up and pretended to be dead. "Oh, this fish is no good!" said the fisherman, and threw him safely back into the water. But, Wait and See ended up in the fish market.
That is why they say, "In times of danger, when the net is cast, plan ahead or plan to think fast!"
印度寓言:三只鱼
翻译:朱高
注:此译文已发布在友吧躺思 http://www.friends8.com/base/200808/1247.shtml
池塘里有三只鱼。一只叫“有备无患”,第二只叫“随机应变”,第三只叫“等等再说”。一天,它们听到风声,一个渔人第二天要来这个池塘撒网。
“有备无患”说:“我得在今晚赶紧游到河里去!”
“随机应变”说:“到时我自有办法。”
“等等再说”懒洋洋的动动嘴:“管它呢,我现在懒得动。”
第二天当渔人撒下渔网时,“有备无患”早已游走,“随机应变”和“等等再说”则入了渔网。
“随机应变”迅速鼓起它的肚皮装死。“哦,这只鱼看起来不太好!”渔人说着就把“随机应变”放回了池塘。而“等等再说”则在鱼市场结束了自己的生命。
感悟:“危难来临前,应早做防备!”
很好,很有感觉,转过去了。谢谢!
回复:现在这种记法,只怕只能选转段落了吧。