[風格] softblu風格中,文字顏色的問題......(已解決)

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

[風格] softblu風格中,文字顏色的問題......(已解決)

文章 233062306 »

誰入了版面後....
主題文字的顏色是白色.....
不太好看....
想換成其他顏色....
去了後台風格編輯了一整天....
依然不知道哪個文字設定是有用的-.-

圖檔

也可以去http://2306zone.t35.com/index.php
最後由 233062306 於 2005-08-07 03:22 編輯,總共編輯了 1 次。
吉川拓也
竹貓忠實會員
竹貓忠實會員
文章: 1215
註冊時間: 2003-02-09 18:24
來自: [ G.I.T ]
聯繫:

文章 吉川拓也 »

你應該改 css 才對 :-D
善用 搜尋 可以解決您 90% 的問題
頭腦清晰,選擇正確。 (╯▔︹▔)╯~╘═╛
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

css是什麼........= =
我真笨....第一次聽css這個名........

請問大大在哪裡可以找到css.....之後修改.......
sakamoto
版面管理員
版面管理員
文章: 350
註冊時間: 2003-02-13 17:36
來自: scratch
聯繫:

文章 sakamoto »

到你的風格資料夾裡面有一個是xxx.css打開他就可以改了
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

softblue.css中有千多個顏色設定......
不知道哪個才是控制主題文字的顏色.....

如果大大不介意的話.....
幫我看一看.........
感激呀....^^ :?: :!:

/*
The SoftBlue Theme for phpBB version 2+
Created by: Sigma12
*/


/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
font-family: Arial, Tahoma, Verdana, sans-serif; font-size: 11px; color: #000000; margin:0px;padding:0px;
background-color: #9BBBDA;
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, Tahoma, Arial, sans-serif ; font-size: 11px; color: #000000; }
a:link,a:active,a:visited { color : #000000; }
a:hover { text-decoration: underline; color : #222222; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}


/* This is the border line & background colour round the entire page */
.bodyline { }

/* This is the outline surrounding the main blocks */
.forumlinemain { background-color: #97B9DA; border: 1px #585889 solid; padding: 4px; width: 100%; margin-bottom: 2px; }

/* This is the outline round the main forum tables */
.forumline { background-color: #585889; }

.logo { background-image: url(images/logo_phpBB_bg.gif); }


/* Main table cell colours and backgrounds */
td.row1 { background-color: #ABC5E2; }
td.row2 { background-color: #92B6D8; background-image: url(images/forum_bg.jpg); background-repeat: repeat-y;}
td.row3 { background-color: #BDD1E8; }


/*
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: #000000; font-size: 10px; font-weight : bold;
background-color: #000000; 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; 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; height: 25px; }
td.row3Right,td.spaceRow {
background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thBottom,td.catBottom { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thTop { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thCornerL { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }
th.thCornerR { border-left: solid 1px #E1EAF4; border-top: solid 1px #E1EAF4; }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2 {
font-weight: bold; font-size: 22px; font-family: Arial, Tahoma, Verdana, sans-serif;
text-decoration: none; line-height : 120%; color : #000000;
}


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #444444; text-decoration: underline; }


/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 10px; color : #000000 }
a.mainmenu { text-decoration: none; color : #006699; }
a.mainmenu:hover{ text-decoration: underline; color : #444444; }


/* Forum category titles */
.cattitle { font-weight: bold; font-size: 10px ; color : #000000}
a.cattitle { text-decoration: none; color : #000000; }
a.cattitle:hover{ text-decoration: none; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 11px; color : #ffffff; }
.forumlink a:link, .forumlink a:visited, .forumlink a:active { text-decoration: none; color: #FFF }
a.forumlink:hover{ text-decoration: underline; color : #666666; }


/* 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;}
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 : #ffffff; }
a.topictitle:link { text-decoration: none; color : #ffffff; }
a.topictitle:visited { text-decoration: none; color : #ffffff; }
a.topictitle:hover { text-decoration: underline; color : #666666; }


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails { font-size : 10px; color : #000000; }


/* 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; }
a.postlink:hover { text-decoration: underline; color : #444444}


/* Quote & Code blocks */
.code {
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
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;}


/* Form elements */
input,textarea, select {
color : #000000;
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
border-color : #000000;
}

/* 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;
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");
神川小羽
調皮の小羽
調皮の小羽
文章: 1461
註冊時間: 2004-05-01 05:55
來自: 謎樣之筱語
聯繫:

文章 神川小羽 »

你到辜狗網站搜尋一下,有一個小工具軟體叫做 Color Picker
這個小工具可以用來測滑鼠比到的地方的顏色,然後你再去比對看看CSS裡面那個顏色符合的,就嘗試調整看看這個顏色。
-.-
~倉木麻衣~
竹貓忠實會員
竹貓忠實會員
文章: 1405
註冊時間: 2004-03-21 21:00

文章 ~倉木麻衣~ »

233062306 寫:css是什麼........= =
我真笨....第一次聽css這個名........

請問大大在哪裡可以找到css.....之後修改.......
各大搜尋網站打CSS下去尋找即可得到一大堆的資料了
例如:
http://www.kghs.kh.edu.tw/tea523/css/
http://myweb.hinet.net/home2/loveweb/html/css.htm
http://home.pchome.com.tw/star/chih64532003/CSS.htm

如果你的英文夠好, 可以直接殺到w3c去看
http://www.w3.org/Style/CSS/
或是造訪其右方Learning CSS連結所列的非英文資源
個人推薦底下這個繁體中文資源
http://chinese-school.netfirms.com/css- ... -index.htm
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

好~~
謝謝大大們~
今晚不睡我也要看完它們!!!
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

還是很大問題......
我已經看過大大們的網頁......
之後按網頁的內容設定css中有關color的東西(color: #xxxxxx)
但是我的論壇的任何顏色也沒有變.........

經過3十多次的失敗後......
我開始變得瘋狂了......
把css入所有顏色設定都改為黑色.....
但也是沒有改變......
結果......投降了........
~倉木麻衣~
竹貓忠實會員
竹貓忠實會員
文章: 1405
註冊時間: 2004-03-21 21:00

文章 ~倉木麻衣~ »

通常是不需要自行於tpl風格檔中設定CSS
如同前面幾篇的回應的
sakamoto 寫:到你的風格資料夾裡面有一個是xxx.css打開他就可以改了
一般而言, 文字主題所套用的應該是名為topictitle的CSS Class id
比較簡單的確認方式是檢視主題列表的html原始檔
找到主題名稱之後, 往前找尋最近的一個<span class="xxx">或class="xxx"
這個xxx即是該文字所套用的樣式名稱\r
例如底下是檢視竹貓文章列表的部份HTML原始碼\r
<td class="row1" width="100%"><span class="topictitle"><a href="viewtopic.php?t=37200" class="topictitle">[風格] softblu風格中,文字顏色的問題......</a></span>
然後再到.CSS檔裡修改.topictitle的color屬性即可\r
例如subSliver.css的部份內容

代碼: 選擇全部

.topictitle			{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #006699; }
a.topictitle:visited { text-decoration: none; color : #5493B4; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }
其中的a.topictitle是特別用來指定超連結的樣式
意即<a herf="xxx" class="topictitle>這類型的外觀樣式
至於:visited、:hover等則分別指點擊過的超連結及滑鼠移至超連結上方時的外觀樣式

這個可以參考個人所推薦之中文資源裡的「Chapter 4 類別選擇器」及「Chapter 11 連結屬性」這二章

ps.
也可以從templates/yourtemplates/viewforum_body.tpl 來做確認
找{topicrow.TOPIC_TITLE}之前最近的一個class="xxx"
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

「Chapter 4 類別選擇器」及「Chapter 11 連結屬性」我有看......

而且topictitle我也有留意.........

.topictitle { font-weight: bold; font-size: 11px; color : #ffffff; }
a.topictitle:link { text-decoration: none; color : #ffffff; }
a.topictitle:visited { text-decoration: none; color : #ffffff; }
a.topictitle:hover { text-decoration: underline; color : #666666; }

我把ffffff改為000000也是沒有反應......
所以我才說把css所有顏色設定都改為黑色.....
但也是沒有改變......
*tytsim*
竹貓忠實會員
竹貓忠實會員
文章: 411
註冊時間: 2005-03-24 11:54
來自: 香港
聯繫:

文章 *tytsim* »

後台都改~~
 網絡鎮
    關於網絡的
http://tytsim.net.ru  一個網絡鎮
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

後台........
是嗎........
讓我再試試看.......
*tytsim*
竹貓忠實會員
竹貓忠實會員
文章: 411
註冊時間: 2005-03-24 11:54
來自: 香港
聯繫:

文章 *tytsim* »

但是不知道topictitle可不可以...
 網絡鎮
    關於網絡的
http://tytsim.net.ru  一個網絡鎮
233062306
星球公民
星球公民
文章: 278
註冊時間: 2005-02-28 20:12
聯繫:

文章 233062306 »

可以更改顏色的方法我也試過....
主題已鎖定

回到「風格問題討論」