2 .進階css內容設定
/*各指令語法都有註解,歡迎自行修改*/ /*Links-頁面文字連結後變色有底線有底圖*/ a, a:link, a:visited{color:#333333 ;text-decoration:none;}a:hover{color:#9D5710 ;text-decoration:none;background-image:url(http://bit.ly/ggmpyS);background-position:50% 50%;}a {text-decoration:none;} /*置頂頁首區塊*/ #xn_bar { background-color: #d6c484; background:url(http://bit.ly/gCvoAW) no-repeat; background-position:top center;} #aubg { background-color: #d6c484 !important; border-color:#d6c484 !important;} /*感謝Tina語法-大標題圖背景+重覆底背景設定*/ body {background:url(http://bit.ly/fC5KYR) center top transparent no-repeat;} html {background:url(http://bit.ly/g14J7w) center top #d6c484 repeat-y;} /*上方大標題圖*/ #xg {background:transparent url(http://bit.ly/gkeHyT) repeat-x; background-position:left top;} /*------------------------------------------------------------------------------------- Header & Navigation (#xg_head and descendants)-置頂設定 ---------------------------------------------------------------------------------------*/ /*置頂各標題鍵高度*/ #xg_masthead {height:430px;min-height:430px;} /* TaiwanYes文字_字距.粗細.大小.字體.字色.位置*/ #xg_masthead p#xg_sitename a { letter-spacing:1px; font-weight:normal; font:100% "Verdana";color:#291f06;} /*TaiwanYes標題字大小位置及次文字位置*/ #xg_masthead p#xg_sitename { line-height: 90%; /*玉山次文字間隔*/ padding: 0; margin: 0; padding:10px 0pt 0pt 0px;} /*上右下左*/ /*次文字位置*/ #xg_masthead p#xg_sitedesc { padding: 0; margin: 0 0 1em 0; color:#291f06; padding:0pt 0pt 0pt 0px;} /*次文字位置*/ /*頁面背景與標圖連接邊際*/ #xg_navigation { min-height: 0px; height: 0px; background: transparent none no-repeat top center; ;padding-bottom:50px;} /* 置頂各標題鍵始起位置_離左邊界px*/ #xg_navigation ul { margin-left:40px;} /* 置頂各標題鍵正常時文字色_.大小.字色.背透明*/ #xg_navigation ul li a { font-size:15px;color:#2a1f05; background: transparent;} /*滑過連結文字時_文字色變.*/ #xg_navigation ul li a:hover {background: transparent;color:#FF8F1F;} /*顯示當前位置鍵字色*/ #xg_navigation ul li.this a {background: transparent url(http://bit.ly/e26hNg) no-repeat 0 60%; color:#FF8205;padding:0pt 1.7em;} /*---------------------------------------------------------------- Body (#xg_body and descendants)-頁面設定 -----------------------------------------------------------------*/ /*頭圖外框線*/ .photo {border:1px solid #7a683d;} /*頁面背景*/ #xg_body {background: transparent none repeat; background-position:top center;} /*部落格主名稱字體色大小*/ #xg_body {font-size: 1.1em;} #xg_body h1 {color:#291f06;font-family:標楷體;} /*上標文字色位置*/ .xg_module_head h2 {color: #2c2107;font-size:15px; padding-top:1px;padding-left:10px;} /*各欄上標底圖+實線框*/ .xg_module_head { background:transparent url(http://bit.ly/i6GfV9) repeat-x; background-position:top left; border:1px solid #5b4c27;} /*各欄內文字色*/ .xg_module_body, .xg_module_foot { background: transparent;color:#333333; border:1px solid #5b4c27;} /*字色大小+副標題前小圖*/ .xg_module_body h3, .xg_module_body caption { font-size:18px;color:#3f3316; background:url(http://bit.ly/fYJenN) no-repeat; padding-left:35px; vertical-align:middle;} /*登入欄虛框線*/ #xg_module_account {border:1px solid #5b4c27;} /*------------------------------------- Footer (#xg_foot and descendants) --------------------------------------*/ /*頁尾橫區塊*/ #xg_foot, #xg_foot a { background:transparent url(http://bit.ly/g14J7w) no-repeat;color:#332910; background-position: bottom center;} /*右欄搜尋鍵背色*/ input, select{ background:#eee7cd; color:#493d1f; FONT-SIZE:12px; font-family:verdana;} |