自定義博客css樣式

@charset "utf-8";
/* CSS Document */

/**************************************************
第一部分:全部的模板都使用的公共樣式。公告樣式是爲了更好的向前和向後兼容。
若是不符合你皮膚的要求,你能夠在後面經過更好的優先級覆蓋着這些樣式,可是
你不能刪除這些樣式。
**************************************************/
#EntryTag {
	margin-top: 20px;
	font-size: 9pt;
	color: gray;
}
.topicListFooter {
	text-align: right;
	margin-right: 10px;
	margin-top: 10px;
}
#divRefreshComments{
	text-align: right; 
	margin-right: 10px;
	margin-bottom: 5px;
	font-size: 9pt;
}
/*****第一部分結束*******************************/

/**************************************************
第二部:公共樣式(全局樣式)。公共會對全部頁面的標籤都起做用。這個部分你
能夠隨意的更改,並不會牽扯到其餘的皮膚模板。可是每次更改都要注意你的皮膚
模板全部頁面的變化。由於它們是全局的。
**************************************************/
* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	color:#000;
	background:#FFF;
	font-family: "微軟雅黑","verdana","ms song","宋體","Arial", "Helvetica", "sans-serif";
	font-size: 14px;
	min-height: 101%;
	width:60em;
	margin-left:auto;
	margin-right:auto;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset, img {
	border: 0;
}
ul {
	word-break: break-all;
}
li {
	list-style: none;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
a:link {
	color: black;
	text-decoration: none;
}
a:visited {
	color: black;
	text-decoration: none;
}
a:hover {
	color: #F60;
	background-color:#e9f3e8;
	-moz-border-radius: 9px;
	-khtml-border-radius: 9px;
	-webkit-border-radius: 9px;
	border-radius: 9px;
}
a:active {
	color: black;
	text-decoration: none;
}
.clear {
	clear: both;
}
/*****第二部分結束*******************************/

/**************************************************
第三部分:各個頁面元素的樣式。你能夠根據須要隨意的更改,並不會牽扯到其餘
的皮膚模板。這個部分是最能展示你想象力的部分。其中頭部和側邊欄部分是此皮
膚公共的部分。而每一個頁面特有的部分會有相應的註釋和說明。
**************************************************/
/*****home和頭部開始**************************/
#home {
	margin: 0 auto;
	width:95%;
	min-width: 60em;
}
#header {
	padding-bottom: 0.4em;
	margin-top: 0.8em;
}
#blogTitle {
	height: 7em;
	clear: both;
	border:1px solid #999;
	-moz-border-radius: 11px;
	-khtml-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	-webkit-box-shadow:5px 2px 6px #000;-moz-box-shadow:5px 2px 6px #000;padding:4px 10px;
}
#blogTitle h1 {
	font-size: 200%;
	font-weight: bold;
	line-height: 2em;
	margin-left: 1em;
	margin-top: 0.4em;
	width: 50%;
	float: left;
}
#blogTitle h2 {
	margin-left: 4em;
	line-height: 1.5em;
	width: 50%;
	float: left;
}
#blogLogo {
	float: right;
}
#navigator {
/*	background-color: black;
	height: 30px;
	clear: both;*/

	margin-top:0.3em;
	height: 2em;
	clear:both;
	border:1px solid #999;
	-moz-border-radius: 11px;
	-khtml-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	-webkit-box-shadow:5px 2px 6px #000;-moz-box-shadow:5px 2px 6px #000;padding:4px 10px;
}
#navList {
	min-height: 1.5em;
	float: left;
}
#navList li {
	float: left;
}
#navList a {
	display: block;
	padding-left:0.5em;
	padding-right:0.5em;
	line-height:2em;
	float: left;
	text-align: center;
	border-right: 1px solid #999;
}
#navList a:link, #navList a:visited, #navList a:active {
/*	color: #ccc;*/
}
#navList a:hover {
/*	color: white;
	background-color: #F60;
	text-decoration: none;*/
	padding-left:0.8em;
	padding-right:0.8em;
}

.blogStats {
	float: right;
	font-size:0.8em;
	color: #666;
	margin-top: 0.9em;
	margin-right: 0.2em;
	text-align: right;
}
/*****home和頭部結束**************************/

/*****主頁文章列表開始**************************/
#main{
	width: 100%;
	min-width: 60em;
	text-align: left;
}
#mainContent .forFlow{
	margin-left: 14em;
	float: none; 
	width: auto;
}

#mainContent {
	min-height: 18em;
	padding: 0px 0px 10px 0;
	*padding-top:10px;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
	
	float: right;
	margin-left: -26em;
	width: 100%
}
.day {
	min-height: 10px;
	_height: 10px;
	margin-bottom: 20px;
	padding-bottom: 5px;
}
.dayTitle {
	width: 100%;
	color: #666;

	font-weight: bold;
	line-height: 1.5em;
	font-size: 110%;
	margin-top: 3px;
	margin-bottom: 10px;
	clear:both;
	border-bottom: 2px solid #e9f3e8;
	text-align:center;

}
.postTitle {
	font-size: 110%;
	font-weight: bold;
	/*border-bottom: 1px solid #9DAAF4;*/
	float: right;
	line-height: 1.5em;
	width: 100%;
	clear:both;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
	color: #444;
}
.postTitle a:hover {
	color: #F60;
	text-decoration: none;
}
.postCon {
	float: right;
	line-height: 1.5em;
	width: 100%;
	clear:both;
	padding: 10px 0;
}
.postDesc {
	float: right;
	width: 100%;
	clear:both;
	text-align: right;
	padding-right: 5px;
	color: #666;
	margin-top: 5px;
}
.postDesc a:link, .postDesc a:visited, .postDesc a:active {
	color: #666;
}
.postDesc a:hover {
	color: #F60;
	text-decoration: none;
}
.postSeparator {
	clear: both;
	height: 1px;
	border-top: 1px dotted #666;
	width: 100%;
	clear:both;
	float: right;
	margin: 0 auto 15px auto;
}
/*****主頁文章列表開始**************************/

/*****側邊欄開始********************************/
#sideBar {
	width: 14em;
	min-height: 14em;
	padding: 0px 0 0px 5px;
	float: left;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
	font-size:0.9em;
}
.newsItem .catListTitle {
	display: none;
}
.newsItem {
	padding: 15px 0 5px 0px;
	margin-bottom: 8px;
}
/**日曆控件樣式開始**/
#calendar {
	width: 14em;
}
#calendar .Cal {
	width: 100%;
	line-height: 1.5em;
}
.Cal {/**日曆容器table**/
	border: none;
	color: #666;
}
#calendar table a:link, #calendar table a:visited, #calendar table a:active {
	font-weight: bold;
}
#calendar table a:hover {
	color: white;
	text-decoration: none;
	background-color: #F60;
}
.CalTodayDay{/**今天日期樣式**/
	color:#f60;
}
#calendar .CalNextPrev a:link,#calendar  .CalNextPrev a:visited, #calendar .CalNextPrev a:active {/**上個月、下個月箭頭樣式**/
	font-weight: bold;
	background-color: white;
}
.CalDayHeader{
	border-bottom:1px solid #ccc;	
}
.CalTitle{/**日曆年月頭部樣式**/
	width:100%;
	background:white;
	color:black;
	border-bottom:1px solid #666;	
}
/**日曆控件樣式結束**/
.catListTitle {
	font-weight: bold;
	line-height: 1.5em;
	font-size: 110%;
	margin-top: 15px;
	margin-bottom: 10px;
	border-bottom: 1px solid #e9f3e8;
	text-align: center;
}
.catListComment {
	line-height: 1.5em;
}
.divRecentComment {
	color: #666;
	margin-bottom:1em;
}
#sideBarMain ul {
	line-height: 1.5em;
}
/*****側邊欄結束********************************/


/****查看文章頁面開始*************************/
#topics {
	width: 100%;
	min-height: 18em;
	padding: 0px 0px 10px 0;
	float: left;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
}
#topics .postTitle {
	font-size: 130%;
	font-weight: bold;
	border-bottom: 1px solid #999;
	float: left;
	line-height: 1.5em;
	width: 100%;
	padding-left: 5px;
}
.postBody {
	padding: 5px 2px 5px 5px;
	line-height: 1.5em;
	color: #000;
	border-bottom: 1px solid #8686FF;
}
#EntryTag {
	color: #666;
}
#EntryTag a {
	margin-left: 5px;
}
#EntryTag a:link, #EntryTag a:visited, #EntryTag a:active {
	color: #666;
}
#EntryTag a:hover {
	color: #f60;
}
#topics .postDesc {
	float: right;
	width: 100%;
	font-size:0.9em;
	text-align: right;
	padding-right: 5px;
	color: #666;
	margin-top: 5px;
}
.feedback_area_title {
	font-weight: bold;
	margin-top: 20px;
	border-bottom: 1px solid #8686FF;
	margin-bottom: 10px;
	padding-left: 8px;
}
.louzhu {
background:transparent url('images/icoLouZhu.gif') no-repeat scroll right top;
padding-right:16px;
}
.feedbackListSubtitle {
	color: #666;
	font-size:0.9em;
}
.feedbackListSubtitle a:link, .feedbackListSubtitle a:visited, .feedbackListSubtitle a:active {
	color: #666;
	font-weight: normal;
}
.feedbackListSubtitle a:hover {
	color: #f60;
	text-decoration: none;
}
.feedbackManage {
	width: 160px;
	text-align: right;
	float: right;
}
.feedbackCon {
	border-bottom: 1px solid #ccc;
	background: url('images/comment.gif') no-repeat 5px 0px;
	padding: 15px 18px 10px 40px;
	min-height: 35px;
	_height: 35px;
	margin-bottom: 1em;
	line-height: 1.5em;
	width:100%;
}
#divRefreshComments {
	text-align: right;
	margin-bottom: 10px;
}
.commenttb {
	width: 320px;
}
/****查看文章頁面開始************************

/****列表頁面開始******************************/
.entrylistTitle,.PostListTitle,.thumbTitle{/**幾個分類列表的標題樣式**/
	font-size: 110%;
	font-weight: bold;
	border-bottom: 1px solid #8686FF;
	text-align: right;
	padding-bottom: 3px;
	padding-right: 10px;
}

.entrylistDescription {
	color: #666;
	text-align: right;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 10px;
	margin-bottom: 10px;
}
.entrylistItem {
	min-height: 20px;
	_height: 20px;
	margin-bottom: 30px;
	padding-bottom: 5px;
	width: 100%;
}
.entrylistPosttitle {
	font-size: 110%;
	font-weight: bold;
	border-bottom: 1px solid #666;
	line-height: 1.5em;
	width: 100%;
	padding-left: 5px;
}
.entrylistPosttitle a:hover {
	text-decoration: none;
}
.entrylistPostSummary {
	margin-top: 5px;
	padding-left: 5px;
	margin-bottom: 5px;
}
.entrylistItemPostDesc {
	text-align: right;
	color: #666;
}
.entrylistItemPostDesc a:link, .entrylistItemPostDesc a:visited, .entrylistItemPostDesc a:active {
	color: #666;
}
.entrylistItemPostDesc a:hover {
	color: #f60;
}
.entrylist .postSeparator {
	clear: both;
	width: 100%;
	font-size: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
	height: 0;
	border: none;
}

.pager {
	text-align: right;
	margin-right: 10px;
}
.PostList {
	border-bottom: 1px solid #ccc;
	clear: both;
	min-height: 1.5em;
	_height: 1.5em;
	padding-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 5px;
}
.postTitl2 {
	float: left;
	font-size:0.9em;
	color: #666;
}
.postDesc2 {
	color: #666;
	float: right;
	margin-right: ;
	font-size:0.9em;
}
.postText2 {
	clear: both;
	
}
.pfl_feedback_area_title {
	text-align: right;
	line-height: 1.5em;
	font-weight: bold;
	border-bottom: 1px solid #666;
	margin-bottom: 10px;
}
.pfl_feedbackItem {
	border-bottom: 1px solid black;
	margin-bottom: 20px;
}
.pfl_feedbacksubtitle {
	width: 100%;
	border-bottom: 1px dotted #666;
	height: 1.5em;
}
.pfl_feedbackname {
	float: left;
}
.pfl_feedbackManage {
	float: right;
}
.pfl_feedbackCon {
	color: black;
	padding-top: 5px;
	padding-bottom: 5px;
}
.pfl_feedbackAnswer {
	color: #F40;
	text-indent: 2em;
}
.tdSentMessage {
	text-align: right;
}
.errorMessage {
	width: 300px;
	float: left;
}

/****列表頁面結束******************************/*/
/****相冊頁面開始******************************/
.divPhoto {
	border: 1px solid #ccc;
	padding: 2px;
	margin-right: 10px;
}

.thumbDescription {
	color: #666;
	text-align: right;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 10px;
	margin-bottom: 10px;
}
/****相冊頁面開始******************************/


/*****留言頁面開始*****************************/
#footer {
	text-align: center;
	min-height: 15px;
	_height: 15px;
	border-top: 1px solid black;
	margin-top: 10px;
	padding-top: 10px;
	margin-bottom: 10px;
}
/*留言查看頁面的我的信息*/
.personInfo {
	margin-bottom: 20px;
}
/*留言分頁區域*/
.pages {
	text-align: right;
}
/*****留言頁面結束*****************************/
/*****第三部分結束*******************************/

/**************************************************
第四部分:文章內容經常使用標籤格式。這個部分是設置做者寫做內容的部分。例如:
若是做者的文章用有p標籤,則可經過這個對這些文章中的p標籤進行設置。前面
的".postBody"明確的指出了這裏樣式的做用範圍。僅僅適用於文章主體部分。
建議這個不要設置過於詳細的細節。由於,一些樣式,一篇文章比較適合的話,
並不能保證全部的文章都適合。
**************************************************/
/*文章內部經常使用標籤格式*/
.postBody {
	line-height: 1.5em;
}
.postBody p,.postCon  p{
	text-indent: 2em;
	margin: 0 auto 1em auto;
}
.postBody h2{
	font-size: 150%;
	margin: 15px auto 2px auto;
	font-weight:bold;
}
.postBody h3 {
	font-size: 120%;
	margin: 15px auto 2px auto;
	font-weight:bold;
}
.postBody h4{
	font-size:110%;
	margin:15px auto 2px auto;
	font-weight:bold;
	color:#333;
}

.postBody h5{
	font-size:100%;
	margin:15px auto 2px auto;
	font-weight:bold;
	color:#333;
}

.postBody a:link,.postBody a:visited,.postBody a:active{
	text-decoration:underline;
}
.postCon a:link,.postCon a:visited,.postCon a:active{
	text-decoration:underline;
}
.postBody ul,.postCon ul{
	margin-left:2em;	
}

.postBody li,.postCon li{
	list-style-type:disc;
	margin-bottom:1em;
}

.postBody blockquote{
	background:url('images/comment.gif') no-repeat 25px 0px;
	padding:10px 60px 5px 60px;
	min-height:35px;
	_height:35px;
	line-height:1.6em;
	color:#333;
}
/*****第四部分結束*******************************/
相關文章
相關標籤/搜索