WordPress:Codex:Codex CSS

来自站长百科
跳转至: 导航、​ 搜索

The purpose of this page is to document some useful styles for use in Codex to make the pages easier to read. The CSS must validate, and if accepted by the Wiki administrators, will be adopted for general use.

这个网页的目的在于归档一些用于Codex的有用的样式,使得页面更加便于阅读。CSS必须得到确认,而且如果Wiki管理员接受了,会作为一般使用。

class="basic"[ ]

.basic { background: #f7f7f7; border: 1px solid #000; margin: 0; padding: 5px; width: 100%; }



class="基本"[ ]

.basic { background: #f7f7f7; border: 1px solid #000; margin: 0; padding: 5px; width: 100%; }



class="important"[ ]

.important { background: #f7f7f7; border: 2px dashed #f00; margin: 0; padding: 5px; text-align: center; width: 100%; }


class="重要"[ ]

.important { background: #f7f7f7; border: 2px dashed #f00; margin: 0; padding: 5px; text-align: center; width: 100%; }



class="code"[ ]

.code { background: #ccccff; border: 1px dashed #000; margin: 0; padding: 5px; text-align: left; width: 100%; }


class="代码"[ ]

.code { background: #ccccff; border: 1px dashed #000; margin: 0; padding: 5px; text-align: left; width: 100%; } Suggest that we have a distinct way of highlighting code examples here.

假如我们有独特的方式突出这里的代码例子。

It may make pages easier to follow in that the page gets broken up that bit more - it is very f7f7f7 around here. I realise that readability is also an issue though.

网页破环后,更容易修复- it is very f7f7f7 around here。我知道可读性也是个问题。

Thinking about code, there is php, css and possibly xhtml that could be posted here when showing how things are done for example. Would the same colour throughout be good ? Or would a colour each be better ? I don't think we need a colour-fest going on, so if it is more than one, they would need to be carefully chosen. (Take those last two words as meaning 'no involvement from podz :) )

想想代码,显示一些完成的操作的时候,php,css以及xhtml都可以在这里显示。代码是同样的颜色,好吗?或者每种代码的颜色不同,更好?我不认为我们需要不同的颜色,因此如果有几个颜色的时候,就需要仔细地挑选。 (将最后两句话看做'no involvement from podz :) )