|
本帖最后由 kyletruman 于 2017-5-11 20:04 编辑
CSS加入背景色(同时改了超链接颜色),深蓝词典显示效果不错
- body {font-family: "Helvetica Neue",Helvetica, Arial,"PingFang SC","Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;line-height:1.2em;background-color: #FAFFE9;}
- h4 {color:steelblue;font-size:1.3em;margin-bottom:.3em;margin-top:.3em;}
- a {text-decoration: none;color: rgb(139, 31, 189);}
- #phrase21 .pos {color: rgba(196, 21, 27, .8);margin-bottom: .5em;font-weight: bold;font-style: italic;}
- #phrase21 .prefix , .lang{color:seagreen;font-weight: normal;}
- #phrase21 span.def {display:block;font-size: 95%;}
- #phrase21 {counter-reset: def;}
- #phrase21 span.def:before {counter-increment: def;content: counter(def);margin-right: .4em; color:#333; font-weight: bold;}
- #phrase21 span.def:only-child:before {display:none;}
复制代码
可以查查词条soluble glass(最典型) |
|