asiaH1/assets/stylesheets/template/rss2/main.css

70 lines
1.3 KiB
CSS

@charset "utf-8";
/* 首頁 main.php 專用 */
#page_main #main ul {
padding: 0;
margin: 0;
list-style: none;
}
/* 新聞區塊 */
#main {
overflow: hidden;
}
#boxMain {
float: left;
width: 448px;
}
#boxSide {
float:right;
width: 208px;
}
.newsdata {
margin-bottom: 20px;
}
.newsdata h2 {
background-image: url(/assets/titlebg1.png);
font-size: 21px;
line-height: 1;
color: #333;
}
.newsdata ul {}
.newsdata li {
margin: 0 0 12px 0;
padding: 0 0 12px 0;
line-height: 1.5em;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFUlEQVQIW2M8c+bMfwYgMDExYQTRADU6BAJX0q/TAAAAAElFTkSuQmCC') left bottom repeat-x;
}
.newsdata li a {
font-size: 13px;
color: #666;
line-height: 20px;
}
.newsdata li .date {
color: #999;
font-size: 12px;
font-weight: bold;
display: block;
margin-bottom: 4px;
}
.newsdata .note {
text-align: right;
}
.newsdata .note a {
background: url(/assets/morebtn.png) left center no-repeat;
padding: 0 0 0 40px;
display: inline-block;
height: 30px;
line-height: 30px;
font-size: 15px;
font-weight: bold;
color: #666;
}
#page_main #AD1 {}
#page_main #AD1 .ADportfolio1 {
margin-bottom: 12px;
height: 130px;
}
#page_main #AD1 .ADportfolio2 {}
#page_main #AD1 a {
display: block;
}