编辑“WordPress:Codex:Codex CSS

跳转至: 导航、​ 搜索
警告:您没有登录。如果您做出任意编辑,您的IP地址将会公开可见。如果您登录创建一个账户,您的编辑将归属于您的用户名,且将享受其他好处。

该编辑可以被撤销。 请检查下面的对比以核实您想要撤销的内容,然后发布下面的更改以完成撤销。

最后版本 您的文本
第1行: 第1行:
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.
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管理员接受了,会作为一般使用。


<div style="background: #f7f7f7;border: 1px solid #000;margin: 0;padding: 5px;width: 100%;">
<div style="background: #f7f7f7;border: 1px solid #000;margin: 0;padding: 5px;width: 100%;">
<div style="background: #f7f7f7;border: 1px solid #000;margin: 0;padding: 5px;width: 100%;">
== class="basic" ==
== class="basic" ==
<nowiki>
<nowiki>
第21行: 第17行:


<div style="background: #f7f7f7; border: 2px dashed #f00;margin 0; padding: 5px; text-align: center; width: 100%;">
<div style="background: #f7f7f7; border: 2px dashed #f00;margin 0; padding: 5px; text-align: center; width: 100%;">
== class="基本" ==
<nowiki>
.basic {
background: #f7f7f7;
border: 1px solid #000;
margin: 0;
padding: 5px;
width: 100%;
}</nowiki>
</div>
<div style="background: #f7f7f7; border: 2px dashed #f00;margin 0; padding: 5px; text-align: center; width: 100%;">


== class="important" ==
== class="important" ==
第55行: 第33行:


<div style="background: #ccccff; border: 1px dashed #000;margin 0; padding: 5px; text-align: left; width: 100%;">
<div style="background: #ccccff; border: 1px dashed #000;margin 0; padding: 5px; text-align: left; width: 100%;">
== class="重要" ==
<nowiki>
.important {
background: #f7f7f7;
border: 2px dashed #f00;
margin: 0;
padding: 5px;
text-align: center;
width: 100%;
}
</nowiki>
</div>
<div style="background: #ccccff; border: 1px dashed #000;margin 0; padding: 5px; text-align: left; width: 100%;">


== class="code" ==
== class="code" ==
第86行: 第47行:




== class="代码" ==
<nowiki>
.code {
background: #ccccff;
border: 1px dashed #000;
margin: 0;
padding: 5px;
text-align: left;
width: 100%;
}
</nowiki>
Suggest that we have a distinct way of highlighting code examples here.
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 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 :) )
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 :) )
</div>
</div>
想想代码,显示一些完成的操作的时候,php,css以及xhtml都可以在这里显示。代码是同样的颜色,好吗?或者每种代码的颜色不同,更好?我不认为我们需要不同的颜色,因此如果有几个颜色的时候,就需要仔细地挑选。 (将最后两句话看做'no involvement from podz :) )
请注意,您对站长百科的所有贡献都可能被其他贡献者编辑,修改或删除。如果您不希望您的文字被任意修改和再散布,请不要提交。
您同时也要向我们保证您所提交的内容是您自己所作,或得自一个不受版权保护或相似自由的来源(参阅Wordpress-mediawiki:版权的细节)。 未经许可,请勿提交受版权保护的作品!
取消 编辑帮助(在新窗口中打开)