css的中文注解

phpBB 大部分皆是由竹貓星球提供資料!
頭像
yehrussell
忍辱、精進、靜慮、般若波羅密
忍辱、精進、靜慮、般若波羅密
主題中的帖子: 1
文章: 1114
註冊時間: 2006-01-20 , 10:19
個人狀態: 非常忙碌中!
性別: 公仔

css的中文注解

未閱讀文章 yehrussell » 2006-10-08 , 16:30

css的中文注解

http://phpbb-tw.net/phpbb/viewtopic.php?t=29274
原作者 : sakamoto

代碼: 選擇全部

/* 
The original subSilver Theme for phpBB version 2+ 
Created by subBlue design 
http://www.subBlue.com 
*/ 


/* General page style. The scroll bar colours only visible in IE5.5+ */ 
body { 
background-color: #EFF2F8; /*背景顏色*/ 
scrollbar-face-color: #DEE3E7; /*表格列顏色二*/ 
scrollbar-highlight-color: #FFFFFF; /*資料格顏色二*/ 
scrollbar-shadow-color: #DEE3E7; /*表格列顏色二*/ 
scrollbar-3dlight-color: #D1D7DC; /*表格列顏色三*/ 
scrollbar-arrow-color: #006699; /*正常的連結顏色*/ 
scrollbar-track-color: #EFEFEF; /*表格列顏色一*/ 
scrollbar-darkshadow-color: #98AAB1; /*項目標題顏色一*/ 
} 

/* General font families for common tags */ 
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } 
a:link,a:active,a:visited { color : #006699; } /*正常的連結顏色*/ 
a:hover { text-decoration: underline; color : #DD6900; } /*滑鼠移過的連結顏色 (hover)*/ 
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /*表格列顏色三*/ 


/* This is the border line & background colour round the entire page */ 
.bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /*資料格顏色二*//*項目標題顏色一*/ 

/* This is the outline round the main forum tables */ 
.forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /*資料格顏色二*//*項目標題顏色二*/ 


/* Main table cell colours and backgrounds */ 
td.row1 { background-color: #EFEFEF; } /*表格列顏色一*/ 
td.row2 { background-color: #DEE3E7; } /*表格列顏色二*/ 
td.row3 { background-color: #D1D7DC; } /*表格列顏色三*/ 


/* 
This is for the table cell above the Topics, Post & Last posts on the index.php page 
By default this is the fading out gradiated silver background. 
However, you could replace this with a bitmap specific for each forum 
*/ 
td.rowpic { 
background-color: #FFFFFF; /*資料格顏色二*/ 
background-image: url(images/cellpic2.jpg); 
background-repeat: repeat-y; 
} 

/* Header cells - the blue and silver gradient backgrounds */ 
th { 
color: #FFFFFF; font-size: 11px; font-weight : bold; /*字型顏色三*//*字型大小二*/ 
background-color: #006699; height: 25px; /*正常的連結顏色*/ 
background-image: url(images/cellpic3.gif); 
} 

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { 
background-image: url(images/cellpic1.gif); 
background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; /*表格列顏色三*//*項目標題顏色三*/ 
} 


/* 
Setting additional nice inner borders for the main table cells. 
The names indicate which sides the border will be on. 
Don't worry if you don't understand this, just ignore it  
*/ 
td.cat,td.catHead,td.catBottom { 
height: 29px; 
border-width: 0px 0px 0px 0px; 
} 
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { 
font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } /*資料格顏色二*/ 
td.row3Right,td.spaceRow { 
background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } /*表格列顏色三*//*項目標題顏色三*/ 

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } /*font-size: 字型大小三*/ 
th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } 
th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } 
th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } 
th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } 
th.thTop { border-width: 1px 0px 0px 0px; } 
th.thCornerL { border-width: 1px 0px 0px 1px; } 
th.thCornerR { border-width: 1px 1px 0px 0px; } 


/* The largest text used in the index page title and toptic title etc. */ 
.maintitle,h1,h2 { 
font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; /*font-family: "字型種類二",字型種類一,*/ 
text-decoration: none; line-height : 120%; color : #000000; /*color : 文字顏色*/ 
} 


/* General text */ 
.gen { font-size : 12px; } /*字型大小三*/ 
.genmed { font-size : 11px; } /*字型大小二*/ 
.gensmall { font-size : 10px; } /*字型大小一*/ 
.gen,.genmed,.gensmall { color : #000000; } /*color : 文字顏色*/ 
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } /*正常的連結顏色*/ 
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /*滑鼠移過的連結顏色 (hover)/* 


/* The register, login, search etc links at the top of the page */ 
.mainmenu { font-size : 11px; color : #000000 } /*字型大小二*//*文字顏色*/ 
a.mainmenu { text-decoration: none; color : #006699; } /*正常的連結顏色*/ 
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /*滑鼠移過的連結顏色 (hover)*/ 


/* Forum category titles */ 
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}/*字型大小三*/ /*正常的連結顏色*/ 
a.cattitle { text-decoration: none; color : #006699; } /*正常的連結顏色*/ 
a.cattitle:hover{ text-decoration: underline; } 


/* Forum title: Text and link to the forums used in: index.php */ 
.forumlink { font-weight: bold; font-size: 12px; color : #006699; }/*字型大小三*/ /*正常的連結顏色*/ 
a.forumlink { text-decoration: none; color : #006699; } /*正常的連結顏色*/ 
a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /*滑鼠移過的連結顏色 (hover)*/ 


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ 
.nav { font-weight: bold; font-size: 11px; color : #000000;} /*字型大小二*/ /*color : 文字顏色*/ 
a.nav { text-decoration: none; color : #006699; } /*正常的連結顏色*/ 
a.nav:hover { text-decoration: underline; } 


/* titles for the topics: could specify viewed link colour too */ 
.topictitle { font-weight: bold; font-size: 11px; color : #000000; } /*字型大小二*/ /*color : 文字顏色*/ 
a.topictitle:link { text-decoration: none; color : #006699; } /*正常的連結顏色*/ 
a.topictitle:visited { text-decoration: none; color : #5493B4; } /*參?#91;過的連結顏色 (visited)*/ 
a.topictitle:hover { text-decoration: underline; color : #DD6900; } /*滑鼠移過的連結顏色 (hover)*/ 


/* Name of poster in viewmsg.php and viewtopic.php and other places */ 
.name { font-size : 11px; color : #000000;} /*字型大小二*/ /*color : 文字顏色*/ 

/* Location, number of posts, post date etc */ 
.postdetails { font-size : 10px; color : #000000; } /*字型大小一*/ /*color : 文字顏色*/ 


/* The content of the posts (body of text) */ 
.postbody { font-size : 12px;} /*字型大小三*/ 
a.postlink:link { text-decoration: none; color : #006699 } /*正常的連結顏色*/ 
a.postlink:visited { text-decoration: none; color : #5493B4; } /*參?#91;過的連結顏色 (visited)*/ 
a.postlink:hover { text-decoration: underline; color : #DD6900} /*滑鼠移過的連結顏色 (hover)*/ 


/* Quote & Code blocks */ 
.code { 
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; /*字型種類三*//*字型大小二*//*字型顏色二*/ 
background-color: #FAFAFA; border: #D1D7DC; border-style: solid; /*資磌C色一*/ /*表格列顏色三* 
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px 
} 

.quote { 
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; /*字型種類一*//*字型大小二*//*字型顏色一*/ 
background-color: #FAFAFA; border: #D1D7DC; border-style: solid; /*資料格顏色一*/ /*表格列顏色三*/ 
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px 
} 


/* Copyright and bottom info */ 
.copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} /*字型大小一*//*字型種類一*//*字型顏色一*/ 
a.copyright { color: #444444; text-decoration: none;} /*字型顏色一*/ 
a.copyright:hover { color: #000000; text-decoration: underline;} /*color : 文字顏色*/ 


/* Form elements */ 
input,textarea, select { 
color : #000000; /*color : 文字顏色*/ 
font: normal 11px Verdana, Arial, Helvetica, sans-serif; /*字型大小二*//*字型種類一*/ 
border-color : #000000; /*color : 文字顏色*/ 
} 

/* The text input fields background colour */ 
input.post, textarea.post, select { 
background-color : #FFFFFF; /*資料格顏色二*/ 
} 

input { text-indent : 2px; } 

/* The buttons used for bbCode styling in message post */ 
input.button { 
background-color : #EFEFEF; /*表格列顏色一*/ 
color : #000000; /*color : 文字顏色*/ 
font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; /*字型大小二*//*字型種類一*/ 
} 

/* The main submit button option */ 
input.mainoption { 
background-color : #FAFAFA; /*資料格顏色一*/ 
font-weight : bold; 
} 

/* None-bold submit button */ 
input.liteoption { 
background-color : #FAFAFA; /*資料格顏色一*/ 
font-weight : normal; 
} 

/* This is the line in the posting page which shows the rollover 
help line. This is actually a text box, but if set to be the same 
colour as the background no one will know  
*/ 
.helpline { background-color: #DEE3E7; border-style: none; } /*表格列顏色二*/ 


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ 
@import url("formIE.css");

r
在不懂這邊有更詳細的Q&A

http://phpbb-tw.net/phpbb/viewtopic.php?t=29083



版面已鎖定 主題已鎖定

回到「phpBB2」