↑ ↑ ↑ ↑ ↑ ↑ 全頁預覽圖 ↑ ↑ ↑ ↑ ↑
應網友要求,且普天同慶我開誌已近三年了,最後一次發送樣式。
IDEA來自許多地方,總之就是自用,想改就改,有問題發問!
內文區680px + 側欄區235px = 90%版清新網誌
↓ ↓ ↓ ↓ ↓ 打包↓ ↓ ↓ ↓ ↓
/*-------------- reset --------------*/
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; }
table { border-collapse: collapse; border-spacing: 0; }
fieldset,img { border: 0; }
address,caption,cite,code,dfn,em,th,var { font-style: normal; font-weight: normal; }
ol,ul { list-style: none; }
caption,th { text-align: left; }
h1,h2,h3,h4,h5,h6 { font-size: 100%; font-weight: normal; }
q:before,q:after { content: ''; }
abbr,acronym { border: 0; }
pre { font-size: 1em; }
.article-content { _height: 1%; overflow: hidden; _overflow: none; }
/*-------------- 全頁面 --------------*/
html{}
body{font-size: 12px; *font-size: 11px; letter-spacing: 1px; font-family: Arial; color: #BABABA !important; cursor:crosshair; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/1191331224.gif); }
#body-div{width: 940px; margin: 60px auto 20px auto; }
a{color: #A3C0EB !important; text-decoration: none; }
a:hover{color: #E8AC66 !important; }
br{letter-spacing: 0; }
#authority{position: absolute; top: 0px; right: 0px; text-align: center; margin: 5px; }
#authority a{background: #f1f1f1; padding: 3px 6px; font-size: 11px; }
#login-bar{position: absolute; top: -18px; right: 10px; }
#login-bar a{font-size: 11px; }
#container{width: 940px; margin: 0px auto; padding: 10px; border: 1px solid #e0e0e0; position: relative; background: #fff; }
/*-------------- banner --------------*/
#header{}
#banner{background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/4a180ad2db521.jpg) no-repeat right top; text-align: left; height: 260px; }
#banner h1{*position: relative !important; padding-top: 20px; padding-left: 15px; }
#banner h1 a{font: 24px "微軟正黑體"; font-weight: bold; color: #71371D; }
#banner h1 a:hover{color: #555 !important;}
#banner h2{text-align: left; margin-top: 15px; margin-left: 15px; line-height: 220%; }
#banner h2 a{text-decoration: underline; }
/*-------------- navigation --------------*/
#navigation{position: absolute; top: -22px; left: 10px; width: 500px; }
#navigation a{width: 60px; height: 14px; display: block; margin-right: 10px; padding: 5px 0px 1px 0px; text-align: center; background: #fff; border-top: 1px solid #e0e0e0; border-right: 1px solid #e0e0e0; border-left: 1px solid #e0e0e0; }
#navigation li{display: inline; float: left; }
#link-album a{-size: 11px; text-align: center; }
#link-album a:hover{background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49f74f055d19d.png) no-repeat center; color: #fff; font-size: 0px; text-indent: -5000px; }
#link-blog a{font-size: 11px; text-align: center; }
#link-blog a:hover{background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49f74f07335e7.png) no-repeat center; color: #fff; font-size: 0px; text-indent: -5000px; }
#link-guestbook a{font-size: 11px; text-align: center; }
#link-guestbook a:hover{background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49f74f08a054d.png) no-repeat center; color: #fff; font-size: 0px; text-indent: -5000px; }
#link-profile a{font-size: 11px; text-align: center; }
#link-profile a:hover{background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49f74efd43899.png) no-repeat center; color: #fff; font-size: 0px; text-indent: -5000px; }
/*-------------- content --------------*/
#content{width: 680px; padding: 10px 0px 0px 0px; float: left; line-height: 20px; overflow: hidden; }
/*-------------- spotlight --------------*/
#spotlight{margin: 0px 0px 15px 0px; border-bottom: 1px solid #ddd; }
#spotlight h5{display: none; }
#spotlight-text{padding: 5px; text-align: left; }
#spotlight-text a{text-decoration: underline; }
/*-------------- article area --------------*/
#article-area{}
.article-area-title{margin: 0px 5px; }
.article{margin: 0px 0px 20px 0px; border-bottom: 1px solid #ddd; }
.article-head{position: relative; height: 60px; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/4a0fc7f693eb4.jpg) no-repeat right top; }
.publish{position: absolute; top: 5px; right: 0px; width: 80px; font: 11px "Tw Cen MT"; text-align: left; color: #261F16; }
.year{position: absolute; top: 8px; right: 35px; }
.month{position: absolute; top: 22px; right: 35px; }
.date{position: absolute; top: 8px; right: 5px; font-size: 22px; }
.day, .time{display: none; }
.title h2{width: 260px; padding: 2px 2px 2px 30px; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd7e1cec3d9.jpg) no-repeat left center; }
.title h2 a{font-size: 13px; font-weight: bold; color: #2F466E; }
.article-body{margin: 0px; }
.bookmark{text-align: right; margin: 10px 0px 10px 2px; }
.article-content{margin: 25px 5px; line-height: 180%; }
.article-content p{margin: 0px 0px 15px 0px; }
.article-content a{text-decoration: underline; color: #aaa; }
.more{float: right; margin: 0px; }
.more a{text-decoration: none; }
.article-footer{margin: 0px; }
.forward{padding: 2px 0px; text-align: right; font-size: 11px; *font-size: 10px; }
.author{padding: 2px 0px; text-align: right; font-size: 11px; *font-size: 10px; }
.refer{float: left; width: 320px; background: #F4F7FD; padding: 2px 5px; text-align: left; font-size: 11px; *font-size: 10px; }
.history{float: right; width: 320px; background: #F4F7FD; padding: 2px 5px; text-align: left; font-size: 11px; *font-size: 10px; }
.back-to-top{clear: both; text-align: right; padding: 0px; font-size: 11px; *font-size: 10px; }
#blog-main .author{text-align: center; }
#blog-main .history, #blog-main .refer{display: none; }
/*-------------- display --------------*/
#display{text-align: left; margin-bottom: 20px; }
#display span{margin: 0px 5px; }
#display a{}
/*-------------- trackback --------------*/
#user-post{}
#trackback-box{margin-bottom: 20px; }
#trackback-title{}
#trackback-text{display: none; }
#trackback-url{margin: 5px 0px 5px 0px; }
#trackback-input{width: 220px!important; padding: 1px; color: #999; font: 11px "Arial"; }
#trackback-url input{width: 80px; border: 1px solid #ddd; font-size: 11px; }
#trackback-box .post-text{width: auto; float: none; }
/*-------------- comment --------------*/
.user-post-title{padding: 5px; }
#comment-title{}
#comment-text{}
.post-comment a{width: 150px; height: 50px; display: block; color: #fff; font-size: 0px; margin: 10px auto; text-indent: -5000px; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/4a0da239977ff.jpg) no-repeat; }
.single-post{margin: 30px auto; overflow: hidden; _overflow: none; _height: 1%; word-break: break-all; background: none; border: 1px solid #ddd; padding: 10px; font-size: 11px; background: #F4F7FD; }
#comment-text .secret{padding: 5px; }
.post-info{width: 570px; padding: 0px 15px 0px 50px; color: #4E3D36; border-bottom: 1px dotted #d9d9d9; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd7e3d09015.gif) no-repeat left center; }
.post-info a{color: #4E3D36; }
.post-photo{float: left; display: inline; width: 75px; height: 75px; margin: 10px 10px 5px 0px; }
.post-photo img{width: 60px; height: 60px; padding: 0px; }
.post-text p{color: #000; font-weight: bold; padding: 5px; }
.post-text{float: right; width: 525px; padding: 5px; color: #999; line-height: 200%; }
.reply-text{float: right; width: 525px; padding: 5px; color: #A5ADBA; line-height: 200%; background: #fff; }
.reply-text p{text-align: right; padding: 10px 5px 5px 5px; color: #A5ADBA; font-size: 11px; }
.reply-text p a{color: #A5ADBA; }
.reply-text pre{color: #111; font-size: 11px; line-height: 18px; font: 11px "Arial"; }
.reply-text textarea{display: block; border: 1px solid #eee; width: 99%; height: 80px; padding: 2px; line-height: 18px; font: 11px "Arial"; }
/*-------------- #comment-table --------------*/
#comment-form{width: 630px; margin: 30px auto; padding: 5px; }
#comment-form p{display: none; }
#comment-form table tr.comment-form-title{display: none; }
#comment-form table td{padding: 2px; color: #888; vertical-align: top; border: none; line-height: 25px; }
#comment-form table th{width: 90px; padding: 5px; vertical-align: top; border: none; }
#comment-form table th font{display: none; }
#comment-form table{width: 630px; margin: 0px auto; padding: 5px; }
#comment-form input{border: none; border-bottom: 1px solid #ddd; background: none; height: 20px; font: 11px "Arial"; filter: alpha(opacity=70); opacity: 0.7; -moz-opacity: 0.7; }
#comment-form textarea{width: 95%; height: 120px; padding: 5px; border: 1px solid #ddd; background: #fff url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd7e0e43ed1.jpg) no-repeat right top; line-height: 18px; font: 11px "Arial"; filter: alpha(opacity=70); opacity: 0.7; -moz-opacity: 0.7; }
#comment-form submit a{padding: 5px; color: #555; font: 11px "Arial"; }
/*-------------- list --------------*/
.main-list{margin-top: 20px; }
.main-list table{width: 100%; margin: 0px auto; }
.main-list th{padding: 5px; }
.main-list td{padding: 5px; }
#murmur-list .list-num{display: none; }
#murmur-list .list-date{width: 120px; padding: 5px 0px; margin: 2px; }
/*-------------- page --------------*/
.page{margin: 10px 0px; text-align: center; }
.page a{padding: 2px; margin: 0px 2px; }
.page a:hover{color: #000; }
.page span{font-weight: bolder; }
/*-------------- link側欄 --------------*/
#links{width: 235px; float: right; padding: 10px 0px 0px 0px; overflow: hidden; }
#links a{color: #785A3C; }
#links a:hover{color: #888; }
/*-------------- 側欄box --------------*/
.box{margin-bottom: 20px; border: 1px solid #F3F0EE; padding: 5px; }
.box-title{text-align: left; color: #5B534C; padding: 6px 5px 8px 30px; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd7e38c01bc.jpg) no-repeat -10px -15px; border-bottom: 1px solid #e1e1e1; }
.box-text{width: 210px; padding: 5px; text-align: left; color: #C6C8CC; line-height: 18px; }
/*-------------- 側欄連結項目 --------------*/
#recent-article .box-text li, #hot-article .box-text li, #latest-comment .box-text li, #mylink .box-text li, #category .box-text li, #subscription .box-text li{width: 100%; }
/*-------------- recent article --------------*/
#recent-article .box-text a, #hot-article .box-text a{display: block; padding: 1px 0px; *line-height: 19px; }
#recent-article .box-text a:hover{background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd82338a924.jpg) no-repeat -3px; padding-left: 15px; }
/*-------------- latest comment & trackback --------------*/
#latest-comment span{color: #333; }
#latest-comment .box-text li{padding: 1px 0px 0px 0px; overflow: hidden; color: #C6C8CC; font-size: 11px; *font-size: 10px; }
#latest-comment .box-text a{display: block; padding: 1px 0px; font-size: 12px; *font-size: 11px; }
/*-------------- latest trackback --------------*/
#latest-trackback .box-text li{padding: 1px 0px 0px 0px; color: #C6C8CC; text-align: right; font-size: 11px; *font-size: 10px; }
#latest-trackback .box-text a{display: block; padding: 1px 0px; text-align: left; font-size: 12px; *font-size: 11px; }
/*-------------- subscription --------------*/
#subscription .box-text a{display: block; padding: 1px 0px; text-align: left; font-size: 12px; *font-size: 11px; }
#subscription .box-text li{padding: 1px 0px; color: #C6C8CC; text-align: left; font-size: 11px; *font-size: 10px; }
/*-------------- broadcast --------------*/
#broadcast ul{_height: 1%; overflow: hidden; _overflow: none; padding: 1px; }
#broadcast .broadcast-photo{display: inline; float: left; padding-right: 5px; }
#broadcast .broadcast-photo img{width: 35px; height: 35px; }
#broadcast .box-text li.broadcast-time a{color: #C6C8CC; padding: 1px; }
.broadcast-time{display: block; margin-left: 5px; font-size: 11px; *font-size: 10px; }
.broadcast-text{height: 17px; overflow: hidden; padding: 1px; color: #888; margin-left: 5px; font-size: 12px; *font-size: 11px; }
/*-------------- headshot --------------*/
#headshot-img{text-align: center; margin: 0px 20px 0px 0px; }
#headshot-img img{background: #fff; }
#headshot .box-text{_height: 1%; overflow: hidden; _overflow: none; }
#headshot a{display: block; border: 0; text-align: center; padding: 0px 5px 5px 5px; }
/*-------------- visitor & crumb --------------*/
#visitor .box-text{}
#visitor ul, #crumb ul{_height: 1%; overflow: hidden; _overflow: none; }
#visitor li, #crumb li{float: left; }
#visitor .box-text li a img, #crumb .box-text li a img{height: 32px; width: 32px; margin: 3px 5px; }
#visitor .box-text li a:hover img, #crumb .box-text li a:hover img{}
/*-------------- calendar --------------*/
#calendar{}
#calendar .box-text{}
#calendar table{width: 90%; margin: 0px auto; text-align: center; line-height: 150%; }
#calendar .Month-Nav{text-align: right; }
#calendar .current-month{text-align: center; }
#calendar .cal-forward{text-align: right; }
#calendar .weekday th, #calendar.col-abbr{text-align: center; }
#calender th, #calendar td{}
#calendar td a{display: block; margin: 1px; }
#calendar td a:hover{display: block; }
/*-------------- mylink --------------*/
#mylink .box-text h6{padding: 1px 0px 1px 20px; background: url(http://p0.p.pixnet.net/albums/userpics/0/8/477908/49fd9b29eab6c.jpg) no-repeat left; color: #C6C8CC; }
#mylink .box-text a{display: block; padding: 1px 0px 1px 0px; font-size: 11px; }
#mylink .box-text ul{}
/*-------------- category --------------*/
#category .box-text h6{padding: 1px 0px; color: #111; }
#category .box-text a{display: block; padding: 1px 0px; }
#category .box-more{text-align: right; display: none; }
/*-------------- search --------------*/
input#search-target{text-align: left; width: 150px; height: 15px; color: #000; background: #fff; border: 1px solid #C6C8CC; color: #888; padding: 2px; }
input#search-submit{padding: 2px; margin-top: 2px; color: #888; font-size: 11px; *font-size: 10px; }
#search li{display: inline; text-align: left; }
/*-------------- archive --------------*/
#archive .box-text select{width: 200px; }
#archive .box-more{margin-top: 10px; text-align: right; }
/*-------------- murmur --------------*/
.murmur-time{margin-bottom: 10px; font-size: 11px; *font-size: 10px; }
#murmur .box-more{margin-top: 10px; text-align: right; font-size: 11px; *font-size: 10px; }
.murmur-text{line-height: 18px; font-size: 12px; *font-size: 11px; }
/*-------------- favorite --------------*/
#favorite .box-text select{width: 200px; }
/*-------------- counter --------------*/
#counter .box-text li{}
/*-------------- footer --------------*/
#footer{clear: both; text-align: center; padding: 10px 0px 0px 0px; color: #aaa; font-size: 12px; *font-size: 11px; }
#footer p, #bottom{text-align: center; padding: 0px 0px 5px 0px; color: #aaa; font-size: 12px; *font-size: 11px; }
/*-------------- 隱藏項目 --------------*/
#banner .skiplink, #blog-category, #visitor .box-more a, #crumb .box-more a, #latest-comment .box-text img, #hot-article .box-text img, #recent-article .box-text img{display: none; }
想要改banner圖,請找#banner{}裡的background
其他問題,請迴響發問囉!最後,謝謝大家^^