代碼: 選擇全部
################################################################################
## MOD Title: Customize Font Size
## MOD Author: IOann < ioannalpha@gmail.com > ( Johann ) http://metalwow.homeip.net/forum/
## MOD Description: This mod do what is just as title.
## MOD Version: 1
## Installation Level: Easy
## Installation Time: 3 Minutes
## Files To Edit: 2
## templates/subSilver/overall_header.tpl
## language/lang_chinese_traditional_taiwan/lang_main.php
################################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
################################################################################
#
#-----[ OPEN 打開 ]-------------------------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* General text */
/* Original setting began */
/*
.gen { font-size : {T_FONTSIZE3}px; }
*/
/* Original setting ended */
/* Changing the font size into 13px began */
.gen { font-size : 13px; }
/* Changing the font size into 13px ended */
/* Original setting began */
/*
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.genmed { font-size : 12px; }
.gensmall { font-size : 12px; }
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu { text-decoration: none; color : {T_BODY_LINK}; }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* The register, login, search etc links at the top of the page */
/* Original setting began */
/*
.mainmenu { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT} }
a.mainmenu { text-decoration: none; color : {T_BODY_LINK}; }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.mainmenu { font-size : 12px; color : {T_BODY_TEXT} }
a.mainmenu { text-decoration: none; color : {T_BODY_LINK}; }
a.mainmenu:hover{ text-decoration: underline; color : {T_BODY_HLINK}; }
/* Changing the font size into 12px began */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Forum category titles */
.cattitle { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Forum category titles */
/* Original setting began */
/*
.cattitle { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : {T_BODY_LINK}}
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : {T_BODY_LINK}}
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Forum title: Text and link to the forums used in: index.php */
/* Original setting began */
/*
.forumlink { font-weight: bold; font-size: {T_FONTSIZE3}px; color : {T_BODY_LINK}; }
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.forumlink { font-weight: bold; font-size: 12px; color : {T_BODY_LINK}; }
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
/* Original setting began */
/*
.nav { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.nav { font-weight: bold; font-size: 12px; color : {T_BODY_TEXT};}
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* titles for the topics: could specify viewed link colour too */
/* Original setting began */
/*
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.topictitle,h1,h2 { font-weight: bold; font-size: 12px; color : {T_BODY_TEXT}; }
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Name of poster in viewmsg.php and viewtopic.php and other places */
/* Original setting began */
/*
.name { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.name { font-size : 12px; color : {T_BODY_TEXT};}
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Location, number of posts, post date etc */
.postdetails { font-size : {T_FONTSIZE1}px; color : {T_BODY_TEXT}; }
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Location, number of posts, post date etc */
/* Original setting began */
/*
.postdetails { font-size : 12px; color : {T_BODY_TEXT}; }
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.postdetails { font-size : 12px; color : {T_BODY_TEXT}; }
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* The content of the posts (body of text) */
/* Original setting began */
/*
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.postbody { font-size : 12px; line-height: 18px}
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Quote & Code blocks */
.code {
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Quote & Code blocks */
/* Original setting began */
/*
.code {
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.code {
font-family: {T_FONTFACE3}; font-size: 12px; color: {T_FONTCOLOR2};
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
.quote {
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Original setting began */
/*
.quote {
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.quote {
font-family: {T_FONTFACE1}; font-size: 12px; color: {T_FONTCOLOR1}; line-height: 125%;
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Copyright and bottom info */
.copyright { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Copyright and bottom info */
/* Original setting began */
/*
.copyright { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
*/
/* Original setting ended */
/* Changing the font size into 12px began */
.copyright { font-size: 12px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* Form elements */
input,textarea, select {
color : {T_BODY_TEXT};
font: normal {T_FONTSIZE2}px {T_FONTFACE1};
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* Form elements */
/* Original setting began */
/*
input,textarea, select {
color : {T_BODY_TEXT};
font: normal {T_FONTSIZE2}px {T_FONTFACE1};
*/
/* Original setting ended */
/* Changing the font size into 12px began */
input,textarea, select {
color : {T_BODY_TEXT};
font: normal 12px {T_FONTFACE1};
/* Changing the font size into 12px ended */
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
/* The buttons used for bbCode styling in message post */
input.button {
background-color : {T_TR_COLOR1};
color : {T_BODY_TEXT};
font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
/* The buttons used for bbCode styling in message post */
/* Original setting began */
/*
input.button {
background-color : {T_TR_COLOR1};
color : {T_BODY_TEXT};
font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
*/
/* Original setting ended */
/* Changing the font size into 12px began */
input.button {
background-color : {T_TR_COLOR1};
color : {T_BODY_TEXT};
font-size: 12px; font-family: {T_FONTFACE1};
/* Changing the font size into 12px ended */
#
#-----[ OPEN 打開 ]-------------------------------------------------------------
#
language/lang_chinese_traditional_taiwan/lang_main.php
#
#-----[ FIND 尋找 ]-------------------------------------------------------------
#
$lang['TRANSLATION_INFO'] = '正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作';
$lang['TRANSLATION'] = '正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作';
#
#-----[ REPLACE WITH 替換 ]-----------------------------------------------------
#
// Original setting began
// $lang['TRANSLATION_INFO'] = '正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作';
// $lang['TRANSLATION'] = '正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作';
// Original setting ended
// Changing the font size into 11px began
$lang['TRANSLATION_INFO'] = '<span style="font-size:11px">正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作</span>';
$lang['TRANSLATION'] = '<span style="font-size:11px">正體中文語系由 <a href="http://phpbb-tw.net/"><span style="color:#FF6633">phpbb-tw</span></a> 維護製作</span>';
// Changing the font size into 11px ended
#
#-----[ SAVE/CLOSE ALL FILES 儲存/關閉所有檔案 ]--------------------------------
#


