字體:小 中 大 | |
|
|
2008/12/16 00:34:21瀏覽200|回應0|推薦0 | |
/* 此Layout需搭配color.css互相作用 */ /* ----------【背景大底圖】-------------- */ body { background: url(http://i240.photobucket.com/albums/ff40/tina88888888/003/00-10.gif) no-repeat ;!important; background-position: center top; background-color: #FFFFFF; /* 背景顏色 可依背景圖顏色自行改變 */ background-attachment: fixed;/* 背景圖固定 */ } /* ----------【標準文字樣式】-------------- */ div, table { COLOR: #6699FF; /* 文字顏色 */ font-size: 14px; /* 文字大小 */ } /* ----------【山頭區塊】-------------- */ #header { height: 300px; /* 高度 */ margin-bottom: 10px; /* 山頭的邊界 */ } /* ----------【山頭】頂線-------------- */ #header_top { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ height: 2px; /* 線條高度 */ background: #114091; /* 線條背景顏色 */ } /* ----------【城邦共用導覽列】-------------- */ #header_top, #header_common_left, #header_common_main, #header_common_main_bg, #header_common_line, #header_common_right{ visibility: hidden; /* 顯示與否設定 */ } /* ----------【城邦共用導覽列】連結-------------- */ #header_common a { color: #FF9900; /* 連結文字的顏色 */ text-decoration: none; /* 滑鼠移到連結上時,不要底線 */ } /* ----------【城邦共用導覽列】下拉選單-------------- */ .chapter { width: 100%; /* 寬度 */ border: 1px solid #B3CCE6; /* 線框背景色 */ background-color: #EBF } .chapter-point { color: #4D4D4D; /* 前綴點顏色 */ } .chapter-line { background-color: #D8E } /* ----------【城邦共用導覽列】下拉選單連結-------------- */ .chapter-text, a.chapter-text:link, a.chapter-text:hover, a.chapter-text:visited { color: #274D74; /* 連結文字的顏色 */ font-size: 14px; /* 文字大小 */ } /* ----------【山頭】連結-------------- */ #header a:link, #header a:visited { text-decoration: none; /* 連結文字的樣式 */ color: #993300; /* 山頭區塊文字文字顏色 作家名稱 首頁 管理中心 */ } #header a:hover { text-decoration: none; /* 滑鼠移到上面時的連結文字樣式 */ font-size: 24px; /* 文字大小 */ color: #99cc00; /* 滑鼠移到上面時的連結文字顏色 */ } /* ----------【山頭】網誌logo定位-------------- */ #header_logo { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 20px; /* x座標 */ top: 180px; /* y座標 */ visibility: hidden; /* 顯示與否設定 */ } /* ----------【山頭】網誌名稱-------------- */ #header_name { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 140px; /* y座標 */ color: #ff33cc; /* 文字顏色 */ font-size: 24px; /* 文字大小 */ font-weight: bold; /* 文字粗體 */ } /* ----------【山頭】網誌名稱連結-------------- */ #header_name a { color: #6495ed; /* 連結文字的顏色 */ } /* ----------【山頭】網誌簡短網址與作家-------------- */ #header_url { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 30px; /* y座標 */ } /* ----------【山頭】網誌簡短網址與作家連結-------------- */ #header_url a:link, a:visited { color: #993300; /* 連結文字的顏色 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列-------------- */ #header_items { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 70px; /* y座標 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列連結-------------- */ #header_items a { color: #993300; /* 連結文字的顏色 */ } #header_items a:hover { color: #FF33CC; /* 滑鼠移到上面時的連結文字顏色 */ font-size: 16px; /* 小字文字的大小 */ } /* ----------【山頭】搜尋區塊-------------- */ #header_search { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 100px; /* y座標 */ } .inputbox { /* 文字輸入框 */ BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; } /* ----------【網誌橫式主選單】-------------- */ /* 網誌橫式主選單的頂線 */ #header_menus_line { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ border-top: 1px solid # left: 0px; /* x座標 */ top: 220px; /* y座標 */ width: 100%; /* 寬度 */ display: none; } /* 網誌橫式主選單的定位 */ #header_menus { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 60px; /* x座標 */ top: 260px; /* y座標 */ margin-top: 10px; /* 與頂線的邊界間距 */ } /* 網誌橫式主選單的區塊設定 */ #header_menus ul { list-style: none; /* 條列式樣式 */ margin: 0px; /* 邊界的間距 */ padding-left: 5px; /* 左側的內距 */ } /* 網誌橫式主選單的項目設定 */ #header_menus li { display: inline; /* 橫式 */ height: 47px; /* 高度 */ padding-top: 15px; /* 上側的內距 */ padding-right: 20px; /* 右側的內距(小圖示與選項文字的間距調適) */ padding-left: 25px; } /* ----------【網誌橫式主選單】小圖示(欲更換小圖示,請修改url為圖檔所在地的絕對連結)-------------- */ /* 本網誌首頁 */ #home { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* 文章創作 */ #article { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* 個人相簿 */ #photo { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* 訪客簿 */ #gbook { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* 作家簡介 */ #profile { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* 管理中心 */ #manage { background: url(http://s234.photobucket.com/albums/ee61/nina673333/th_231.gif) no-repeat left top; } /* ----------【網誌橫式主選單】連結-------------- */ #header_menus li a { color: #cc3399; /* 連結文字的顏色 */ font-size: 14px; /* 連結文字的大小 */ padding-left: 18px; /* 左測的內距 */ } #header_menus a:hover { color: #cccc00; /* 滑鼠移到上面時的連結文字顏色 */ font-size: 18px; /* 連結文字的大小 */ } /* --------------【直式導覽列】(如需更改浮動定位應與內容區塊配合)------------- */ /* 直式導覽列區塊 */ #sidebar { float: left; /* 靠左浮動定位 */ background-image:url(); background-repeat: no-repeat;/* 背景圖 可放入寬度200px以內的背景圖 */ } /* 直式導覽列區塊居中 */ |
|
( 心情隨筆|其他 ) |