問題解決了,感謝各位。
原因在於我資料庫裡themes的資料表中的三種字形(fontface 1, 2, 3)都設成一樣的。
(可能是我在控制台編輯風格的時候改到了。而且如果沒有重新輸出風格,資料庫裡的風格設定就不會改變)
subsilver的預設字形是:
fontface 1:Verdana, Arial, Helvetica, sans-serif
fontface 2:Trebuchet MS
fontface 3:Courier, \'Courier New\', sans-serif
不過我依然納悶subsilver.css的功能是什麼?
(我本來以為把它刪掉會讓論壇整個變成白底黑字醜醜的)
既然資料庫中有themes資料表記錄風格設定(由控制台的風格管理輸出的),
這些設定會再由overall_header讀出來,
那subsilver.css只是擺好看的囉?
再說像一些FI的themes,
如果檢視他們的原始檔會發現都沒有這一段:
代碼: 選擇全部
首頁</title>
<!-- link rel="stylesheet" href="templates/subSilver/subSilver" type="text/css" -->
<style type="text/css">
<!--
/*
The original subSilver Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com
NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
background-color: #E5E5E5;
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; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
.
.
.
(中略)
.
.
.
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("templates/subSilver/formIE.css");
-->
</style>
<script type="text/javascript" src="templates/rollout.js"></script>
</head>
<body bgcolor="#E5E5E5" text="#000000" link="#006699" vlink="#5493B4" >
這段是定義在overall_header.tpl裡的。
竹貓的則是這樣。
代碼: 選擇全部
<title>竹貓星球 :: 首頁</title>
<link rel="stylesheet" href="./templates/liteBlue/liteBlue.css" type="text/css" />
</style>
<script language="javascript">
<!--
var imgs=new Array();
function preload()
{
for (i = 0; i < preload.arguments.length; i++)
{
imgs[i] = new Image();
imgs[i].src = './templates/liteBlue/images/' + preload.arguments[i];
}
}
preload("web_logo.gif","bodyTop.gif","bodyTopR.gif","bodyLeft.gif","bodyRight.gif","bodyBottomL.gif","bodyBottom.gif","bodyBottomR.gif");
//-->
</script>
</head>
<body>
我一直在想,
既然有style sheet在,為什麼還要在overall_header裡重複定義呢?
像竹貓還有FI的themes很明顯都沒有這樣。
不過這些都是後話了...
總之,mit再謝過各位
