博客园个性化CSS

html {
	height: 100%;
}
body{
    background-image: url('https://img2023.cnblogs.com/blog/1871540/202312/1871540-20231202225731361-190513902.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
ul {
	word-break: break-all;
}
li {
	list-style: none;
}
p{
    color: #00ffff;
}

a:link {
	color: #ee525c;
	text-decoration: none;
}
a:visited {
	color: #ee525c;
	text-decoration: none;
}
a:hover {
	color: #ee525c;
	text-decoration: underline;
}
a:active {
	color: #ee525c;
	text-decoration: none;
}


#top_nav{
    display: none;
}
#home{
    display: grid; 
    grid-template-columns: 1fr;
    grid-template-rows: 100px auto;
    gap: 0px 0px; 
    grid-template-areas: 
    " header "
    " main "
    ;
    
}

#navigator{
    display: none;
}
/*Title*/
#header{
    height: 150px;
    display: grid;
    grid-area: header; 
    grid-template-columns: 1.91fr 6.18fr 1.91fr;
    grid-template-rows: 100px;
    grid-template-areas: 
    ". blogTitle ."
}

#Header1_HeaderTitle{
    grid-area: Header1;
    text-decoration: none;
    color: #66ccff;
    font-family: 'ZCOOL QingKe HuangYou', sans-serif;
}
#blogTitle {
    display: grid;
    grid-area: blogTitle;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: ". Header1 .";
    color:#071319;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #071319;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: bold;
    background: transparent;
    position: relative;
    transition: all 1s;
    overflow: hidden;
  }
  
  #blogTitle:hover {
    color: white;
  }
  
  #blogTitle::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 0%;
    top: 0;
    left: -40px;
    transform: skewX(45deg);
    background-color: #071319;
    z-index: -1;
    transition: all 1s;
  }
  
  #blogTitle:hover::before {
    width: 160%;
  }




#main{
    display: grid; 
    grid-area: main; 
    grid-template-columns: 1.91fr 6.18fr 1.91fr;
    grid-template-rows: 1fr;
    gap: 0px 0px; 
    grid-template-areas: 
    ". mainContent sideBar";
    
}
#mainContent {
    grid-area: mainContent;
    display: grid; 
    border-radius: 15px;
    background-color: rgba(15, 37, 64, 0.5);
    grid-template-columns: 1fr 8fr 1fr; 
    gap: 0px 0px; 
    grid-template-areas: 
      ". forFlow ."; 
}
.forFlow { 
    grid-area: forFlow;
    grid-template-columns: 1fr 7fr 1fr;   
    grid-template-rows: 10fr 1fr;
    grid-template-areas: 
    ". day .";

    .day {
        box-sizing: border-box;
        width: 1fr;
        height: 154px;

        background: rgba(0, 149, 194, 0);
        border: 1px solid #62656F;
        box-shadow: 12px 17px 51px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(6px);
        border-radius: 17px;
        text-align: center;
        cursor: pointer;
        transition: all 0.5s;
        margin-top: 10px;
        margin-bottom: 10px;
        
        display: grid; 
        grid-template-columns: 0.5fr 2fr 0.5fr; 
        grid-template-rows: 1fr 1fr 1fr; 
        grid-template-areas: 
          ". postTitle ."
          ". . ."
          ". postDesc ."; 
        grid-area: day;

        align-items: center;
        justify-content: center;
        user-select: none;
        font-weight: bolder;
        color: black;
        
        .dayTitle { display: none; }
        .postDesc { 
            color: #66ccff;
            grid-area: postDesc; }
        .postCon{ display: none;}

      }
      
    .day:hover {
        border: 1px solid black;
        transform: scale(1.05);
    }
    .day:active {
        transform: scale(0.95) rotateZ(1.7deg);
    }
    .topicListFooter{
        display: none;
    }

}
.postTitle { 
    grid-area: postTitle;
    font-family: 'ZCOOL QingKe HuangYou', sans-serif;
    color: #66ccff;
    .postTitle2:link{
        font-size: 25px;
        color: #66ccff;
        text-decoration: none;
    }
    .postTitle2:visited{
        font-size: 25px;
        color: #66ccff;
        text-decoration: none;
    }
    .postTitle2:hover{
        font-size: 28px;
        color: #66ccff;
        text-decoration: none;
    }
    .postTitle2:active{
        font-size: 25px;
        color: #66ccff;
        text-decoration: none;
    }
}
#sideBar{
    grid-area: sideBar;
    color: #00ffff;
    
}
.postBody{
    h1,h2,h3,h4,h5,h6{
        color: #00ffff;
    }
}
h1,h2,h3,h4,h5,h6{
    color: #00ffff;
}
#post_next_prev{
    color: #00ffff;
}
/* need to hide*/
#footer{
    display: none;
}
#sidebar_shortcut{
    display: none;
}
#ad_text_under_commentbox{
    display: none;
}
#cnblogs_ch{
    display: none;
}
#opt_under_post{
    display: none;
}
#under_post_card1{
    display: none;
}
#under_post_card2{
    display: none;
}
#under_post_card2{
    display: none;
}
#cnblogs_c1{
    display: none;
}
#green_channel_wechat{
    display: none;
}
#blog_post_info{
    display: none;
}
#commentform_title{
    display: none;
}
#blog-calendar{
    display: none !important;
}
#sidebar_search{
    display: none !important;
}
#sidebar_topviewedposts{
    display: none;
}
/**************************************************
说明:
1:我们建议你通过只改变css的方式来制作新的皮肤模板。当然,页面的部分代
码你也是可以更改的,例如一些图片的地址。但是,请你在递交作品的时候,请同时
提交对页面部分代码的修改备注和说明。以便我们了解。
2:为了保证页面的兼容性,请你分别在IE和Firefox中分别查看你的页面,以便保证页面
对浏览器的兼容性。
3:请你随时关注官方网站。以便获得最新的通知和说明
时间:2008-1-30
作者:杨正祎
**************************************************/

/**************************************************
第一部分:所有的模板都使用的公共样式。公告样式是为了更好的向前和向后兼容。
如果不符合你皮肤的要求,你可以在后面通过更高的优先级覆盖着这些样式,但是
你不能删除这些样式。
**************************************************/
#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: 9pt;
	min-height: 101%;
	background: url("https://img2023.cnblogs.com/blog/1871540/202212/1871540-20221230233019617-237550661.jpg") no-repeat center center fixed;
    //background-size: 1920px;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    //background-color: #fdeff2;
}
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;
	color: #ee525c;
}
a:link {
	color: #ee525c;
	text-decoration: none;
}
a:visited {
	color: b#ee525c;
	text-decoration: none;
}
a:hover {
	color: #ee525c;
	text-decoration: underline;
}
a:active {
	color: #ee525c;
	text-decoration: none;
}
.clear {
	//min-height: 1200px;
	//display: none;
	clear: both;
}
/*****第二部分结束*******************************/

/**************************************************
第三部分:各个页面元素的样式。你可以根据需要随意的更改,并不会牵扯到其他
的皮肤模板。这个部分是最能展现你想象力的部分。其中头部和侧边栏部分是此皮
肤公共的部分。而每个页面特有的部分会有相应的注释和说明。
**************************************************/
/*****home和头部开始**************************/
#home {
	opacity: 0.85;
	margin: 0 auto;
	width: 85%;
	min-width: 950px;
	min-height: 1200px;
	background-color: #fdeff2;
	padding: 30px;
	margin-top: 30px;
	margin-bottom: 50px;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
#header {
	
	position: relative;
    height: 150px;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	//display: table;
}
#blogTitle {
	position: relative;
	top: 40px;
	text-align:center;
	//left: 50%;
	//right: 50%;
	//box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
	height: 60px;
	//clear: both;
	//vertical-align: middle;
	
}
/*
#blogTitle h1 {
	color: #bf242a;
	//top: 50%;
	
	text-align:center;
	font-size: 300%;
	font-weight: bold;
	//line-height: 1.5em;
	//margin-left: 1em;
	//width: 50%;
	//float: left;
}
*/
#blogTitle h1{
	//padding-top: 50%;
	//margin-top:60px;
	text-align:center;
	font-size: 300%;
	font-weight: bold;
	//color: #bf242a;
}
#blogTitle h2 {
	
}
#blogLogo {
	float: right;
}
#navigator {
	z-index:9999;
	clear:both;
	background-color: #f09199;
	position: fixed;
    top: 0;
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 50px;
	opacity: 0.80;
}
#navList {
	/*
	min-height: 60px;
	//margin: auto;
	float: :left;
	*/
	//display: inline-block;
	float: none;
  	text-align:center;
}
#navList li {
	/*
	height: 60px;
	left: 5rem;
	float: left;
	*/
	float:none;
    display: inline-block;
    margin: 0em;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
#navList a {
	display: block;
	width: 9em;
	height: 40px;
	text-align: center;
	padding-top: 10px;
	//border-right: 1px solid #ccc;
}
#navList a:link, #navList a:visited, #navList a:active {
	color: #bf242a;
	font-weight: bolder;
	font-size: 150%;
}
#navList a:hover {
	color: #bf242a;
	background-color: #e6cde3;
	text-decoration: none;
}

.blogStats {
	float: right;
	color: #ccc;
	//margin-top: 8px;
	margin-right: 2px;
	text-align: right;
}
/*****home和头部结束**************************/

/*****主页文章列表开始**************************/
#main{
	width: 100%;
	min-width: 950px;
	//min-height: 1200px;
	text-align: left;
}
#mainContent .forFlow{
	margin-right: 22em;
	//margin:auto;
	float: none; 
	width: auto;
}

#mainContent {
	min-height: 200px;
	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: -25em;
	width: 100%
}
.day {
	min-height: 10px;
	_height: 10px;
	margin-bottom: 20px;
	padding-bottom: 5px;
}
.dayTitle {
	width: 100%;
	color: #ee827c;

	font-weight: bold;
	line-height: 1.5em;
	font-size: 130%;
	margin-top: 3px;
	margin-bottom: 10px;

	clear:both;
	border-bottom: 2px solid #ee827c;
	text-align:center;

}
.postTitle {
	position: relative;
	//font-size: 140%;
	font-weight: bold;
	//border-bottom: 1px solid #ee827c 10rem;
	float: right;
	left:2rem;
	line-height: 2em;
	width: 100%;
	clear:both;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
	
	color: #777;
	font-weight: bolder;
	font-size: 145%;
}
.postTitle a:hover {
	color: #ee827c;
	font-size: 150%;
	text-decoration: none;
}
.postCon {
	float: right;
	line-height: 1.5em;
	width: 100%;
	clear:both;
	padding: 10px 0;
}
.postDesc {
	float: right;
	width: 80%;
	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 {
	position: absolute;
	right: 8%;
	//display: none;
	width: 230px;
	min-height: 200px;
	//padding: 0px 0 0px 5px;
	float:none;
	float:right;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
}
.newsItem .catListTitle {
	//display: none;
}
.newsItem {
	padding: 15px 0 5px 0px;
	margin-bottom: 8px;
}
.mySearch{
	display: none;
}
/**日历控件样式开始**/
#calendar {
	//display: none;
	width: 229px;
}
#calendar .Cal {
	display: none;
	width: 100%;
	line-height: 1.5em;
}
.Cal {/**日历容器table**/
	display: none;
	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#ee827c;
	text-align: center;
}
.catListComment {
	line-height: 1.5em;
}
.divRecentComment {
	text-indent: 2em;
	color: #666;
}
#sideBarMain ul {
	line-height: 1.5em;
}

/*****侧边栏结束********************************/


/****查看文章页面开始*************************/
#topics {
	width: 100%;
	min-height: 200px;
	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;
	font-size: 120%;
	line-height: 1.5em;
	color: #000;
	border-bottom: 1px solid black;
}
.postBody code{
	color: #640125;
	font-size: 130%;
	border-style:solid;
	border-width:1px;
}
.medium-zoom-image{
	opacity: 0.95;
}
.author_profile_info{
	display: none;
}
.ad_text_commentbox{
	display: none;
}
.under-post-card{
	display: none;
}

#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%;
	text-align: right;
	padding-right: 5px;
	color: #666;
	margin-top: 5px;
}
.feedback_area_title {
	font-weight: bold;
	margin-top: 20px;
	border-bottom: 1px solid #333;
	margin-bottom: 10px;
	padding-left: 8px;
}
.louzhu {
background:transparent url('images/icoLouZhu.gif') no-repeat scroll right top;
padding-right:16px;
}
.feedbackListSubtitle {
	color: #666;
}
.feedbackListSubtitle a:link, .feedbackListSubtitle a:visited, .feedbackListSubtitle a:active {
	color: #666;
	font-weight: normal;
}
.feedbackListSubtitle a:hover {
	color: #f60;
	text-decoration: none;
}
.feedbackManage {
	width: 200px;
	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 black;
	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;
}
.postDesc2 {
	color: #666;
	float: right;
	margin-right: ;
}
.postText2 {
	clear: both;
	color: #666;
}
.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;
}
.mySearch #q {
	height: 1.4em;
	width: 175px;
}
/****列表页面结束******************************/

/****相册页面开始******************************/
.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;
}
/*****第四部分结束*******************************/


#cnblogs_ch{
	display: none;
}
#green_channel{
	display: none;
}
#post_next_prev{
	display: none;
}
#author_profile_follow{
	font-size: 140%;
	font-weight: bolder;
	border-style:solid;
	min-height: 1rem;
	border-width:2px;
	text-align: center;
}
.buryit{
	//display: none;
	background-color:red;
}
.diggit{
	background-color:greenyellow;
}
#footer{
	display: none;
}
posted @ 2023-01-03 13:23  MisakaE  阅读(12)  评论(0编辑  收藏  举报