현재 NoSmokeMoinMoinBsn이 사용하는 default.css는 다음과 같다.
body {
background-color: lightyellow;
color: #000000;
font-family: Times New;
font-size: 10pt;
line-height: 130%;
}
td.headline {
font-family: Helvetica;
font-size: 20pt;
}
h1,h2,h3,h4,h5 {
font-family: Helvetica;
background-color: #EECC99;
padding-left:3pt;
margin-top:2pt;
margin-bottom:8pt;
border-style:none;
border-width:thin;
width:100%;
line-height: 130%;
}
h1 {
font-size: 18pt;
background-color: #DCA452;
}
h2 {
font-size: 16pt;
padding-left:6pt;
background-color: #F6AF6D;
}
h3 {
font-size: 13pt;
padding-left:10pt;
background-color: #FFD6B7;
}
h4 {
font-size: 11pt;
padding-left:14pt;
background-color: #EEDBD6;
}
h5 {
font-size: 9pt;
padding-left:18pt;
background-color: #EEEBF6;
}
a:link {
color: #993306;
}
a:visited {
color: #BB7733;
}
a.nonexistent {
font-weight: bold;
background-color: #F8F8F8;
color: #FF2222;
}
a.nonexistent:visited {
background-color: #F8F8F8;
color: #FF2222;
}
a.external {
color: #AA6600;
}
dl,ul,ol {
margin-top: 1pt;
}
tt,pre {
font-family: Courier New,Courier,monotype;
font-size: 10pt;
line-height: 130%;
}
pre.code {
margin-top: 8pt;
margin-bottom: 8pt;
background-color: #E0E0E0;
white-space:pre;
border-style:none;
border-width:thin;
width:100%;
line-height: 130%;
}
span.diffold,div.diffold {
/*white-space: pre;*/
background-color: #FFFF80;
border-style:none;
border-width:thin;
width:100%;
}
span.diffnew,div.diffnew {
/*white-space: pre;*/
background-color: #80FF80;
border-style:none;
border-width:thin;
width:100%;
/*word-wrap: break-word;*/
}
strong.highlight {
background-color: #FFBBBB;
/* as usual, NetScape fucks up with innocent CSS
border-color: #FFAAAA;
border-style: solid;
border-width: 1pt;
*/
}
table.wiki {
font-size: 10pt;
background-color: #E0F4FF;
border-color:silver;
line-height: 130%;
}
table.closure, tr.closure, td.closure {
background-color: #EFF3CE;
text-align:left;
padding: 5px;
margin: 0px 10px;
border-color:silver;
font-size: 10pt;
line-height: 130%;
}
table.multipleLineCell, tr.multipleLineCell, td.multipleLineCell {
background-color: #EFF3CE;
text-align:left;
padding: 5px;
margin: 0px 10px;
border-color:silver;
font-size: 10pt;
line-height: 130%;
}
span.closure {
background-color: #FFFF99;
line-height: 130%;
}
span.insert_diff {
/*white-space: pre;*/
background-color: #9999FF; //blue;
text-decoration: underline;
}
span.delete_diff {
/*white-space: pre;*/
background-color: red;
text-decoration: line-through;
}
span.replace_diff {
/*white-space: pre;*/
background-color: silver;
}
table.recentchanges {
font-size: x-small;
line-height: 130%;
}
/* begin css for MonthCalendar macro */
/* days without and with pages linked to them */
a.cal-emptyday {
color: #777777;
text-align: center;
}
a.cal-usedday {
font-weight: bold;
color: #000000;
text-align: center;
}
/* general stuff: workdays, weekend, today */
td.cal-workday {
background-color: #DDDDFF;
text-align: center;
}
td.cal-weekend {
background-color: #FFDDDD;
text-align: center;
}
td.cal-today {
background-color: #CCFFCC;
border-style: solid;
border-width: 2pt;
border-color: #336600;
text-align: center;
}
/* invalid places on the monthly calendar sheet */
td.cal-invalidday {
background-color: #CCCCCC;
}
/* links to prev/next month/year */
a.cal-link {
color: #000000;
text-decoration: none;
}
th.cal-header {
background-color: #DDBBFF;
text-align: center;
}
/* end css for MonthCalendar macro */예컨대, 가장 큰 제목(h1)의 색깔을 노란색으로 바꾸고 싶다면 위 부분을 따로 복사한 뒤에, h1 의 background-color 를 yellow로 지정해 준다.
해당 부분만 보면 다음과 같다.
h1 {
font-size: 18pt;
background-color: yellow;
}그 다음 이 바뀐 화일을 자신의 컴퓨터에서 UploadFile을 통해 업로드 한다. 그리고, UserPreferences에서 자신의 css 설정을 /uploads/xxx.css로 바꾸어준다.
혹은 외부의 CSS를 직접 써먹을 수도 있다. NoSmoke의 CSS를 쓰고 싶으면 http://no-smoke.net/ns/default.css
현재 사용가능 css로는 다음의 것들이있다.
/moin/wiki/default.css : 디폴트로 설정되어 있는, ColorForErgonomicDesign의 설정
- /moin/wiki/present.css : 프리젠테이션용 CSS. 어두운배경에 큰글씨사용
BioHackersNet