/* 此Layout需搭配color.css互相作用 */ /* ----------【背景大底圖】-------------- */ body { background: #FFFFFF url(http://design9719.googlepages.com/back6.jpg) right center no-repeat fixed ; } /* ----------【標準文字樣式】-------------- */ div, table { COLOR: #511789; /* 文字顏色 */ font-size: 12px; /* 文字大小 */ } /* ----------【山頭區塊】-------------- */ #header { height: 175px; /* 高度 */ margin-bottom: 10px; /* 山頭的邊界 */ background: url() no-repeat; /* 背景圖 */ } /* ----------【山頭】頂線-------------- */ #header_top { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ height: 5px; /* 線條高度 */ background: #383769 ; /* 線條背景顏色 */ } /* ----------【城邦共用導覽列】-------------- */ #header_top, #header_common_left, #header_common_main, #header_common_main_bg, #header_common_line, #header_common_right{ visibility: hidden; /* 顯示與否設定 */ } /* ----------【城邦共用導覽列連結】-------------- */ #header_common a { color: #511789; /* 連結文字的顏色 */ text-decoration: none; /* 滑鼠移到連結上時,不要底線 */ } /* ----------【城邦共用導覽列下拉選單】-------------- */ .chapter { width: 100%; /* 寬度 */ border: 1px solid #B3B3B3; /* 線框 */ background-color: #8B3E2F ; /* 背景色 */ } .chapter-point { color: #000000; /* 文字顏色 */ } .chapter-line { background-color: #8B3E2F ; /* 分隔線顏色 */ } /* ----------【城邦共用導覽列】下拉選單連結-------------- */ .chapter-text, a.chapter-text:link, a.chapter-text:hover, a.chapter-text:visited { color: #4876FF ; /* 連結文字的顏色 */ } /* ----------【山頭】連結-------------- */ #header a:link, #header a:visited { text-decoration: none; /* 連結文字的樣式 */ } #header a:hover { text-decoration: underline; /* 滑鼠移到上面時的連結文字樣式 */ } /* ----------【山頭】網誌logo定位-------------- */ #header_logo { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 10px; /* x座標 */ top: 39px; /* y座標 */ } /* ----------【山頭】網誌名稱-------------- */ #header_name { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 10px; /* x座標 */ top: 12px; /* y座標 */ color: #511789; /* 文字顏色 */ font-size: 18px; /* 文字大小 */ font-weight: bold; /* 文字粗體 */ } /* ----------【山頭】網誌名稱連結-------------- */ #header_name a { color: #511789; /* 連結文字的顏色 */ } /* ----------【山頭】網誌簡短網址與作家-------------- */ #header_url { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 39px; /* y座標 */ } /* ----------【山頭】網誌簡短網址與作家連結-------------- */ #header_url a:link, a:visited { color: #511789; /* 連結文字的顏色 */ } #header_url a:hover { color: #4876FF ; /* 滑鼠移到上面時的連結文字顏色 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列-------------- */ #header_items { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 40px; /* x座標 */ top: 56px; /* y座標 */ } /* ----------【山頭】加入好友、推薦本網誌等...功能列連結-------------- */ #header_items a { color: #511789; /* 連結文字的顏色 */ } #header_items a:hover { color: #4876FF ; /* 滑鼠移到上面時的連結文字顏色 */ } /* ----------【山頭】搜尋區塊-------------- */ #header_search { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 560px; /* x座標 */ top: 50px; /* y座標 */ } .inputbox { /* 文字輸入框 */ BORDER-RIGHT: #808080 0.5px solid; BORDER-TOP: #808080 0.5px solid; BORDER-LEFT: #808080 0.5px solid; BORDER-BOTTOM: #808080 0.5px solid; } /* ----------【網誌橫式主選單】-------------- */ /* 網誌橫式主選單的頂線 */ #header_menus_line { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ border-top: 1px solid #00868B ; /* 線的高度與顏色樣式 */ left: 0px; /* x座標 */ top: 80px; /* y座標 */ width: 100%; /* 寬度 */ } /* 網誌橫式主選單的定位 */ #header_menus { position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */ left: 0px; /* x座標 */ top: 80px; /* y座標 */ margin-top: 10px; /* 與頂線的邊界間距 */ } /* 網誌橫式主選單的區塊設定 */ #header_menus ul { list-style: none; /* 條列式樣式 */ margin: 0px; /* 邊界的間距 */ padding-left: 35px; /* 左側的內距 */ } /* 網誌橫式主選單的項目設定 */ #header_menus li { display: inline; /* 橫式 */ height: 47px; /* 高度 */ padding-top: 45px; /* 上側的內距 */ padding-right: 20px; /* 右側的內距(小圖示與選項文字的間距調適) */ padding-left: 25px; } /* ----------【網誌橫式主選單】小圖示(欲更換小圖示,請修改url為圖檔所在地的絕對連結)-------------- */ /* 本網誌首頁 */ #home { background: url(http://design9702.googlepages.com/icon-4.jpg) no-repeat left top; } /* 文章創作 */ #article { background: url(http://design9702.googlepages.com/icon-3.jpg) no-repeat left top; } /* 個人相簿 */ #photo { background: url(http://design9702.googlepages.com/icon-4.jpg) no-repeat left top; } /* 訪客簿 */ #gbook { background: url(http://design9702.googlepages.com/icon-3.jpg) no-repeat left top; } /* 作家簡介 */ #profile { background: url(http://design9702.googlepages.com/icon-4.jpg) no-repeat left top; } /* 管理中心 */ #manage { background: url(http://design9702.googlepages.com/icon-3.jpg) no-repeat left top; } /* ----------【網誌橫式主選單】連結-------------- */ #header_menus li a { color: #00868B ; /* 連結文字的顏色 */ font-size: 13px; /* 連結文字的大小 */ padding-left: 18px; /* 左測的內距 */ } #header_menus a:hover { color: #00008B ; /* 滑鼠移到上面時的連結文字顏色 */ } /* --------------【直式導覽列】(如需更改浮動定位應與內容區塊配合)------------- */ /* 直式導覽列區塊 */ #sidebar { float: left; /* 靠左浮動定位 */ } /* 直式導覽列區塊居中 */ #sidebar table { position:relative !important; margin: auto !important; } /* 直式導覽列大背景 */ .sidebar-bg { background-color: #8DB3D9; /* 背景色 */ } /* 直式導覽列區塊背景 */ .sidebar-panel-bg { background-color: #EBF2F8; /* 背景色 */ } /* -----------------【內容區】(如需更改浮動定位應與直式導覽列區塊配合)--------------------- */ /* 內容區塊 */ #content { float: left; /* 靠左浮動定位 */ } /* 對比色大標題 */ #content .main-topic { color: #00008B ; /* 文字顏色 */ font-weight: bold; /* 文字粗體 */ } #content a.main-topic:link { color: #8B1C62 ; /* 連結文字的顏色 */ text-decoration: none; /* 連結文字的樣式 */ font-weight: bold; /* 連結文字粗體 */ } #content a.main-topic:visited { color: #8B1C62 ; /* 連結文字的顏色 */ text-decoration: none; /* 連結文字的樣式 */ font-weight: bold; /* 連結文字粗體 */ } /* 深色大標題 */ #content .main-title { color: #8B2500 ; /* 文字顏色 */ } #content a.main-title:link, #content a.main-title:visited { text-decoration: none; /* 連結文字的樣式 */ } #content a.main-title:hover { color: #99FF00; /* 滑鼠移到上面時的連結文字顏色 */ } /* 附標、內文 */ #content .main-text { color: ##511789 ; /* 文字顏色 */ font-weight: bold } #content a.main-text:link, #content a.main-text:visited { color: #8DB6CD ; /* 連結文字的顏色 */ text-decoration: none; /* 連結文字的樣式 */ } #content a.main-text:hover { color: #90EE90 ; /* 滑鼠移到上面時的連結文字顏色 */ } /* --------------【個人相簿】------------- */ /* 相簿樣式 */ .photo_album { width: 165px; /* 寬度 */ height: 165px; /* 高度 */ text-align: center; /* 相片水平居中 */ vertical-align: middle; /* 相片垂直居中 */ background: url(/community/img/user_all/photo_album.gif) no-repeat; /* 背景圖 */ } #photo_album_list { list-style: none; /* 條列式樣式:無 */ margin: 0px; /* 邊界的間距 */ padding: 0px; /* 內距 */ } #photo_album_list li { margin: auto; padding: 5px 38px; /* 相框間距 */ display: inline; /* 橫式排列 */ float: left; /* 靠左浮動定位 */ width: 165px; /* 給標題折行用,須與相簿框一樣寬 */ height: 280px; /* 調適標題高度 */ table-layout:fixed; /* 強制換行 */ word-wrap:break-word; /* 強制換行 */ word-break:keep-all; /* 強制換行 */ } /* 相片樣式 */ .photo_picture { width: 165px; /* 寬度 */ height: 170px; /* 高度 */ text-align: center; /* 相片水平居中 */ vertical-align: middle; /* 相片垂直居中 */ background: url(/community/img/user_all/photo_picture.gif) no-repeat; /* 背景圖 */ } #photo_picture_list { list-style: none; /* 條列式樣式:無 */ margin: 0px; /* 邊界的間距 */ padding: 0px; /* 內距 */ } #photo_picture_list li { margin: auto; /* 邊界的間距 */ padding: 5px 38px; /* 相框間距 */ display: inline; /* 橫式排列 */ float: left; /* 靠左浮動定位 */ width: 165px; /* 給標題折行用,須與相片框一樣寬 */ height: 280px; /* 調適標題高度 */ table-layout:fixed; /* 強制換行 */ word-wrap:break-word; /* 強制換行 */ word-break:keep-all; /* 強制換行 */ } /* --------------【訪客簿】------------- */ /* 回覆表頭區 */ .gbook-title { color: #8B7E66 ; /* 文字顏色 */ background-color: #000000; /* 背景顏色 */ padding: 10px 10px 0px; /* 內距 */ } /* 回覆內容區 */ .gbook-content { color: #8B475D ; /* 文字顏色 */ background-color: #FFFFFF; /* 背景顏色 */ padding: 5px 10px 5px; /* 內距 */ margin: 10px; /* 間距 */ } /* 回覆區塊背景 */ .gbook-bg { background-color: #B3B3B3; /* 背景顏色 */ }