[ Windows/博客园 ] 博客园自定义样式
1 @charset "utf-8"; 2 /*自定义样式*/ 3 /*去掉推送*/ 4 #ad_t2{ display: none; overflow: hidden; } 5 #cnblogs_c1{ display: none; overflow: hidden; } 6 #cnblogs_c2{ display: none; overflow: hidden; } 7 #under_post_news{ display: none; overflow: hidden; } 8 #under_post_kb{ display: none; overflow: hidden; } 9 #header_block{ display: none; overflow: hidden;} 10 11 /*个人签名样式*/ 12 #MySignature{ font-family: '仿宋','楷体', verdana; color: #ff0000; font-size:16px; font-weight: bold; } 13 14 /*博客样式*/ 15 /*代码样式*/ 16 pre{ margin: 10px 0px 0px 0px ; width:auto; max-height: 500px; padding: 10px; border: 1px dotted #777;background: #f5f5f5;line-height: 1.4; font-family: 'consolas', Courier New, Courier, monospace; font-size: 16px; /*white-space:pre-wrap; */ overflow: auto; white-space: pre-wrap;} 17 18 .blue { color: #0000ff; } 19 .red { color: #ff0000; } 20 .comment{ color: green; } 21 pre span{ display: inline-block; margin:0px; padding: 0px; } 22 /*字体大小*/ 23 div#profile_block *{/*信息导航*/ font-size:15px; } 24 25 /*链接的样式*/ 26 a{ text-decoration: none; } 27 hr{/*分割线外边距*/ margin: 20px 0px; } 28 /*随笔笔的样式*/ 29 .CCnote{ padding-left:30px; } 30 /*编辑区的大小*/ 31 #Edit_txbSecondaryCss{ height: 500px; } 32 #edit_body{ min-height: 700px; } 33 /*字体大小*/ 34 div.postDesc { font-size: 14px; } 35 36 /*自定义公告栏*/ 37 body{ /*background-image: url('https://ftp.bmp.ovh/imgs/2020/03/9e2a9a6c11c506e4.jpg');*/ background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } 38 /*作者ID样式*/ 39 div.headerText{ padding-left: 80px; padding-top: 12px; } 40 a#Header1_HeaderTitle{color: #A9A9A9/*#000 /*#FFF*/; font-weight: bold; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 26px; border-bottom: 2px solid transparent;} 41 a#Header1_HeaderTitle:hover{ border-bottom: 2px solid #A9A9A9 /*#000 /*#FFF*/; } 42 43 div#left{ float: left; width: 77%; margin-right: 0px; } 44 45 div.headerDis{ padding-left: 80px; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 16px; font-weight: bold ; overflow: hidden; text-align: left; padding-bottom: 0px; color : #A9A9A9/*#000 /*#FFF*/; padding-top: 6px; } 46 /*链接样式*/ 47 div#mylinks { width: 450px; padding: 20px 0 10px 0; margin-left: 45px; margin-top: 20px; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 14px; overflow: hidden;} 48 div#mystats { float: right; padding: 10px; } 49 div.blogStats { color: #555; margin-top: 0; padding-top: 5px; margin-bottom: 0; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 14px; } 50 51 /*文章简介*/ 52 div#topics{ border-left: 1px dashed #ccc !important; border-right: 1px dashed #ccc; margin: 20px 10px auto 20px; } 53 div.day{ margin: 20px 5px auto 15px; } 54 div.dayTitle{ color: #555555; font-size: 13px; font-family: verdana; font-weight: bold; text-transform: uppercase;} 55 div.dayTitle img { content: url("https://s2.ax1x.com/2020/03/03/34S1r8.png") !important; width: 16px; height: 16px; } 56 57 div.postTitle{ font-size: 14px; font-weight: bold; font-family: arial; position: relative; padding: 32px 15px 8px 28px; margin: 5px 0 15px 0; background-color: transparent; background-image: url("https://www.cnblogs.com/skins/gray/images/bg_post_tilte.gif"); background-repeat: no-repeat; background-attachment: scroll; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #ccc;} 58 59 /*文章内容*/ 60 div.c_b_p_desc{ font-size: 14px; } 61 div.postCon{ padding: 10px; } 62 div.postDesc { border: solid 0 #f00; text-align: right; font-family: arial; font-size: 14px; color: #808080; margin-top: 5px; line-height: 1.5; } 63 center img{ display: none; } 64 65 /*右侧*/ 66 div#right { float: right; top: 0; width: 23%; background: transparent; overflow-x: hidden; } 67 div#right_content{ background: transparent; width: 90%; border: solid 0 #f00; text-align: left; margin-right: 0px; } 68 div.newItem{ width: 95%; border: solid 0 #f00; padding: 10px; margin-bottom: 10px; } 69 h1.listtitle { padding-top: 14px; padding-left: 42px; font-size: 14px; height: 39px; width: 90%; padding-left: 45px; padding-top: 3px; color: #666; display:none; } 70 71 /*日历*/ 72 .Cal { width: 90%; font-size: 12px; font-family: arial; padding: 0; line-height: 22px; margin-left: 7px; background: url(images/splodge.gif) center center no-repeat; } 73 tbody{ display: table-row-group; vertical-align: middle; border-color: inherit; } 74 table { border-collapse:collapse;; border-spacing: 2px; } 75 tr { display: table-row; vertical-align: inherit; border-color: inherit; } 76 th.CalDayHeader { border: 1px solid #DDD; } 77 td.CalNextPrev a { font-weight: bolder;} 78 td.CalNextPrev + td { font-weight: bolder; font-family: verdana } 79 td.CalOtherMonthDay { color: #fff; } 80 81 /*搜索*/ 82 div#sidebar_search{ display: none; } 83 84 /*h标签*/ 85 h3.catListTitle {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } 86 div#sidebar_toptags h3 { font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } 87 div#sidebar_scorerank h3 {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } 88 h1.catListTitle {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } 89 90 91 div#leftcontentcontainer ul { padding-left: 10px; } 92 div#leftcontentcontainer ul li{ list-style:none;} 93 li.recent_comment_body{ font-size: 12px; } 94 li.recent_comment_author{ font-size: 13px; } 95 96 /*脚*/ 97 div#footer{ text-align: center; color: #333333; font-size:14px; font-family: arial; } 98 99 div.post{ margin: 20px 5px auto 15px; } 100 101 div#comment_nav a{ font-size: 13px; } 102 div.comment_textarea { margin-left: 10px; width: 750px; } 103 104 /*a标签*/ 105 /*头部 名称*/ 106 a.menu:visited { color: #069; text-decoration: none; } 107 a.menu:link { color: #069; text-decoration: none; } 108 a:visited { color: #069; text-decoration: none; } 109 a:link { color: #069; text-decoration: none; } 110 div#mylinks a { text-decoration: none; border-bottom: 1px solid transparent;} 111 div#mylinks a:hover { color: #ff0000; border-bottom: 1px solid #ff0000; } 112 113 .postTitle a{ border-bottom: 1px solid transparent; box-sizing: border-box; } 114 115 a.postTitle2:visited { color: #505050; text-decoration: none; } 116 a.postTitle2:link { color: #505050; text-decoration: none; } 117 a:visited { color: #069; text-decoration: none; } 118 a:link { color: #069; text-decoration: none; } 119 .postTitle a:hover{ border-bottom: 1px solid #505050; box-sizing: border-box; color: #606060; } 120 121 .postTitle2 { border-bottom: dotted 0 #efefef; } 122 a:-webkit-any-link { color: -webkit-link; cursor: pointer; } 123 124 div#leftcontentcontainer ul li a:visited { color: #069; text-decoration: none; } 125 div#leftcontentcontainer ul li a:link { color: #069; text-decoration: none; } 126 div#leftcontentcontainer ul li a:hover { color: #CCC; } 127 128 div.catList a:visited{ color: #069; text-decoration: none; } 129 div.catList a:link{ color: #069; text-decoration: none; } 130 div.catList a:hover{ color: #CCC; } 131 132 div.c_b_p_desc a:hover{ color: #777;} 133 134 div.postDesc a{ color: #000;} 135 div.postDesc a:hover{ color: #0000FF; } 136 137 /**/ 138 div.entrylistItem{ margin: 10px auto; }
/*自定义样式*/ /*去掉推送*/ #ad_t2{ display: none; overflow: hidden; } #cnblogs_c1{ display: none; overflow: hidden; } #cnblogs_c2{ display: none; overflow: hidden; } #under_post_news{ display: none; overflow: hidden; } #under_post_kb{ display: none; overflow: hidden; } #header_block{ display: none; overflow: hidden;} /*个人签名样式*/ #MySignature{ font-family: '仿宋','楷体', verdana; color: #ff0000; font-size:16px; font-weight: bold; } /*博客样式*/ /*代码样式*/ pre{ margin: 10px 0px 0px 0px ; width:auto; max-height: 500px; padding: 10px; border: 1px dotted #777;background: #f5f5f5;line-height: 1.4; font-family: 'consolas', Courier New, Courier, monospace; font-size: 16px; /*white-space:pre-wrap; */ overflow: auto; white-space: pre-wrap;} .blue { color: #0000ff; } .red { color: #ff0000; } .comment{ color: green; } pre span{ display: inline-block; margin:0px; padding: 0px; } /*字体大小*/ div#profile_block *{/*信息导航*/ font-size:15px; } /*链接的样式*/ a{ text-decoration: none; } hr{/*分割线外边距*/ margin: 20px 0px; } /*随笔笔的样式*/ .CCnote{ padding-left:30px; } /*编辑区的大小*/ #Edit_txbSecondaryCss{ height: 500px; } #edit_body{ min-height: 700px; } /*字体大小*/ div.postDesc { font-size: 14px; } /*自定义公告栏*/ body{ /*background-image: url('https://ftp.bmp.ovh/imgs/2020/03/9e2a9a6c11c506e4.jpg');*/ background-size: cover; background-repeat: no-repeat; background-attachment: fixed; } /*作者ID样式*/ div.headerText{ padding-left: 80px; padding-top: 12px; } a#Header1_HeaderTitle{color: #A9A9A9/*#000 /*#FFF*/; font-weight: bold; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 26px; border-bottom: 2px solid transparent;} a#Header1_HeaderTitle:hover{ border-bottom: 2px solid #A9A9A9 /*#000 /*#FFF*/; } div#left{ float: left; width: 77%; margin-right: 0px; } div.headerDis{ padding-left: 80px; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 16px; font-weight: bold ; overflow: hidden; text-align: left; padding-bottom: 0px; color : #A9A9A9/*#000 /*#FFF*/; padding-top: 6px; } /*链接样式*/ div#mylinks { width: 450px; padding: 20px 0 10px 0; margin-left: 45px; margin-top: 20px; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 14px; overflow: hidden;} div#mystats { float: right; padding: 10px; } div.blogStats { color: #555; margin-top: 0; padding-top: 5px; margin-bottom: 0; font-family: '楷体', '仿宋', 'Consola', 'courier new','verdana','monospace'; font-size: 14px; } /*文章简介*/ div#topics{ border-left: 1px dashed #ccc !important; border-right: 1px dashed #ccc; margin: 20px 10px auto 20px; } div.day{ margin: 20px 5px auto 15px; } div.dayTitle{ color: #555555; font-size: 13px; font-family: verdana; font-weight: bold; text-transform: uppercase;} div.dayTitle img { content: url("https://s2.ax1x.com/2020/03/03/34S1r8.png") !important; width: 16px; height: 16px; } div.postTitle{ font-size: 14px; font-weight: bold; font-family: arial; position: relative; padding: 32px 15px 8px 28px; margin: 5px 0 15px 0; background-color: transparent; background-image: url("https://www.cnblogs.com/skins/gray/images/bg_post_tilte.gif"); background-repeat: no-repeat; background-attachment: scroll; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: #ccc;} /*文章内容*/ div.c_b_p_desc{ font-size: 14px; } div.postCon{ padding: 10px; } div.postDesc { border: solid 0 #f00; text-align: right; font-family: arial; font-size: 14px; color: #808080; margin-top: 5px; line-height: 1.5; } center img{ display: none; } /*右侧*/ div#right { float: right; top: 0; width: 23%; background: transparent; overflow-x: hidden; } div#right_content{ background: transparent; width: 90%; border: solid 0 #f00; text-align: left; margin-right: 0px; } div.newItem{ width: 95%; border: solid 0 #f00; padding: 10px; margin-bottom: 10px; } h1.listtitle { padding-top: 14px; padding-left: 42px; font-size: 14px; height: 39px; width: 90%; padding-left: 45px; padding-top: 3px; color: #666; display:none; } /*日历*/ .Cal { width: 90%; font-size: 12px; font-family: arial; padding: 0; line-height: 22px; margin-left: 7px; background: url(images/splodge.gif) center center no-repeat; } tbody{ display: table-row-group; vertical-align: middle; border-color: inherit; } table { border-collapse:collapse;; border-spacing: 2px; } tr { display: table-row; vertical-align: inherit; border-color: inherit; } th.CalDayHeader { border: 1px solid #DDD; } td.CalNextPrev a { font-weight: bolder;} td.CalNextPrev + td { font-weight: bolder; font-family: verdana } td.CalOtherMonthDay { color: #fff; } /*搜索*/ div#sidebar_search{ display: none; } /*h标签*/ h3.catListTitle {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } div#sidebar_toptags h3 { font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } div#sidebar_scorerank h3 {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } h1.catListTitle {font-family: '仿宋', verdana; display: block; font-size: 1.2em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bolder; } div#leftcontentcontainer ul { padding-left: 10px; } div#leftcontentcontainer ul li{ list-style:none;} li.recent_comment_body{ font-size: 12px; } li.recent_comment_author{ font-size: 13px; } /*脚*/ div#footer{ text-align: center; color: #333333; font-size:14px; font-family: arial; } div.post{ margin: 20px 5px auto 15px; } div#comment_nav a{ font-size: 13px; } div.comment_textarea { margin-left: 10px; width: 750px; } /*a标签*/ /*头部 名称*/ a.menu:visited { color: #069; text-decoration: none; } a.menu:link { color: #069; text-decoration: none; } a:visited { color: #069; text-decoration: none; } a:link { color: #069; text-decoration: none; } div#mylinks a { text-decoration: none; border-bottom: 1px solid transparent;} div#mylinks a:hover { color: #ff0000; border-bottom: 1px solid #ff0000; } .postTitle a{ border-bottom: 1px solid transparent; box-sizing: border-box; } a.postTitle2:visited { color: #505050; text-decoration: none; } a.postTitle2:link { color: #505050; text-decoration: none; } a:visited { color: #069; text-decoration: none; } a:link { color: #069; text-decoration: none; } .postTitle a:hover{ border-bottom: 1px solid #505050; box-sizing: border-box; color: #606060; } .postTitle2 { border-bottom: dotted 0 #efefef; } a:-webkit-any-link { color: -webkit-link; cursor: pointer; } div#leftcontentcontainer ul li a:visited { color: #069; text-decoration: none; } div#leftcontentcontainer ul li a:link { color: #069; text-decoration: none; } div#leftcontentcontainer ul li a:hover { color: #CCC; } div.catList a:visited{ color: #069; text-decoration: none; } div.catList a:link{ color: #069; text-decoration: none; } div.catList a:hover{ color: #CCC; } div.c_b_p_desc a:hover{ color: #777;} div.postDesc a{ color: #000;} div.postDesc a:hover{ color: #0000FF; } /**/ div.entrylistItem{ margin: 10px auto; }
博主水平有限,难免疏漏有误,欢迎交流指正。
博客为作者原创,版权所有,保留一切权利。仅供学习和参考,转载必须注明博主ID和转载链接。
博客为作者原创,版权所有,保留一切权利。仅供学习和参考,转载必须注明博主ID和转载链接。