【部落格素材教學法】童年自製版型no.44
自製版型no.44
版型語法如下
/*以下若要顯示請不要放上即可*/
/*隱藏更新日期欄*/
#ymodupdate{display:none}
/*隱藏部落格相簿*/
#ymodalbum{display:none;}
/*隱藏我要留言免受廣告干擾*/
#yblast .text a{display:none;}
/*開始囉~都可以自行調整*/
/*強制下方捲軸不出現*/
body{overflow-x:hidden;}
/*two col layout 二欄式版面加大寬度設定 */
.twocolga #yhtw_mastfoot, .twocoldr #yhtw_mastfoot {width:900px;margin:0 auto;}
.twocolga[class], .twocoldr[class]{min-width:900px;behavior:none;}
.twocolga .ycnt3col,.twocoldr .ycnt3col {zoom:1;width:900px;text-align:left;margin:0 auto;}
/*三欄式版面寬度設定*/
.thrcol #yhtw_mastfoot {width:970px;margin:0 auto;}
.thrcol[class]{min-width:970px;behavior:none;}
.thrcol .ycnt3col {zoom:1;width:970px;text-align:left;margin:0 auto;}
/*奇摩置頂管理語法-顏色設定*/
#yhtw_masthead a, #yhtw_masthead a:link, #yhtw_masthead a:visited, #yhtw_masthead a:hover, #yhtw_masthead .mhuser div, #yhtw_masthead .mhuser div a, #yhtw_masthead .mhuser div b, #yhtw_masthead .masthead_function strong{color:#000000;}
#yhtw_masthead{margin-bottom:0px;}
/*招呼語不放背景及文字顏色設定*/
#yblast .bg {filter:alpha(opacity=0); opacity:0; moz-opacity:0;}; background: transparent no-repeat;}
#yblast .text{color:#FF72A3;}
/*自訂格名及部落格描述字*/
#yblogtitle .mbd,#yblogtitle .mft{background:transparent;color:#000000;padding-top:0px;text-align:center; }
#yblogtitle h1, #yblogtitle a {color: #464646; font-size:18px;font-weight:bolder;font-family:標楷體;}
#yblogtitle .tbd{height:25px }
/*大標題圖背景+重覆底背景*/
#yhtw_masthead {background:url(http://i278.photobucket.com/albums/kk82/childhood_tw/44-01-1.gif) #ffffff no-repeat;height:278Px;background-position:center top;opacity:1.0;}
body {background-color:#ffffff;background-image:url(http://i278.photobucket.com/albums/kk82/childhood_tw/44-02-1.gif);background-repeat:repeat-y;background-position:top center;}
#yblogtitle .rctop{background:transparent left top no-repeat;margin-right:0px;}
#yblogtitle .rctop div{background:transparent right top no-repeat;height:0px;right:-0px;}
#yblogtitle .rcl{background:transparent repeat-y;}
#yblogtitle .rcr{background:transparent right repeat-y;}
#yblogtitle .rcbtm {background:transparent left bottom no-repeat;margin-right:0px;}
#yblogtitle .rcbtm div {background:transparent right bottom no-repeat;height:0px;right:-0px;}
/*側欄區上標*/
.yc3sec .mhd, .yc3subbd .mhd, .yc3sec .mhd a, .yc3subbd .mhd a,.yc3sec .mhd a:link, .yc3subbd .mhd a:link,.yc3sec .mhd a:visited, .yc3subbd .mhd a:visited{ background:transparent; color:#000000;text-align:center;}
/*Nav module body側欄區內文*/
.yc3sec .mbd, .yc3subbd .mbd, .yc3sec .mft, .yc3subbd .mft{ background:transparent; color:#464646;}
/*Main content header文章區上標*/
.yc3pribd .mhd{ background:transparent; color:#000000; }
/*Main content body文章內文及文章區*/
.yc3pribd .mbd{ background:transparent;color:#666666;}
.yc3pribd .mft, #yreplymsg table, #ysbscrblist table, #ybloginfo table, #yusrinfo table, #yusrintro p { background:transparent;color:#666666;}
#ymodcal .mbd td strong {color:#464646;}
/*Links連結文字及位置顏色改變*/
a, a:link, a:visited{color:#464646;text-decoration:none;}
a:hover{color:#000000;text-decoration:none;}
a {text-decoration:none;}
a:hover {position:relative;top:2px;left:2px;}
/*Scrollbar捲軸區色彩*/
html{SCROLLBAR-FACE-COLOR:#FCFCFC;
SCROLLBAR-3DLIGHT-COLOR: #FCFCFC;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR:#FCFCFC;
SCROLLBAR-BASE-COLOR:#FCFCFC;}
/*文章前小圖設定*/
..yblogcnt .blgtitlebar {margin-bottom:9px;}
.yblogcnt .blgtitlebar h2 {font-size:125%;font-weight:bold;background:url(http://i278.photobucket.com/albums/kk82/childhood_tw/44-06.gif) no-repeat;padding-left:22px;}
/*左右欄位小圖*/
.ycntmod .mbd ul.list li{background-image:url(http://i278.photobucket.com/albums/kk82/childhood_tw/44-07.gif);background-repeat:no-repeat;padding-left:22px;padding-top:10px;}
/*shared rounded corner for all modules 無框語法*/
.ycntmod {width:100%;position:relative;margin-bottom:15px;overflow:hidden;}
.ycntmod .rctop {zoom:1;background:transparent left top no-repeat;margin-right:0px;}
.ycntmod .rctop div {background:transparent right top no-repeat;height:0px;font-size:0;position:relative;right:-0px;}
.ycntmod .rcbtm {zoom:1;background:transparent left bottom no-repeat;margin-right:0px;}
.ycntmod .rcbtm div {background:transparent right bottom no-repeat;height:0px;font-size:0;position:relative;right:-0px;}
.ycntmod .rcl {padding-left:0px;background:transparent repeat-y;}
.ycntmod .rcr {zoom:1;padding-right:0px;background:transparent right repeat-y;}
.ycntmod .text {position:relative;word-break:break-all;}
.yc3pribd .ycntmod{overflow:visible;}
.yc3pribd .ycntmod .yblogcnt{overflow:hidden;}
/*側欄區加框線*/
.yc3sec .rctop, .yc3sub .rctop {background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868320562.gif) left top no-repeat;margin-right:0px;}
.yc3sec .rctop div, .yc3sub .rctop div {background:transparent right top no-repeat;height:42px;font-size:0;position:relative;right:-0px;}
.yc3sec .rcbtm, .yc3sub .rcbtm {background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868321667.gif) left bottom no-repeat;margin-right:0px;}
.yc3sec .rcbtm div, .yc3sub .rcbtm div {background:transparent right bottom no-repeat;height:29px;font-size:0;position:relative;right:-0px;}
.yc3sec .rcl, .yc3sub .rcl {padding-left:5px;background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868320758.gif) repeat-y;}
.yc3sec .rcr, .yc3sub .rcr {padding-right:5px;background:transparent right repeat-y;}
.yc3pribd .ycntmod{overflow:visible;}
.yc3pribd .ycntmod .yblogcnt{overflow:hidden;}
/*btnsbsrb訂閱部落格圖示*/
div#btnsbsrb a, div#btnsbsrb_nologin a{display:block;width:130px;height:45px;background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868321817.gif) no-repeat;margin:0;}
/*make coomment bar回應跟引用更換圖片語法*/
div.btncomment a {display:block;height:50px;width:60px;background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868321965.gif) no-repeat;}
div.btntrackback a {display:block;height:50px;width:60px;background:url(http://photos.pchome.com.tw/s15/p/_/p_vivi/book81/p138868322146.gif) no-repeat;}
/*個人資料管理頁面公開的部落標題文字顏色*/
#ybloginfo table, #yusrinfo table, #yusrintro p {background: transparent #ffffff;color:#666666;}
/*側欄框要顯示 2008.03.21*/
.yc3subbd .rctop,.yc3subbd .rctop div,.yc3subbd .rcl,.yc3subbd .rcr,.yc3subbd .rcbtm,.yc3subbd .rcbtm div, .yc3sec .rctop,.yc3sec .rctop div,.yc3sec .rcl,.yc3sec .rcr,.yc3sec .rcbtm,.yc3sec .rcbtm div {filter:alpha(opacity=100); opacity:1.0; moz-opacity:1.0;}
/*最上方圖片要清楚 2008.03.21*/
#yhtw_masthead{filter:alpha(opacity=100); opacity:1.0; moz-opacity:1.0;}
/*奇摩置尾區*/
#yhtw_mastfoot, #yhtw_mastfoot a, #yhtw_mastfoot a:hover{color:#000000;}
#yhtw_mastfoot{margin-top:5px;}
先聲明一下~版型語法是使用tina的版型語法,因為tina的語法已經夠實用了=..=我自己改未必語法會比較好~如果喜歡童年版型的人~可以參考
一下tina的版型設計那個才叫做利害~