字體:小 中 大 | |
|
|
2009/01/05 16:30:02瀏覽261|回應0|推薦0 | |
/* 此Layout需搭配color.css互相作用 */ /* ----------【背景大底圖】-------------- */ body { background: url(http://i240.photobucket.com/albums/ff40/tina88888888/002/1074683_top.jpg) no-repeat ;!important; background-position: center top; background-color: #FFFFFF; /* 背景顏色 可依背景圖顏色自行改變 */ background-attachment: fixed;/* 背景圖固定 */ } /* ----------【標準文字樣式】-------------- */ div, table { COLOR: #F 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: #841400; /* 連結文字的顏色 */ text-decoration: none; /* 滑鼠移到連結上時,不要底線 */ } /* ----------【城邦共用導覽列下拉選單】-------------- */ .chapter { width: 100%; /* 寬度 */ border: 1px solid #B3CCE6; /* 線框 */ background-color: #EBF } .chapter-point { color: #5085AF; /* 文字顏色 */ } .chapter-line { background-color: #D8E } /* ----------【城邦共用導覽列】下拉選單連結-------------- */ .chapter-text, a.chapter-text:link, a.chapter-text:hover, a.chapter-text:visited { color: #5085AF; /* 連結文字的顏色 */ } /* ----------【山頭】連結-------------- */ #header a:link, #header a:visited { text-decoration: none; /* 連結文字的樣式 */ } #header a:hover { text-decoration: underline; /* 滑鼠移到上面時的連結文字樣式 */ } /* ----------【山頭】網誌logo定位-------------- */ #header_logo { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 451px; /* x座標 */ top: 170px; /* y座標 */ visibility: hidden; /* 顯示與否設定 */ } /* ----------【山頭】網誌名稱-------------- */ #header_name { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 20px; /* x座標 */ top: 150px; /* y座標 */ color: #FFFFFF; /* 文字顏色 */ font-size: 30px; /* 文字大小 */ font-weight: bold; /* 文字粗體 */ } /* ----------【山頭】網誌名稱連結-------------- */ #header_name a { color: # } /* ----------【山頭】網誌簡短網址與作家-------------- */ #header_url { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 20px; /* x座標 */ top: 184px; /* y座標 */ text-align: left;/* 置右 */ width: 353px;/* 寬度 */ } /* ----------【山頭】網誌簡短網址與作家連結-------------- */ #header_url a:link, a:visited { color: #F } #header_url a:hover { color: #5085AF; /* 滑鼠移到上面時的連結文字顏色 */ text-decoration: underline;/* 滑鼠移到上面時的出現底線 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列-------------- */ #header_items { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ right: 10px; /* x座標 */ top: 273px; /* y座標 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列連結-------------- */ #header_items a { color: #C37B00; /* 連結文字的顏色 */ } #header_items a:hover { color: #9B6100; /* 滑鼠移到上面時的連結文字顏色 */ text-decoration: underline;/* 滑鼠移到上面時的出現底線 */ } /* ----------【山頭】搜尋區塊-------------- */ #header_search { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 20px; /* x座標 */ top: 200px; /* y座標 */ } .inputbox { /* 文字輸入框 */ BORDER-RIGHT: #E1EFFC 1px solid; BORDER-TOP: #E1EFFC 1px solid; BORDER-LEFT: #E1EFFC 1px solid; BORDER-BOTTOM: #E1EFFC 1px solid; color: # background-color: #F } /* ----------【網誌橫式主選單】-------------- */ /* 網誌橫式主選單的頂線 */ #header_menus_line { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ border-top: 1px solid # left: 0px; /* x座標 */ top: 80px; /* y座標 */ width: 100%; /* 寬度 */ visibility: hidden; /* 顯示與否設定 */ } /* 網誌橫式主選單的定位 */ #header_menus { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 0px; /* x座標 */ top: 270px; /* y座標 */ margin-top: 10px; /* 與頂線的邊界間距 */ } /* 網誌橫式主選單的區塊設定 */ #header_menus ul { list-style: none; /* 條列式樣式 */ margin: 0px; /* 邊界的間距 */ padding-left: 0px; /* 左側的內距 */ } /* 網誌橫式主選單的項目設定 */ #header_menus li { display: inline; /* 橫式 */ height: 45px; /* 高度 */ |
|
( 心情隨筆|其他 ) |