我已經找過了
我想要的是直接套在主題內
我用的部落格並不是無名部落格
是UDN聯合網的
我想要直接套在主題內
而不是另外開一個欄位將音樂語法套進去
我嘗試過將音樂語法套入主題語法內
但沒有用...
我應該要將語法套在哪了地方呢??
========================
主題範例
========================
/* 此Layout需搭配color.css互相作用 */
/* ----------【背景大底圖】-------------- */
body {
text-align: center !important;/* 居中 */
background-color: #EEE4D4;
margin: 0px;
padding: 0px;
background-image: url([img]http://g.udn.com/community/img/style139/bg.jpg[/ img]);
background-repeat: repeat-y;
background-position: center top;
}
#container {
background-color: ;/* 背景色 */
width: 770px!important;
text-align: center;
margin: auto;
}
/* ----------【標準文字樣式】-------------- */
div, table {
COLOR: #000000; /* 文字顏色 */
font-size: 12px;
}
/* ----------【山頭區塊】-------------- */
#header {
height: 468px; /* 高度 */
margin-bottom: 15px; /* 山頭的邊界 */
position: relative;/* 寬度 */
visibility: visible !important;/* 背景圖 */
background-image: url([img]http://g.udn.com/community/img/style139/head.jpg[/ img]);
background-repeat: no-repeat;
background-position: right top;
}
/* ----------【山頭】頂線-------------- */
#header_top {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
height: 2px; /* 線條高度 */
background: #114091; /* 線條背景顏色 */
display: none;/* 顯示與否設定 */
}
/* ----------【城邦共用導覽列】-------------- */
#header_top, #header_common_left, #header_common_main, #header_common_main_bg, #header_common_line, #header_common_right{
visibility: hidden; /* 顯示與否設定 */
}
/* ----------【城邦共用導覽列】連結-------------- */
#header_common a {
color: #9971C2; /* 連結文字的顏色 */
text-decoration: none; /* 滑鼠移到連結上時,不要底線 */
}
/* ----------【城邦共用導覽列】下拉選單-------------- */
.chapter {
width: 100%; /* 寬度 */
border: 1px solid #B3CCE6; /* 線框背景色 */
background-color: #EBF2F8; /* 背景色 */
}
.chapter-point {
color: #4D4D4D; /* 前綴點顏色 */
}
.chapter-line {
background-color: #D8E5F2; /* 分隔線顏色 */
}
/* ----------【城邦共用導覽列】下拉選單連結-------------- */
.chapter-text, a.chapter-text:link, a.chapter-text:hover, a.chapter-text:visited {
color: #274D74; /* 連結文字的顏色 */
}
/* ----------【山頭】連結-------------- */
#header a:link, #header a:visited {
text-decoration: none; /* 連結文字的樣式 */
}
#header a:hover {
text-decoration: none; /* 滑鼠移到上面時的連結文字樣式 */
}
/* ----------【山頭】網誌logo定位-------------- */
#header_logo {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
left: 448px; /* x座標 */
top: 170px; /* y座標 */
visibility: hidden; /* 顯示與否設定 */
}
/* ----------【山頭】網誌名稱-------------- */
#header_name {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
top: 298px; /* y座標 */
color: #FFFFFF; /* 文字顏色 */
font-size: 32px; /* 文字大小 */
font-weight: bold; /* 文字粗體 */
text-align: left;/* 置右 */
width: 650px;/* 寬度 */
left: 40px;
}
/* ----------【山頭】網誌名稱連結-------------- */
#header_name a {
color: #000000; /* 連結文字的顏色 */
}
/* ----------【山頭】網誌簡短網址與作家-------------- */
#header_url {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
left: 40px; /* x座標 */
top: 370px; /* y座標 */
text-align: left;/* 置右 */
width: 365px;/* 寬度 */
}
/* ----------【山頭】網誌簡短網址與作家連結-------------- */
#header_url a:link, a:visited {
color: #000000; /* 連結文字的顏色 */
}
#header_url a:hover {
color: #000000; /* 滑鼠移到上面時的連結文字顏色 */
text-decoration: underline;/* 滑鼠移到上面時的出現底線 */
}
/* ----------【山頭】加入好友、推薦本網誌等...功能列-------------- */
#header_items {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
left: 40px; /* x座標 */
top: 334px; /* y座標 */
}
/* ----------【山頭】加入好友、推薦本網誌等...功能列連結-------------- */
#header_items a {
color: #A2815F; /* 連結文字的顏色 */
}
#header_items a:hover {
color: #A2815F; /* 滑鼠移到上面時的連結文字顏色 */
text-decoration: underline;/* 滑鼠移到上面時的出現底線 */
}
/* ----------【山頭】搜尋區塊-------------- */
#header_search {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
left: 40px; /* x座標 */
top: 431px; /* 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: 0px solid #4180C0; /* 線的高度與顏色樣式 */
left: 0px; /* x座標 */
top: 80px; /* y座標 */
width: 100%; /* 寬度 */
visibility: hidden; /* 顯示與否設定 */
}
/* 網誌橫式主選單的定位 */
#header_menus {
position: absolute; /* 絕對定位(以"山頭區塊"左上角為基準點) */
left: 45px; /* x座標 */
top: 150px; /* 與頂線的邊界間距 */
}
/* 網誌橫式主選單的區塊設定 */
#header_menus ul {
list-style: none; /* 條列式樣式 */
margin: 0px; /* 邊界的間距 */
padding-left: 0px; /* 左側的內距 */
}
/* 網誌橫式主選單的項目設定 */
#header_menus li {
display: inline; /* 橫式 */
height: 52px;
float: left;/* 靠左浮動定位 */
position: relative;
padding-right: 65px;
}
/* ----------【網誌橫式主選單】小圖示(欲更換小圖示,請修改url為圖檔所在地的絕對連結)-------------- */
/* 本網誌首頁 */
#home {
}
/* 文章創作 */
#article {
}
/* 個人相簿 */
#photo {
}
/* 訪客簿 */
#gbook {
}
/* 作家簡介 */
#profile {
}
/* 管理中心 */
#manage {
}
/* ----------【網誌橫式主選單】連結-------------- */
#header_menus li a {
color: #FFFFFF; /* 連結文字的顏色 */
font-size: 11px; /* 左測的內距 */
}
#header_menus a:hover {
color: #FFFFFF;
text-decoration: line-through;
}
/* --------------【直式導覽列】(如需更改浮動定位應與內容區塊配合)------------- */
/* 直式導覽列區塊 */
#sidebar {
float: left; /* 靠左浮動定位 */
}
/* 直式導覽列區塊居中 */
#sidebar table {
position:relative !important;
margin: auto !important;
}
/* 直式導覽列大背景 */
.sidebar-bg {
background-color: transparent; /* 背景色 */
}
/* 直式導覽列區塊背景 */
.sidebar-panel-bg {
background-color: transparent; /* 背景圖片 */
background-image: url([img]http://g.udn.com/community/img/style139/sidebar.gif[/ img]);
background-repeat: no-repeat;
background-position: 17px 15px;
}
/* 直式導覽列區塊文字 */
.panel-topic
{
padding-left: 28px!important;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
color: #622E01!important;
}
/* -----------------【內容區】(如需更改浮動定位應與直式導覽列區塊配合)--------------------- */
/* 內容區塊 */
#content {
float: left; /* 靠左浮動定位 */
}
/* 對比色大標題 */
#content .main-topic {
color: #F47E00; /* 文字顏色 */
font-weight: bold; /* 文字粗體 */
}
#content a.main-topic:link {
color: #F47E00; /* 連結文字的顏色 */
text-decoration: none; /* 連結文字的樣式 */
font-weight: bold; /* 連結文字粗體 */
}
#content a.main-topic:visited {
color: #F47E00; /* 連結文字的顏色 */
text-decoration: none; /* 連結文字的樣式 */
font-weight: bold; /* 連結文字粗體 */
}
/* 深色大標題 */
#content .main-title {
color: #000000; /* 文字顏色 */
}
#content a.main-title:link, #content a.main-title:visited {
text-decoration: none; /* 連結文字的樣式 */
}
#content a.main-title:hover {
color: #4B4B4B; /* 滑鼠移到上面時的連結文字顏色 */
}
/* 附標、內文 */
#content .main-text {
color: #A7A7A7; /* 文字顏色 */
}
#content a.main-text:link, #content a.main-text:visited {
color: #4B4B4B; /* 連結文字的顏色 */
text-decoration: none; /* 連結文字的樣式 */
}
#content a.main-text:hover {
color: #4B4B4B; /* 滑鼠移到上面時的連結文字顏色 */
}
/* --------------【個人相簿】------------- */
/* 相簿樣式 */
.photo_album {
width: 140px; /* 寬度 */
height: 140px; /* 高度 */
text-align: center; /* 相片水平居中 */
vertical-align: middle; /* 相片垂直居中 */
background: url([img]http://g.udn.com/community/img/user_all/photo_album.gif[/ img]) no-repeat; /* 背景圖 */
}
#photo_album_list {
list-style: none; /* 條列式樣式:無 */
margin: 0px; /* 邊界的間距 */
padding: 0px; /* 內距 */
}
#photo_album_list li {
margin: auto;
padding: 5px 20px; /* 相框間距 */
display: inline; /* 橫式排列 */
float: left; /* 靠左浮動定位 */
width: 140px; /* 給標題折行用,須與相簿框一樣寬 */
height: 280px; /* 調適標題高度 */
table-layout:fixed; /* 強制換行 */
word-wrap:break-word; /* 強制換行 */
word-break:keep-all; /* 強制換行 */
}
/* 相片樣式 */
.photo_picture {
width: 140px; /* 寬度 */
height: 144px; /* 高度 */
text-align: center; /* 相片水平居中 */
vertical-align: middle; /* 相片垂直居中 */
background: url([img]http://g.udn.com/community/img/user_all/photo_picture.gif[/ img]) no-repeat; /* 背景圖 */
}
#photo_picture_list {
list-style: none; /* 條列式樣式:無 */
margin: 0px; /* 邊界的間距 */
padding: 0px; /* 內距 */
}
#photo_picture_list li {
margin: auto; /* 邊界的間距 */
padding: 5px 3px; /* 相框間距 */
display: inline; /* 橫式排列 */
float: left; /* 靠左浮動定位 */
width: 140px; /* 給標題折行用,須與相片框一樣寬 */
height: 240px; /* 調適標題高度 */
table-layout:fixed; /* 強制換行 */
word-wrap:break-word; /* 強制換行 */
word-break:keep-all; /* 強制換行 */
}
/* --------------【訪客簿】------------- */
/* 回覆表頭區 */
.gbook-title {
color:#990808; /* 文字顏色 */
background-color: #D5CF91; /* 背景顏色 */
padding: 10px 10px 0px; /* 內距 */
}
/* 回覆內容區 */
.gbook-content {
color: #333333; /* 文字顏色 */
background-color: #FFFFFF; /* 背景顏色 */
padding: 5px 10px 5px; /* 內距 */
margin: 10px; /* 間距 */
}
/* 回覆區塊背景 */
.gbook-bg {
background-color: #D5CF91; /* 背景顏色 */
}
/* footer文字 */
#footer {
background-color: transparent;
background-position: center top;
border-top-width: 2px;
border-top-style: solid;
border-top-color: #622E01!important;
}
#footer a {
}
#footer_info {
}
[ 本文最後由 高雄小段 於 2009-4-5 09:23 編輯 ] |