博客园主题微调 2.0
在第一次的基础上修改了css部分。
/* 主体部分 */
body {
/*为网页添加背景*/
background-image: url(https://images.cnblogs.com/cnblogs_com/blogs/781958/galleries/2271310/o_231016115305_F2TK4GTakAAhXN2.jpg);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
#home {
/*使主体部分透明*/
opacity: 0.8;
/* 背景颜色 */
background-color: black;
}
/* 主页页眉 */
#top_nav{
/*隐藏博客园导航栏*/
display:none;
}
#blogTitle h1 {
/*修改页首字体大小和位置*/
font-size: 36px;
margin-top: 10px;
}
#blogTitle h1 a {
/*修改页首字体颜色*/
color: white;
}
#navList a {
/*修改导航栏内边距*/
padding-top: 13px;
}
#navigator {
/*修改导航栏字体大小*/
font-size: 17px;
margin-top: 48px;
}
#navList a:link,#navList a:visited,#navList a:active {
/*修改导航栏字体颜色*/
color: white;
font-weight: bold;
}
#navList a:hover{
/*修改导航栏字体颜色*/
color: black;
}
#navigator {
/* 隐藏导航栏上下边框 */
border-bottom: none;
border-top: none;
}
.blogStats {
/*隐藏统计信息*/
display: none;
overflow: hidden;
}
#homepage_top_pager>.pager{
/*隐藏顶部翻页*/
display: none;
overflow: hidden;
}
/* 首页主体 */
.skin-simplememory #main {
/*修改主体部分位置*/
padding: 0px !important;
}
.postTitle {
/* 修改文章标题颜色 */
border-left: 3px solid #21759b;
}
.postTitle a:link, .postTitle a:visited, .postTitle a:active {
/* 修改文章标题颜色 */
color: white;
}
.c_b_p_desc {
/*修改文章摘要字体大小*/
font-size: 13px;
/* 修改摘要字体颜色 */
color: white;
}
.postDesc {
/*修改文章摘要位置*/
background: none;
padding-left: 5px;
margin-top: 0px;
}
.c_b_p_desc_readmore {
/*修改阅读更多字体颜色*/
color: #21759b !important;
}
.postTitl2 {
/*修改当前标签文章位置*/
padding-top: 0px;
}
#nav_next_page>a{
/*修改阅读下一页字体颜色*/
color: #3671a5;
}
/* 文章主体 */
#topics .postTitle {
/*修改文章标题字体大小*/
font-size: 240%;
}
.postBody {
/* 修改文章字体颜色 */
color: white;
}
.postBody h4 {
/* 修改文章中h4标题的字体颜色 */
color: white;
}
.cnblogs-markdown :not(pre,div,td)>code, .blogpost-body :not(pre,div,td)>code {
/* 修改代码背景颜色 */
background-color: rgb(255,255,255,0.2);
color: inherit;
}
.author_profile_info {
/*修改作者头像位置*/
margin-top: 15px;
margin-bottom: 10px;
}
#author_profile a{
/* 修改头像右侧名字颜色 */
color:white;
}
.author_profile_info a{
/* 隐藏粉丝、关注链接下划线 */
text-decoration: none !important;
}
#post_next_prev a{
/* 修改上一篇、下一篇链接颜色 */
color: white;
}
#post_next_prev a{
/* 隐藏上一篇、下一篇链接下划线 */
text-decoration: none !important;
}
#green_channel{
/*隐藏分享框*/
display: none;
}
#div_digg{
/*隐藏推荐反对*/
display: none;
}
.under-post-card{
/*隐藏广告和推荐*/
display: none;
overflow: hidden;
}
#cnblogs_ch {
/*隐藏广告*/
display: none;
overflow: hidden;
}
#commentform_title a {
/* 隐藏vip推荐 */
font-size: 13px;
display: none;
}
#topics .postDesc {
/*修改文章信息位置*/
margin-top: 16px;
}
/* 标签或分类 */
.entrylistItem {
/*修改分类中查看文章的位置*/
margin-bottom: 30px;
padding-bottom: 0px;
}
.entrylistPosttitle a:link, .entrylistPosttitle a:visited, .entrylistPosttitle a:active {
/*修改分类中查看文章的标题字体颜色*/
color: white;
}
.category-block-list a{
/*修改分类的字体颜色*/
color: white;
}
#taglist_main a:link{
/*修改标签中查看文章的标题字体颜色*/
color: white;
}
#myposts .PostList span{
/*修改标签中查看文章的标题字体颜色*/
color: white;
}
#taglist_main a:visited{
/*修改标签字体颜色*/
color: white;
}
body {
/* 修改标签中标题的字体颜色 */
color: white;
}
/* 侧边栏 */
.skin-simplememory #sideBarMain {
/*修改侧边栏位置*/
padding: 0px !important;
}
#sideBar h3 {
/*修改侧边栏字体大小*/
font-size: 16px;
}
#btnZzk {
/*隐藏搜索标志*/
display: none;
overflow: hidden;
}
.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
/* 修改侧边栏背景颜色 */
background: none;
}
#sideBar a {
/* 修改侧边栏标题字体颜色 */
color: white !important;
}
/* 主页页脚 */
#footer {
/*修改页脚位置*/
margin-top: 10px;
margin-bottom: 10px;
padding-top: 24px;
}
/* 手机端显示 */
@media screen and (max-width: 768px){
body {
/*修改手机端背景*/
background-image: url(https://images.cnblogs.com/cnblogs_com/blogs/781958/galleries/2271310/o_231016115305_F2FQijpaEAArdQF.jpg);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
.skin-simplememory{
/*显示四周背景*/
padding: 20px 15px 0px 15px;
}
#blogTitle h1 {
/*修改页首字体大小*/
font-size: 32px;
}
#home {
/* 显示完整搜索栏 */
padding: 24px;
}
#navigator {
/*修改导航栏字体大小*/
font-size: 15px;
margin-top: 48px;
}
#navList a {
/*修改导航栏内边距*/
padding-top: 15px;
}
#sidebar_search_box input[type=text] {
/* 修改搜索框长度 */
width: 235px !important;
}
#taglist td {
/* 修改手机端标签显示位置 */
padding: 10px 0px 0px 0px;
}
}

浙公网安备 33010602011771号