Pure CSDN 社区

Pure CSDN - 重塑开发者社区

  1. /* ==UserStyle==
  2. @name Pure CSDN 社区
  3. @namespace github.com/openstyles/stylus
  4. @version 1.0.1
  5. @description Pure CSDN - 重塑开发者社区
  6. @author CWorld
  7. @license GPL-3.0-only
  8. @var select COLOR1 "主配色" {
  9. "默认红": "#e33e33",
  10. "浅草绿": "#00bb6a",
  11. "梦析蓝": "#00b6ff",
  12. "幻想紫": "#8a72ff",
  13. }
  14. @var select COLOR2 "次配色" {
  15. "默认红": "#e33e3330",
  16. "浅草绿": "#00bb6a30",
  17. "梦析蓝": "#00b6ff30",
  18. "幻想紫": "#8a72ff30",
  19. }
  20. @var select AN "动画特效" {
  21. "非线性": ".3s ease-in-out",
  22. "果冻弹": "cubic-bezier(0.68, -0.55, 0.27, 1.55)",
  23. "直线型": ".3s",
  24. }
  25. ==/UserStyle== */
  26.  
  27. @-moz-document domain("csdn.net") {
  28. /* 定义变量 */
  29. :root{
  30. --AN: .3s ease-in-out;
  31. --AN-APPE: AN-APPE .3s;
  32. --COLOR1: #8a72ff;
  33. --COLOR2: #8a72ff30;
  34. --COLOR3: #efefef;
  35. --COLOR4: #ddd;
  36. --COLOR5: #0000007a;
  37. }
  38. @keyframes AN-APPE
  39. {
  40. from {transform: translatey(-10px)}
  41. to {transform: translatey(0)}
  42. }
  43.  
  44. /* 引入MD图标 */
  45. @font-face {
  46. font-weight: 400;
  47. font-family: 'Material Icons';
  48. font-style: normal;
  49. src: local('Material Icons'), local('MaterialIcons-Regular'), url(https://cdn.jsdelivr.net/npm/mdui@1.0.0/dist/icons/material-icons/MaterialIcons-Regular.woff2) format('woff2'), url(https://cdn.jsdelivr.net/npm/mdui@1.0.0/dist/icons/material-icons/MaterialIcons-Regular.woff) format('woff');
  50. }
  51.  
  52.  
  53. /* 广告 */
  54. .pulllog-box, #kp_box_476, .meau-gotop-box, .right-item,
  55. .mb8, .t0, .blog_star_enter, .csdn-toolbar .container li.vip-caise,
  56. a.btn-maimai.low-height.hover-box.btn-comments,
  57. .banner-ad-box, .right_top, .indexSuperise,
  58. main ul.feedlist_mod li[data-type="ad"],
  59. .slide-outer.right_top,div#kp_box_434,
  60. .right_extension.slide-outer,.other_company.clearfix,div#ad-div,
  61. .csdn-toolbar .container .app-control .appControl {
  62. display:none !important;
  63. }
  64.  
  65. /* 自动展开文章 */
  66. .comment-list-box,.article_content{height:100%!important;max-height:100% !important;}.opt-box.text-center{display:none;}
  67.  
  68. /* 最新文章 */
  69. #asideNewArticle{
  70. display:none !important;
  71. }
  72.  
  73. /* 个人分类 */
  74. #asideCategory{
  75. display:none !important;
  76. }
  77.  
  78. /* 热门文章 */
  79. #asideHotArticle{
  80. display:none !important;
  81. }
  82.  
  83. /* 最新评论 */
  84. #asideNewComments{
  85. display:none !important;
  86. }
  87.  
  88. /* 联系我们 */
  89. #asideFooter{
  90. display:none !important;
  91. }
  92.  
  93. /* --顶栏-- */
  94.  
  95. /* 图标修正 */
  96.  
  97. .csdn-toolbar .container .pull-right .write-bolg-btn:before,
  98. #csdn_tool_otherPlace .pull-right .gitChat.liCollection a:before,
  99. .csdn-toolbar .container .pull-right .gitChat.liCollection a:before,
  100. #csdn_tool_otherPlace .pull-right .gitChat a:before,
  101. .csdn-toolbar .container .pull-right .gitChat a:before
  102. {
  103. /* stylelint-disable-next-line */
  104. font-family: 'Material Icons';
  105. /* Support for all WebKit browsers. */
  106. -webkit-font-smoothing: antialiased;
  107. /* Support for Safari and Chrome. */
  108. text-rendering: optimizeLegibility;
  109. /* Support for Firefox. */
  110. -moz-osx-font-smoothing: grayscale;
  111. }
  112.  
  113. .csdn-toolbar .container .pull-right .write-bolg-btn:before {
  114. content: 'edit';
  115. font-size: 19px;
  116. position: relative;
  117. top: 0;
  118. left: 34px;
  119. color: var(--COLOR1);
  120. }
  121.  
  122. #csdn_tool_otherPlace .pull-right .gitChat.liCollection a i.collection, .csdn-toolbar .container .pull-right .gitChat.liCollection a i.collection,
  123. #csdn_tool_otherPlace .pull-right .gitChat a i.message, .csdn-toolbar .container .pull-right .gitChat a i.message {
  124. opacity: 0;
  125. }
  126. #csdn_tool_otherPlace .pull-right .gitChat.liCollection a:before,
  127. .csdn-toolbar .container .pull-right .gitChat.liCollection a:before {
  128. content: 'star_border';
  129. font-size: 20px;
  130. position: absolute;
  131. top: 0;
  132. left: 8px;
  133. color: #525252;
  134. }
  135. #csdn_tool_otherPlace .pull-right .gitChat a:before,
  136. .csdn-toolbar .container .pull-right .gitChat a:before {
  137. content: 'notifications_none';
  138. font-size: 20px;
  139. position: absolute;
  140. top: 0;
  141. left: 8px;
  142. color: #525252;
  143. }
  144.  
  145. /* 顶栏美化 */
  146. body .csdn-toolbar .container .left-menu a[title="商城"],
  147. body .csdn-toolbar .container .left-menu a[title="活动"],
  148. body .csdn-toolbar .container .left-menu a[title="专题"],
  149. body .csdn-toolbar .container .left-menu a[title="招聘"],
  150. body .csdn-toolbar .container .left-menu a[title="直播"],
  151. body .csdn-toolbar .container .left-menu a[title="VIP会员"]
  152. {
  153. transition: var(--AN);
  154. opacity: 0;
  155. }
  156.  
  157. body .csdn-toolbar .container .left-menu:hover a[title="商城"],
  158. body .csdn-toolbar .container .left-menu:hover a[title="活动"],
  159. body .csdn-toolbar .container .left-menu:hover a[title="专题"],
  160. body .csdn-toolbar .container .left-menu:hover a[title="招聘"],
  161. body .csdn-toolbar .container .left-menu:hover a[title="直播"],
  162. body .csdn-toolbar .container .left-menu:hover a[title="VIP会员"] {
  163. opacity: .2;
  164. }
  165.  
  166. body .csdn-toolbar .container .left-menu li:hover a[title="商城"],
  167. body .csdn-toolbar .container .left-menu li:hover a[title="活动"],
  168. body .csdn-toolbar .container .left-menu li:hover a[title="专题"],
  169. body .csdn-toolbar .container .left-menu li:hover a[title="招聘"],
  170. body .csdn-toolbar .container .left-menu li:hover a[title="直播"],
  171. body .csdn-toolbar .container .left-menu li:hover a[title="VIP会员"] {
  172. opacity: 1;
  173. }
  174. #csdn_tool_otherPlace li, .csdn-toolbar .container li {
  175. border-left: none;
  176. border-right: none;
  177. width: auto;
  178. padding-left: 10px;
  179. padding-right: 10px;
  180. -webkit-transition: var(--AN);
  181. transition: var(--AN);
  182. }
  183. .csdn-toolbar .container .left-menu li .active {
  184. border-bottom: none;
  185. }
  186. .csdn-toolbar .container .left-menu li:not(.app-app) a:after {
  187. transition: var(--AN);
  188. content: '';
  189. display: block;
  190. height: 0;
  191. background: var(--COLOR1);
  192. width: 90%;
  193. margin-left: 5%;
  194. opacity: 0;
  195. border-radius: 3px 3px 0 0;
  196. }
  197. .csdn-toolbar .container .left-menu li:not(.app-app) a:hover:after {
  198. opacity: .4;
  199. margin-top: -3px;
  200. height: 3px !important;
  201. }
  202. .csdn-toolbar .container .left-menu li .active:after {
  203. opacity: 1 !important;
  204. margin-top: -3px;
  205. height: 3px !important;
  206. }
  207.  
  208. .csdn-toolbar {
  209. background: #fff;
  210. box-shadow: 0 4px 8px 0 #0001;
  211. }
  212. #csdn_tool_otherPlace .pull-right .write-bolg-btn #blogClick, .csdn-toolbar .container .pull-right .write-bolg-btn #blogClick {
  213. height: 32px;
  214. width: 92px;
  215. margin-top: 6px;
  216. border-radius: 50px;
  217. color: var(--COLOR1);
  218. background: var(--COLOR2);
  219. padding: 0 7px;
  220. }
  221. #csdn_tool_otherPlace .pull-right .gitChat a span, #csdn_tool_otherPlace .pull-right .write-bolg-btn a span, .csdn-toolbar .container .pull-right .gitChat a span, .csdn-toolbar .container .pull-right .write-bolg-btn a span {
  222. color: var(--COLOR1);
  223. margin-left: 0;
  224. }
  225. #csdn_tool_otherPlace .pull-right .write-bolg-btn a i.csdn-write, .csdn-toolbar .container .pull-right .write-bolg-btn a i.csdn-write {
  226. background: none;
  227. }
  228. #csdn_tool_otherPlace .search_bar, .csdn-toolbar .container .search_bar {
  229. width: 320px;
  230. height: 32px;
  231. border-radius: 50px;
  232. background-color: var(--COLOR3);
  233. margin: 6px 8px;
  234. }
  235. #csdn_tool_otherPlace .search_bar .input_search, .csdn-toolbar .container .search_bar .input_search {
  236. caret-color: #767676;
  237. color: #767676;
  238. width: 270px;
  239. padding-left: 16px;
  240. border: 0;
  241. height: 32px;
  242. border-radius: 0;
  243. }
  244. #csdn_tool_otherPlace .search_bar .btn-search, #csdn_tool_otherPlace .search_bar .btn_clear, .csdn-toolbar .container .search_bar .btn-search, .csdn-toolbar .container .search_bar .btn_clear {
  245. transition: var(--AN);
  246. background-color: var(--COLOR4) !important;
  247. border-radius: 50px;
  248. }
  249. #csdn_tool_otherPlace .search_bar .btn-search, #csdn_tool_otherPlace .search_bar .btn_clear[style="background: rgb(227, 62, 51);"],.csdn-toolbar .container .search_bar .btn-search[style="background: rgb(227, 62, 51);"], .csdn-toolbar .container .search_bar .btn_clear[style="background: rgb(227, 62, 51);"] {
  250. background-color: var(--COLOR1) !important;
  251. }
  252. #csdn_tool_otherPlace .search_bar .drop-down-menu, .csdn-toolbar .container .search_bar .drop-down-menu {
  253. transition: var(--AN);
  254. background: rgb(255, 255, 255);
  255. box-shadow: 0 4px 8px 0 #0001;
  256. position: absolute;
  257. top: 39px;
  258. width: 100%;
  259. padding: 0;
  260. display: block !important;
  261. opacity: .5;
  262. border-radius: 0 0 10px 10px;
  263. height: 0;
  264. overflow: hidden;
  265. transform: translatey(-5px);
  266. }
  267. #csdn_tool_otherPlace .search_bar .drop-down-menu[style="display: block;"], .csdn-toolbar .container .search_bar .drop-down-menu[style="display: block;"] {
  268. display: block !important;
  269. opacity: 1;
  270. height: 1100%;
  271. padding: 8px 0 12px 0;
  272. transform: translatey(0);
  273. }
  274.  
  275. .csdn-toolbar .container .sub-menu-box .sub-menu {
  276. background-color: rgb(255, 255, 255);
  277. border-radius: 8px;
  278. box-shadow: 0 4px 8px 0 #0001;
  279. }
  280.  
  281.  
  282. /* --修正-- */
  283. ul.pub_recommend .pub_recom_item .pr_i_d em, ul.pub_recommend .pub_recom_item .pr_i_t em, .recommend-box .recommend-item-box h4 em, .article-list .recommend-item-box h4 em, .recommend-box .article-item-box h4 em, .article-list .article-item-box h4 em, .recommend-box .baiduSearch .desc a em, .article-list .baiduSearch .desc a em, .markdown_views a, .markdown_views a:visited, .resource_box .resource_box_info .resource_box_dl dd .resource_box_desc .resource_box_b .resource_tags a:hover, .recommend-box .type_blog .content .desc a em, .article-list .type_blog .content .desc a em {
  284. color: var(--COLOR1);
  285. }
  286. .opt-letter-watch-box .personal-watch:hover, .download_box .download_content .resource_dl_btn .dl_btn:active, .download_box .download_content .resource_dl_btn .dl_btn:hover, .download_box .download_content .resource_dl_btn .dl_btnvisited, .resource_user .user_fn .attention:hover, .recommend-box-ident:before {
  287. background-color: var(--COLOR1);
  288. }
  289.  
  290.  
  291.  
  292.  
  293. }
  294.  
  295. @-moz-document domain("www.csdn.net") {
  296. /* --去除繁杂元素-- */
  297. .right_box.csdn-tracking-statistics, .enterprise_blog,
  298. .csdn-side-toolbar a.option-box[data-type="app"],
  299. .csdn-side-toolbar a.option-box[data-type="cs"] {
  300. display: none;
  301. }
  302.  
  303. /* 卡片 */
  304. aside .right_box, main ul.feedlist_mod, nav {
  305. background-color: #fff;
  306. border-radius: 10px;
  307. box-shadow: 0 4px 8px 0 #0001 !important;
  308. }
  309.  
  310. /* --左侧栏-- */
  311. nav div div ul li {
  312. background-color: #fff0 !important;
  313. }
  314. nav div div ul .active a {
  315. background-color: var(--COLOR1);
  316. }
  317. nav .clearfix .nav_com ul li a {
  318. transition: var(--AN);
  319. border-radius: 5px;
  320. width: auto;
  321. margin: 2px 6px;
  322. }
  323. nav .clearfix .nav_com ul li:hover a {
  324. color: var(--COLOR1);
  325. background-color: var(--COLOR2);
  326. }
  327.  
  328.  
  329. /* --主内容-- */
  330.  
  331. /* 滚动banner */
  332. main .carousel .carousel-left {
  333. position: relative;
  334. width: 496px;
  335. height: 216px;
  336. }
  337. main .carousel {
  338. width: 760px;
  339. height: 224px;
  340. background: #fff0;
  341. overflow: visible;
  342. }
  343. main .carousel .carousel-left .carousel-inner {
  344. position: relative;
  345. width: 97%;
  346. margin-left: 3%;
  347. border-radius: 8px;
  348. box-shadow: 0 4px 8px 0 #0001 !important;
  349. }
  350. main .carousel .carousel-left .carousel-inner .carousel-item {
  351. height: 224px;
  352. }
  353.  
  354. main .carousel .carousel-left .carousel-indicators {
  355. display: list-item;
  356. position: absolute;
  357. right: auto;
  358. bottom: 10px;
  359. left: 0;
  360. padding-left: 0;
  361. margin-right: 0;
  362. margin-left: -2px;
  363. list-style: none;
  364. top: 0;
  365. width: 10px;
  366. }
  367. main .carousel .carousel-left .carousel-indicators li {
  368. transition: var(--AN);
  369. transition-delay: 0s;
  370. display: list-item;
  371. background-color: var(--COLOR2);
  372. margin: 0;
  373. margin-bottom: 8px;
  374. width: 10px;
  375. height: 30px;
  376. border-radius: 10px;
  377. }
  378. main .carousel .carousel-left .carousel-indicators li.active {
  379. margin-left: 0;
  380. width: 10px;
  381. height: 50px;
  382. background-color: var(--COLOR1) !important;
  383. }
  384. main .carousel .carousel-left .carousel-control.left, main .carousel .carousel-left .carousel-control.right, main .carousel .carousel-left .carousel-inner .carousel-item .cover {
  385. display: none;
  386. }
  387. main .carousel .carousel-left .carousel-inner .carousel-item img {
  388. transition: var(--AN);
  389. }
  390. main .carousel .carousel-left .carousel-inner .carousel-item:hover img {
  391. scale: 1.05;
  392. }
  393.  
  394. main .carousel .carousel-left .carousel-inner .carousel-item .carousel-caption {
  395. transition: var(--AN);
  396. position: absolute;
  397. bottom: 0;
  398. left: 0;
  399. z-index: 10;
  400. width: 100%;
  401. height: 15px;
  402. padding: 10px 0;
  403. color: #fff;
  404. font-size: 13px;
  405. line-height: 13px;
  406. text-align: center;
  407. text-shadow: none;
  408. background: var(--COLOR5);
  409. box-sizing: content-box;
  410. border-radius: 8px 8px 0 0;
  411. opacity: 0;
  412. }
  413. main .carousel .carousel-left .carousel-inner .carousel-item:hover .carousel-caption {
  414. opacity: 1;
  415. }
  416.  
  417. main .carousel .carousel-right .carousel-right-u:first-child {
  418. margin-bottom: 16px;
  419. }
  420. main .carousel .carousel-right .carousel-right-u {
  421. border-radius: 8px;
  422. box-shadow: 0 4px 8px 0 #0001 !important;
  423. }
  424.  
  425.  
  426. /* 内容推荐 */
  427. main .feed-fix-box {
  428. height: 40px;
  429. }
  430. main .feed-fix-box .scroll-fixbar a {
  431. transition: var(--AN);
  432. width: auto;
  433. margin: 0 36%;
  434. color: var(--COLOR1);
  435. border-radius: 50px;
  436. background-color: var(--COLOR2);
  437. }
  438. main .feed-fix-box .scroll-fixbar a:hover {
  439. background-color: var(--COLOR1);
  440. }
  441. main .feed-fix-box .fix-style-toolbar-suspension {
  442. overflow: visible;
  443. top: 61px;
  444. }
  445. main .feed-fix-box .fix-style-toolbar-suspension a {
  446. transition: var(--AN);
  447. width: auto;
  448. margin: 0 36%;
  449. color: var(--COLOR1);
  450. border-radius: 50px;
  451. background-color: #fff;
  452. box-shadow: 0 4px 8px 0 #0001;
  453. }
  454.  
  455. main ul.feedlist_mod {
  456. overflow: hidden;
  457. }
  458. main ul.feedlist_mod li {
  459. transition: var(--AN);
  460. padding: 18px 24px;
  461. background: #fff;
  462. border-bottom: none;
  463. position: relative;
  464. -webkit-box-shadow: none;
  465. box-shadow: none;
  466. }
  467. main ul.feedlist_mod li:hover {
  468. background: var(--COLOR3);
  469. }
  470. main ul.feedlist_mod li .list_con h2 a {
  471. transition: var(--AN);
  472. }
  473. main ul.feedlist_mod li:hover .list_con h2 a {
  474. color: var(--COLOR1);
  475. }
  476.  
  477. main ul.feedlist_mod li .list_con h2 a span.recommend {
  478. border-radius: 8px;
  479. border: none;
  480. background-color: var(--COLOR2);
  481. color: var(--COLOR1);
  482. }
  483.  
  484. /* --右侧栏-- */
  485. aside .right_box {
  486. margin-bottom: 16px;
  487. }
  488. h3.feed_new_tit .line {
  489. transition: var(--AN);
  490. width: 3px;
  491. background: var(--COLOR1);
  492. overflow: hidden;
  493. margin-right: 5px;
  494. border-radius: 50px;
  495. }
  496. h3.feed_new_tit:hover .line {
  497. width: 16px;
  498. height: 16px;
  499. background: var(--COLOR2);
  500. }
  501. .feed_company ul.company_list li div.content h3.company_name a {
  502. transition: var(--AN);
  503. }
  504. .feed_company ul.company_list li div.content h3.company_name a:hover {
  505. color: var(--COLOR1);
  506. }
  507. .feed_company ul.company_list li div.img_box img {
  508. border-radius: 8px;
  509. }
  510.  
  511. /* --修复-- */
  512. .container {
  513. padding: 16px 0 0;
  514. }
  515. .csdn-side-toolbar a.option-box {
  516. transition: var(--AN);
  517. border: none;
  518. -webkit-box-shadow: 0 4px 8px 0 #0001;
  519. box-shadow: 0 4px 8px 0 #0001;
  520. background-color: #fff;
  521. height: 44px;
  522. border-radius: 10px;
  523. overflow: hidden;
  524. }
  525. .csdn-side-toolbar a.option-box:hover {
  526. transition: var(--AN);
  527. border: none;
  528. -webkit-box-shadow: 0 0 #0000;
  529. box-shadow: 0 0 #0000;
  530. background-color: #fff;
  531. height: 44px;
  532. border-radius: 10px;
  533. }
  534. .csdn-side-toolbar a.option-box img {
  535. transition: var(--AN);
  536. opacity: 1;
  537. }
  538. .csdn-side-toolbar a.option-box.active img, .csdn-side-toolbar a.option-box:hover img {
  539. display: block;
  540. transform: translatey(-44px);
  541. opacity: 0;
  542. }
  543. .csdn-side-toolbar a.option-box .show-txt {
  544. transition: var(--AN);
  545. color: var(--COLOR1);
  546. background-color: var(--COLOR2);
  547. opacity: 0;
  548. display: -webkit-box;
  549. display: -ms-flexbox;
  550. display: flex;
  551. transform: translatey(44px);
  552. border-radius: 10px;
  553. }
  554. .csdn-side-toolbar a.option-box.active .show-txt, .csdn-side-toolbar a.option-box:hover .show-txt {
  555. opacity: 1;
  556. transform: translatey(0);
  557. }
  558.  
  559.  
  560.  
  561.  
  562. }
  563.  
  564. @-moz-document domain("blog.csdn.net") {
  565. /*
  566. ----------
  567. 自建
  568. ----------
  569. */
  570.  
  571. /* --图标修正-- */
  572.  
  573. .more-toolbox .tool-active.is-like:before,
  574. .more-toolbox .tool-active.tool-item-comment:before,
  575. .more-toolbox .tool-active.tool-QRcode:before,
  576. .more-toolbox .tool-active.is-collection:before,
  577. .more-toolbox .tool-active.tool-more:before,
  578. aside #asideSearchArticle .aside-search .btn-search-blog:before,
  579. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box .comment-like:before
  580.  
  581.  
  582. {
  583. /* stylelint-disable-next-line */
  584. font-family: 'Material Icons';
  585. /* Support for all WebKit browsers. */
  586. -webkit-font-smoothing: antialiased;
  587. /* Support for Safari and Chrome. */
  588. text-rendering: optimizeLegibility;
  589. /* Support for Firefox. */
  590. -moz-osx-font-smoothing: grayscale;
  591. }
  592.  
  593. .more-toolbox .tool-active img, aside #asideSearchArticle .aside-search .btn-search-blog img, .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box .comment-like img {
  594. opacity: 0;
  595. }
  596. .more-toolbox .tool-active:before {
  597. font-size: 21px;
  598. position: absolute;
  599. top: 2px;
  600. left: 10px;
  601. }
  602. .more-toolbox .tool-active.is-like:before {
  603. content: 'favorite_border';
  604. }
  605. .more-toolbox .tool-active.tool-item-comment:before {
  606. content: 'message';
  607. }
  608. .more-toolbox .tool-active.tool-QRcode:before {
  609. content: 'share';
  610. }
  611. .more-toolbox .tool-active.is-collection:before {
  612. content: 'star_border';
  613. }
  614. .more-toolbox .tool-active.tool-more:before {
  615. content: 'more_horiz';
  616. }
  617. aside #asideSearchArticle .aside-search .btn-search-blog:before {
  618. content: 'search';
  619. font-size: 21px;
  620. }
  621.  
  622. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box .comment-like:before {
  623. content: 'favorite_border';
  624. font-size: 21px;
  625. margin-right: -13px;
  626. color: #999aaa;
  627. }
  628.  
  629.  
  630.  
  631. /* 去除繁杂元素 */
  632. .profile-intro-name-boxOpration>.opt-letter-watch-box:nth-child(1) .personal-letter,
  633. aside #asideProfile>div:nth-child(2)>.text-center:nth-child(4),
  634. .csdn-userTooltip-pos:after, aside #asideProfile .badge-box,
  635. .person_deliver.person_deliver_letter_un, .more-toolbox .tool-phong,
  636. .more-toolbox .tool-item a.tool-bt-attend,
  637. .first-recommend-box, .second-recommend-box,
  638. main div.blog-content-box .article-header-box .article-header div.article-info-box div.article-bar-top #blog_detail_zk_collection,
  639. .nodata .recommend-right_aside .kind_person
  640. {
  641. display: none !important;
  642. }
  643.  
  644. /* 隐藏某些博主的自定义图片背景 */
  645. body {
  646. background:#f4f4f4 !important;
  647. }
  648.  
  649. /* 卡片 */
  650. div.aside-box, main div.blog-content-box,
  651. .more-toolbox .left-toolbox, .comment-box,
  652. .recommend-box, .article-list, .filter-box {
  653. background-color: #fff;
  654. border-radius: 10px;
  655. box-shadow: 0 4px 8px 0 #0001 !important;
  656. }
  657. aside div.aside-box {
  658. margin-bottom: 18px;
  659. }
  660. aside div.aside-box h3.aside-title {
  661. background: #00000003;
  662. color: #000000c2;
  663. }
  664. #csdn-userTooltip {
  665. background-color: #fff;
  666. border: none;
  667. border-radius: 10px;
  668. -webkit-box-shadow: rgba(0,0,0,.2) 0 4px 8px 0;
  669. box-shadow: rgba(0,0,0,.2) 0 4px 8px 0;
  670. animation: var(--AN-APPE);
  671. transition: var(--AN);
  672. }
  673.  
  674. /* --左侧栏-- */
  675.  
  676. /* 个人信息 */
  677. aside #asideProfile {
  678. overflow: hidden;
  679. }
  680. aside #asideProfile .profile-intro .avatar-box {
  681. position: absolute;
  682. width: 100px;
  683. height: 100px;
  684. left: 0px;
  685. top: 0px;
  686. z-index: 2;
  687. border-radius: 0 0 50% 0;
  688. }
  689. aside #asideProfile .profile-intro .avatar-box img.avatar_pic {
  690. transition: var(--AN);
  691. display: block;
  692. width: 100px;
  693. height: 100px;
  694. border-radius: 0 0 80% 0;
  695. position: relative;
  696. z-index: 1;
  697. }
  698. aside #asideProfile .profile-intro .avatar-box:hover img.avatar_pic {
  699. transform: translatex(-2px) translatey(-1px);
  700. }
  701. aside #asideProfile .profile-intro .avatar-box:before {
  702. transition: var(--AN);
  703. position: absolute;
  704. display: block;
  705. content:'';
  706. width: 105px;
  707. height: 135px;
  708. background: #00000008;
  709. border-radius: 0 0 80% 0;
  710. z-index: 0;
  711. }
  712. aside #asideProfile .profile-intro .avatar-box:hover:before {
  713. width: 130px;
  714. height: 110px;
  715. }
  716. aside #asideProfile .profile-intro .avatar-box:after {
  717. transition: var(--AN);
  718. position: absolute;
  719. display: block;
  720. content:'';
  721. width: 115px;
  722. height: 110px;
  723. background: #e33e330f;
  724. border-radius: 0 0 80% 0;
  725. z-index: 0;
  726. }
  727. aside #asideProfile .profile-intro .avatar-box:hover:after {
  728. width: 105px;
  729. height: 135px;
  730. }
  731. aside #asideProfile .data-info {
  732. position: relative;
  733. z-index: 1;
  734. }
  735.  
  736. aside #asideProfile .profile-intro .user-info {
  737. margin-left: 120px;
  738. width: 156px;
  739. position: relative;
  740. z-index: 1;
  741. }
  742.  
  743. aside #asideProfile>div:nth-child(2) {
  744. padding-left: 70px;
  745. }
  746.  
  747. .profile-intro-name-boxOpration {
  748. margin-left: 60px;
  749. }
  750. .opt-letter-watch-box {
  751. width: 60px;
  752. }
  753. .opt-letter-watch-box .personal-watch {
  754. transition: var(--AN);
  755. background: var(--COLOR2);
  756. color: var(--COLOR1);
  757. border-radius: 50px;
  758. }
  759. .opt-letter-watch-box .personal-letter {
  760. transition: var(--AN);
  761. border: none;
  762. background: var(--COLOR3);
  763. border-radius: 50px;
  764. }
  765.  
  766. /* 搜索 */
  767. aside #asideSearchArticle .search-comter {
  768. padding: 0;
  769. }
  770. aside #asideSearchArticle .aside-search {
  771. background: #fff0;
  772. margin: 8px;
  773. }
  774. aside #asideSearchArticle .aside-search .btn-search-blog {
  775. transition: var(--AN);
  776. background-color: var(--COLOR3);
  777. border-radius: 50px;
  778. }
  779. aside #asideSearchArticle .aside-search .btn-search-blog:before {
  780. transition: var(--AN);
  781. color: #7e7e7e;
  782. }
  783. aside #asideSearchArticle .aside-search .btn-search-blog-active {
  784. background-color: var(--COLOR2);
  785. }
  786. aside #asideSearchArticle .aside-search .btn-search-blog-active:before {
  787. color: var(--COLOR1);
  788. }
  789.  
  790. /* --主内容-- */
  791.  
  792. /* 正文 */
  793. main div.blog-content-box {
  794. position: relative;
  795. padding: 0 24px 16px;
  796. background: #fff;
  797. }
  798. main div.blog-content-box .article-header-box .article-header div.article-info-box {
  799. background-color: var(--COLOR3);
  800. border-radius: 10px;
  801. padding: 10px;
  802. }
  803. .htmledit_views pre code {
  804. background-color: var(--COLOR3);
  805. border-radius: 10px;
  806. padding: 8px;
  807. }
  808. .hljs-button {
  809. display: block;
  810. right: 5px;
  811. top: 5px;
  812. background-color: white;
  813. border-radius: 6px;
  814. cursor: pointer;
  815. box-shadow: none;
  816. }
  817. .markdown_views pre>code .hljs-button {
  818. transition: var(--AN);
  819. opacity: 0;
  820. }
  821. .markdown_views pre>code:hover .hljs-button {
  822. opacity: 1;
  823. }
  824. main div.blog-content-box .article-header-box .article-header div.article-info-box div.blog-tags-box .tags-box {
  825. margin-bottom: 10px;
  826. }
  827. main div.blog-content-box .article-header-box .article-header div.article-info-box div.blog-tags-box .tags-box.artic-tag-box a.tag-link {
  828. margin-right: 8px;
  829. padding: 2px 10px 3px 10px;
  830. background-color: #fff;
  831. color: var(--COLOR1);
  832. border: none;
  833. height: 23px;
  834. line-height: 17px;
  835. border-radius: 50px;
  836. }
  837. .markdown_views blockquote {
  838. border-left: 8px solid var(--COLOR4);
  839. background: var(--COLOR3);
  840. border-radius: 0 10px 10px 0;
  841. }
  842. .blogger-info-card {
  843. padding: 16px;
  844. border: none;
  845. border-radius: 8px;
  846. background-color: var(--COLOR3);
  847. }
  848. .blogger-info-card .card-rt .card-rt-header .tag {
  849. color: var(--COLOR1);
  850. padding: 2px 8px;
  851. border: none;
  852. border-radius: 50px;
  853. background-color: var(--COLOR2);
  854. }
  855. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box div.info-box .is_bloger, .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box div.new-info-box .is_bloger {
  856. margin-bottom: 3px;
  857. }
  858.  
  859. main div.blog-content-box article #content_views img {
  860. border-radius: 10px;
  861. }
  862.  
  863. /* 操作栏 */
  864. .more-toolbox .left-toolbox {
  865. transition: margin var(--AN);
  866. background-color: #f7f7f7;
  867. border-radius: 0 0 10px 10px !important;
  868. margin: 0 20px;
  869. margin-bottom: 8px;
  870. }
  871. .more-toolbox.more-toolbox-active .left-toolbox {
  872. width: 770px !important;
  873. margin: 20px;
  874. background-color: var(--COLOR3);
  875. border-radius: 10px !important;
  876. }
  877. .more-toolbox .toolbox-list {
  878. padding-left: 20px;
  879. }
  880. .more-toolbox .tool-item {
  881. background: none;
  882. }
  883. .more-toolbox .tool-item a {
  884. border-radius: 50px;
  885. height: 30px;
  886. -webkit-box-align: center;
  887. -ms-flex-align: center;
  888. align-items: center;
  889. padding: 0 10px !important;
  890. margin: 3px 0;
  891. }
  892. .more-toolbox .tool-active a {
  893. transition: var(--AN);
  894. border-radius: 50px;
  895. }
  896. .more-toolbox .tool-active a:hover {
  897. background-color: var(--COLOR4);
  898. }
  899.  
  900. /* 评论区 */
  901. .comment-box {
  902. margin-bottom: 15px;
  903. padding-bottom: 20px;
  904. }
  905. .comment-box .comment-edit-box {
  906. position: relative;
  907. transition: var(--AN);
  908. margin: 0 24px 24px 24px;
  909. padding: 0;
  910. transform: translatey(16px);
  911. background-color: var(--COLOR3);
  912. border-radius: 19px;
  913. border: 1px solid #dadde0;
  914. }
  915.  
  916. .comment-box .comment-edit-box form .comment-content {
  917. transition: var(--AN);
  918. padding: 6px;
  919. border: none;
  920. height: 36px;
  921. background-color: #fff0;
  922. }
  923. .comment-box .comment-edit-box form .comment-content.open {
  924. padding: 6px 8px;
  925. height: 75px;
  926. background-color: #fff;
  927. -webkit-box-shadow: none;
  928. box-shadow: none;
  929. border: none;
  930. border-radius: 10px;
  931. margin: 10px 0;
  932. transform: translatex(-10px);
  933. }
  934. .comment-box .comment-edit-box form .opt-box {
  935. display: none;
  936. margin: 10px 10px 10px 0;
  937. transform: translatex(-10px);
  938. }
  939. .comment-box .comment-edit-box .user-img {
  940. z-index: 1;
  941. padding-left: 1px;
  942. margin-right: 20px;
  943. }
  944. .comment-box .comment-edit-box .bt-comment-show {
  945. background-color: var(--COLOR4);
  946. border-radius: 50px;
  947. color: #000;
  948. border: none;
  949. }
  950. .comment-box .comment-edit-box form .comment-content.open + .opt-box .dropdown .dropdown-face {
  951. transition: var(--AN);
  952. -webkit-box-shadow: none;
  953. box-shadow: none;
  954. border: none;
  955. background-color: var(--COLOR4);
  956. border-radius: 16px;
  957. width: 130px;
  958. padding: 0 8px 0 16px;
  959. }
  960. .comment-box .comment-edit-box form .comment-content.open + .opt-box .dropdown .dropdown-face[aria-expanded="true"] {
  961. background-color: var(--COLOR2);
  962. border-radius: 16px 16px 0 0;
  963. }
  964. .dropdown-face > svg.icon {
  965. transition: var(--AN);
  966. }
  967. .open > .dropdown-face > svg.icon {
  968. -webkit-transform: rotate(-180deg);
  969. transform: rotate(-180deg);
  970. fill: var(--COLOR1);
  971. }
  972. .dropdown-menu {
  973. transition: var(--AN);
  974. display: block !important;
  975. padding: 8px;
  976. background-color: #fff;
  977. border: none;
  978. border-radius: 0 0 16px 16px;
  979. -webkit-box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
  980. box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2);
  981. opacity: 0;
  982. height: 0;
  983. transform: translatey(-3px);
  984. overflow: hidden;
  985. }
  986. .open > .dropdown-menu {
  987. display: block;
  988. height: 192px;
  989. opacity: 1;
  990. transform: translatey(0);
  991. }
  992. .dropdown-menu::-webkit-scrollbar {
  993. width : 8px;
  994. height: 1px;
  995. }
  996. .dropdown-menu::-webkit-scrollbar-thumb {
  997. border-radius: 10px;
  998. background-color: var(--COLOR2);
  999. }
  1000. .dropdown-menu::-webkit-scrollbar-track {
  1001. background: var(--COLOR3);
  1002. border-radius: 0 0 16px 0;
  1003. }
  1004. .comment-box .comment-edit-box form .opt-box .right-box .btn-comment {
  1005. border: none;
  1006. background-color: var(--COLOR2);
  1007. color: var(--COLOR1);
  1008. transform: translatex(10px);
  1009. border-radius: 50px;
  1010. padding: 0 13px;
  1011. }
  1012.  
  1013. .comment-box .comment-list-container .comment-list-box>ul.comment-list {
  1014. margin-top: 10px;
  1015. padding: 15px;
  1016. border: none;
  1017. background-color: var(--COLOR3);
  1018. border-radius: 10px;
  1019. }
  1020. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box .comment-tag img.comment-tag-img {
  1021. display: none;
  1022. }
  1023. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box .comment-tag {
  1024. background-color: var(--COLOR2);
  1025. border-radius: 4px 0 0 4px;
  1026. padding: 3px 3px 3px 5px;
  1027. margin-right: 0;
  1028. color: var(--COLOR1);
  1029. }
  1030. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box div.new-info-box>a:nth-child(2) {
  1031. background-color: var(--COLOR2);
  1032. border-radius: 0 4px 4px 0;
  1033. padding: 0 3px 0 5px;
  1034. margin-right: 0;
  1035. }
  1036.  
  1037. .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box div.info-box .new-opt-box-bg, .comment-box .comment-list-container .comment-list-box ul.comment-list li.comment-line-box div.right-box div.new-info-box .new-opt-box-bg {
  1038. right: -7px;
  1039. top: -9px;
  1040. background: rgba(255,255,255);
  1041. -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .08);
  1042. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .08);
  1043. border-radius: 50px;
  1044. border: none;
  1045. padding: 0 5px;
  1046. }
  1047.  
  1048. /* 推荐图文列表 */
  1049. .recommend-box .recommend-item-box,
  1050. .article-list .recommend-item-box,
  1051. .recommend-box .article-item-box,
  1052. .article-list .article-item-box {
  1053. border-top: none;
  1054. padding: 15px 24px 15px 24px;
  1055. background-color: #fff0;
  1056. }
  1057. .recommend-box .recommend-item-box h4,
  1058. .article-list .recommend-item-box h4,
  1059. .recommend-box .article-item-box h4,
  1060. .article-list .article-item-box h4
  1061. {
  1062. overflow: visible;
  1063. }
  1064. .recommend-box .recommend-item-box h4 a,
  1065. .article-list .recommend-item-box h4 a,
  1066. .recommend-box .article-item-box h4 a,
  1067. .article-list .article-item-box h4 a {
  1068. position: relative;
  1069. transition: var(--AN);
  1070. }
  1071. .recommend-box .recommend-item-box h4 a:before,
  1072. .article-list .recommend-item-box h4 a:before,
  1073. .recommend-box .article-item-box h4 a:before,
  1074. .article-list .article-item-box h4 a:before {
  1075. position: absolute;
  1076. content: '';
  1077. width: 100%;
  1078. padding: 3px 12px;
  1079. transition: var(--AN);
  1080. height: 24px;
  1081. box-sizing: content-box;
  1082. margin-left: -12px;
  1083. margin-top: -3px;
  1084. border-radius: 50px;
  1085. }
  1086. .recommend-box .recommend-item-box h4:hover a,
  1087. .article-list .recommend-item-box h4:hover a,
  1088. .recommend-box .article-item-box h4:hover a,
  1089. .article-list .article-item-box h4:hover a {
  1090. color: var(--COLOR1);
  1091. }
  1092. .recommend-box .recommend-item-box h4:hover a:before,
  1093. .article-list .recommend-item-box h4:hover a:before,
  1094. .recommend-box .article-item-box h4:hover a:before,
  1095. .article-list .article-item-box h4:hover a:before {
  1096. background: var(--COLOR2);
  1097. }
  1098. .recommend-box .recommend-item-box h4 a:active:before,
  1099. .article-list .recommend-item-box h4 a:active:before,
  1100. .recommend-box .article-item-box h4 a:active:before,
  1101. .article-list .article-item-box h4 a:active:before {
  1102. background: var(--COLOR2);
  1103. height: 3px;
  1104. margin-top: 22px;
  1105. margin-left: -5px;
  1106. padding: 0 5px;
  1107. }
  1108. .recommend-box .type_blog .content .desc, .article-list .type_blog .content .desc, .recommend-box .baiduSearch .desc a, .article-list .baiduSearch .desc a {
  1109. margin-top: 7px;
  1110. }
  1111.  
  1112.  
  1113. /* --博客页面-- */
  1114. div#mainBox.container.clearfix.pt0 {
  1115. transform: translatey(-16px);
  1116. }
  1117. .filter-box {
  1118. margin-bottom: 16px;
  1119. }
  1120. .filter-box dl.filter-sort-box dd a:hover, .filter-box dl.filter-sort-box dd a.active {
  1121. color: var(--COLOR1);
  1122. }
  1123.  
  1124. /* --修复-- */
  1125. .main_father {
  1126. padding: 16px 0 0 0;
  1127. }
  1128. .blog_container_aside {
  1129. top: 60px !important;
  1130. transform: translatex(-10px);
  1131. }
  1132. .nodata .recommend-right {
  1133. margin-left: 18px;
  1134. }
  1135. .recommend-right .recommend-list-box, div#recommend-right {
  1136. top: 60px !important;
  1137. }
  1138. .article-list .article-item-box h4 a {
  1139. width: max-content;
  1140. }
  1141.  
  1142.  
  1143. }
  1144.  
  1145. @-moz-document domain("me.csdn.net") {
  1146. /* --去除繁杂元素-- */
  1147. .me_wrap .me_wrap_r>div.me_r[style="margin-top: 8px;"], .me_wrap .me_wrap_l .me_wrap_lt .lt_main .job .add_certification
  1148. {
  1149. display: none !important;
  1150. }
  1151.  
  1152. /* 卡片 */
  1153. .me_wrap .me_wrap_l .me_wrap_lt, .me_wrap .me_wrap_r .me_r,
  1154. .me_wrap .me_wrap_r .me_fans, .my_tab_page .my_tab_page_con {
  1155. background-color: #fff;
  1156. border-radius: 10px;
  1157. box-shadow: 0 4px 8px 0 #0001 !important;
  1158. }
  1159.  
  1160.  
  1161. /* --主内容-- */
  1162. .me_wrap .me_wrap_l .me_chanel_bar, .me_wrap .me_wrap_l .me_chanel_det {
  1163. background-color: #fff0;
  1164. margin-bottom: 0;
  1165. }
  1166. .me_wrap .me_wrap_l .me_wrap_lt .lt_button .message, .me_wrap .me_wrap_l .me_wrap_lt .lt_button .watch_btn {
  1167. transition: var(--AN);
  1168. border: none !important;
  1169. border-radius: 50px;
  1170. color: var(--COLOR1);
  1171. background-color: var(--COLOR2);
  1172. }
  1173. .me_wrap .me_wrap_l .me_wrap_lt .lt_button .message, .me_wrap .me_wrap_l .me_wrap_lt .lt_button .watch_btn:hover {
  1174. border-radius: 50px;
  1175. color: #fff;
  1176. background-color: var(--COLOR1);
  1177. }
  1178. .me_wrap .me_wrap_l .me_wrap_lt .lt_button .watched:before {
  1179. border: none !important;
  1180. color: #fff !important;
  1181. }
  1182. .me_wrap .me_wrap_l .me_wrap_lt .lt_button .watched {
  1183. padding: 0 4px;
  1184. }
  1185. .me_wrap .me_wrap_l .me_wrap_lt .lt_button .watched span {
  1186. color: #a8a8a8;
  1187. }
  1188.  
  1189. .show_wrap .show_more {
  1190. transition: var(--AN);
  1191. background-color: var(--COLOR2);
  1192. color: var(--COLOR1);
  1193. border: none;
  1194. border-radius: 50px;
  1195. }
  1196.  
  1197.  
  1198. /* --右侧栏-- */
  1199. .me_wrap .me_wrap_r .me_r, .me_wrap .me_wrap_r .me_fans {
  1200. margin-bottom: 16px;
  1201. }
  1202.  
  1203.  
  1204. /* --修复-- */
  1205. .me_wrap {
  1206. width: 1216px;
  1207. }
  1208. .me_wrap .me_wrap_r {
  1209. margin-left: 16px;
  1210. }
  1211.  
  1212. .me_wrap .me_wrap_r .me_fans .att:hover span, .me_wrap .me_wrap_r .me_fans .fans:hover span, .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item_click label, .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item_click label .count, .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item:hover label, .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item:hover .count, .me_wrap .me_wrap_l .me_wrap_lt .lt_main .job .icon, .icon, .my_tab_page .my_tab_page_con .tab_page_list dt h3 a:hover {
  1213. color: var(--COLOR1);
  1214. }
  1215. .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item_click label, .me_wrap .me_wrap_r .me_r .me_r_t, .me_wrap .me_wrap_l .me_chanel_bar .me_chanel_list .tab_item:hover label {
  1216. border-color: var(--COLOR1);
  1217. }
  1218.  
  1219.  
  1220. }
  1221.  
  1222. @-moz-document domain("download.csdn.net") {
  1223. /*
  1224. ----------
  1225. 自建
  1226. ----------
  1227. */
  1228.  
  1229. /* --图标修正-- */
  1230.  
  1231.  
  1232.  
  1233. /* 去除繁杂元素 */
  1234. .main_r .upload, .main_r .medal-box, .content_recom.right_plate_con,
  1235. .resource_box .resource_box_fn .left_fn .c_dl_btn.open_authentication {
  1236. display: none !important;
  1237. }
  1238.  
  1239. /* 卡片 */
  1240. .resource_user, .main .resource_box, .dl_comm, .resource_recommend, nav,
  1241. .alert-box, ul.pub_recommend {
  1242. background-color: #fff;
  1243. border-radius: 10px;
  1244. box-shadow: 0 4px 8px 0 #0001 !important;
  1245. }
  1246.  
  1247. /* --左侧栏-- */
  1248. nav div div ul li {
  1249. background-color: #fff0 !important;
  1250. }
  1251. nav .clearfix .nav_com ul li a {
  1252. transition: var(--AN);
  1253. border-radius: 5px;
  1254. width: auto;
  1255. margin: 2px 6px;
  1256. }
  1257. nav .clearfix .nav_com ul li:hover a {
  1258. color: var(--COLOR1);
  1259. background-color: var(--COLOR2);
  1260. }
  1261.  
  1262.  
  1263. /* --主内容-- */
  1264.  
  1265. /* 资源详情 */
  1266. .main .resource_box {
  1267. margin-bottom: 16px;
  1268. }
  1269. .dl_bread_score {
  1270. background-color: var(--COLOR3);
  1271. border-radius: 10px;
  1272. padding: 6px 12px;
  1273. }
  1274. .resource_box .resource_box_fn .left_fn .c_dl_btn {
  1275. transition: var(--AN);
  1276. height: 32px;
  1277. line-height: 32px;
  1278. padding: 0 15px;
  1279. border-radius: 50px;
  1280. border: none;
  1281. margin-right: 10px;
  1282. color: var(--COLOR1);
  1283. background-color: var(--COLOR2);
  1284. }
  1285. .resource_box .resource_box_fn .left_fn .c_dl_btn:hover {
  1286. color: #fff;
  1287. background-color: var(--COLOR1);
  1288. }
  1289. .download_box .download_content .resource_img {
  1290. margin: -70px auto 0;
  1291. border-radius: 100%;
  1292. background-color: var(--COLOR3);
  1293. }
  1294. .download_box .download_content .pop_close {
  1295. border-radius: 50%;
  1296. top: 70px;
  1297. background-color: var(--COLOR3);
  1298. }
  1299. .download_box .download_content .pop_close:after {
  1300. transition: var(--AN);
  1301. content: '';
  1302. display: block;
  1303. width: 28px;
  1304. height: 28px;
  1305. background-color: #fff0;
  1306. border: 1px solid var(--COLOR3);
  1307. position: relative;
  1308. left: 0px;
  1309. top: 0px;
  1310. border-radius: 50%;
  1311. opacity: 1;
  1312. }
  1313. .download_box .download_content .pop_close:hover:after {
  1314. border-radius: 50%;
  1315. transform: scale(1.5);
  1316. opacity: 0;
  1317. border-color: var(--COLOR1);
  1318. }
  1319. .download_box .download_content .normal_tips ul {
  1320. background-color: var(--COLOR3);
  1321. margin: 0 40px 15px 40px;
  1322. padding: 10px 0;
  1323. border-radius: 10px;
  1324. }
  1325. .download_box .download_content .resource_dl_btn .dl_btn {
  1326. transition: var(--AN);
  1327. padding: 0 20px;
  1328. background: var(--COLOR2);
  1329. font-size: 16px;
  1330. color: var(--COLOR1);
  1331. border-radius: 50px;
  1332. }
  1333.  
  1334. /* 评论区 */
  1335. .dl_comm .comm_t .comm_list .comm_list_t .comm_list_t_l .dl_user {
  1336. font-size: 14px;
  1337. color: #fff0;
  1338. position: relative;
  1339. margin-right: 3px;
  1340. }
  1341. .dl_comm .comm_t .comm_list .comm_list_t .comm_list_t_l .dl_user span {
  1342. color: var(--COLOR1);
  1343. }
  1344. .dl_comm .comm_t .comm_list .comm_list_t .comm_list_t_l .dl_user span,
  1345. .dl_comm .comm_t .comm_list .comm_list_t .comm_list_t_l .comm_avatar {
  1346. position: relative;
  1347. z-index: 2;
  1348. }
  1349. .dl_comm .comm_t .comm_list .comm_list_t .comm_list_t_l .dl_user:after {
  1350. content: '';
  1351. display: block;
  1352. background-color: var(--COLOR2);
  1353. height: 24px;
  1354. width: 100%;
  1355. padding: 0 14px;
  1356. position: absolute;
  1357. margin-top: -24px;
  1358. margin-left: -32px;
  1359. z-index: 0;
  1360. box-sizing: content-box;
  1361. border-radius: 50px;
  1362. }
  1363.  
  1364. /* 推荐图文列表 */
  1365. ul.pub_recommend .pub_recom_item {
  1366. background-color: #fff0;
  1367. box-sizing: border-box;
  1368. padding: 14px 24px;
  1369. border: none;
  1370. }
  1371.  
  1372. /* --右侧栏-- */
  1373. .resource_user .user_fn .user_btn {
  1374. transition: var(--AN);
  1375. width: auto;
  1376. padding: 0 15px;
  1377. height: 28px;
  1378. border-radius: 50px;
  1379. border: none;
  1380. background: var(--COLOR3);
  1381. }
  1382. .resource_user .user_fn .attention {
  1383. transition: var(--AN);
  1384. background: var(--COLOR2);
  1385. color: var(--COLOR1);
  1386. }
  1387. .resource_user .user_fn .attention:hover {
  1388. color: #fff;
  1389. }
  1390.  
  1391. /* --修复-- */
  1392. .home_page_wrap, .resource_recommend {
  1393. margin-top: 16px;
  1394. }
  1395. .main {
  1396. width: 1210px;
  1397. }
  1398. .main .main_r {
  1399. transform: translatex(10px);
  1400. }
  1401.  
  1402.  
  1403. }
  1404.  
  1405. @-moz-document domain("so.csdn.net") {
  1406. /* 去除繁杂元素 */
  1407. {
  1408. display: none !important;
  1409. }
  1410.  
  1411. /* 卡片 */
  1412. .search-list-con, .business-sidebar, .left-nav, .relation-search, .search-result-pagination {
  1413. background-color: #fff;
  1414. border-radius: 10px;
  1415. box-shadow: 0 4px 8px 0 #0001 !important;
  1416. }
  1417.  
  1418. /* --左侧栏-- */
  1419. .left-nav li {
  1420. transition: var(--AN);
  1421. border-radius: 5px;
  1422. width: auto;
  1423. margin: 3px 6px;
  1424. }
  1425. .left-nav li:hover {
  1426. color: var(--COLOR1);
  1427. background-color: var(--COLOR2);
  1428. }
  1429. .left-nav li.active {
  1430. color: #fff;
  1431. background-color: var(--COLOR1);
  1432. }
  1433.  
  1434.  
  1435. /* --主内容-- */
  1436. .search-list-con, .relation-search, .search-result-pagination {
  1437. margin-bottom: 16px;
  1438. }
  1439.  
  1440.  
  1441.  
  1442. /* --右侧栏-- */
  1443. .business-sidebar {
  1444. margin-bottom: 16px;
  1445. }
  1446.  
  1447.  
  1448. /* --修复-- */
  1449. .main-container {
  1450. margin: 16px auto 0;
  1451. }
  1452. .main-container, .con-l {
  1453. overflow: visible;
  1454. }
  1455. .con-l-left {
  1456. transform: translatex(-8px);
  1457. }
  1458. .con-r {
  1459. transform: translatex(8px);
  1460. overflow: visible;
  1461. }
  1462. .business-sidebar .business-sidebar-item dt em, .business-sidebar .business-sidebar-item dd em, .search-list .search-detail em,
  1463. .search-list dt a em, .search-list dt:first-child a:hover, .relation-search ul li a {
  1464. color: var(--COLOR1);
  1465. }
  1466.  
  1467.  
  1468. }
  1469.  
  1470. @-moz-document domain("bbs.csdn.net") {
  1471. /*
  1472. ----------
  1473. 自建
  1474. ----------
  1475. */
  1476.  
  1477. a {
  1478. text-decoration: none !important;
  1479. }
  1480.  
  1481. ::-webkit-scrollbar-button {
  1482. display: none;
  1483. height: 13px;
  1484. border-radius: 0px;
  1485. background-color: #AAA;
  1486. }
  1487.  
  1488. ::-webkit-scrollbar-button:hover {
  1489. background-color: #808080cc;
  1490. }
  1491.  
  1492. ::-webkit-scrollbar-thumb {
  1493. background-color: #a6a6a642;
  1494. border-radius: 10px;
  1495. }
  1496.  
  1497. ::-webkit-scrollbar-thumb:hover {
  1498. background-color: #71717194;
  1499. }
  1500.  
  1501. ::-webkit-scrollbar-track {
  1502. background-color: #fbfbfb0d;
  1503. border-radius: 10px;
  1504. }
  1505.  
  1506. ::-webkit-scrollbar-track:hover {
  1507. background-color: #f5f5f517;
  1508. }
  1509.  
  1510. ::-webkit-scrollbar {
  1511. width: 10px;
  1512. }
  1513.  
  1514. /*广告等元素*/
  1515. .advice, .honour_t.bbs_model, img.user-years,
  1516. .honour_list_wrap>.honour_c:nth-last-child(1)
  1517. {
  1518. display:none !important;
  1519. }
  1520.  
  1521. /*顶栏*/
  1522. .csdn-toolbar{
  1523. position: relative;
  1524. z-index: 999;
  1525. box-shadow: none;;
  1526. }
  1527. .news-nav {
  1528. position: relative;
  1529. z-index: 998;
  1530. background: #f9f9f9;
  1531. box-shadow: 0px 2px 10px 0px #00000029;
  1532. }
  1533.  
  1534. /*板块*/
  1535. .bbs_main_wrap {
  1536. overflow: visible;
  1537. }
  1538. .bbs_left_box,.fixed_dl {
  1539. position: relative;
  1540. transition: 0.5s;
  1541. background-color:#fdfdfd;
  1542. box-shadow: 0px 1rem 1rem 0px #30373814;
  1543. margin-bottom: 12px;
  1544. }
  1545. .bbs_left_box:hover,.fixed_dl:hover {
  1546. background-color:#fff;
  1547. box-shadow: 0px 1rem 2rem 0px rgba(48, 55, 66, 0.25);
  1548. transform: translate(0,-1px);
  1549. }
  1550. .bbs_left_box .com_title {
  1551. transition: .3s;
  1552. }
  1553. .bbs_left_box:hover .com_title {
  1554. background-color: #d92e2e3d;
  1555. }
  1556.  
  1557. /*正文*/
  1558. .bbs_left_box .bbs_cow_c .cow_c_list dt a img {
  1559. border-radius: 50%;
  1560. }
  1561.  
  1562. .bbs_left_box .bbs_cow_c .cow_c_list dd .att {
  1563. transition: .3s;
  1564. border-radius: 3px;
  1565. background: #d92e2e12;
  1566. color: #d92e2e;
  1567. border: none;
  1568. }
  1569. .bbs_left_box .bbs_cow_c .cow_c_list dd .att:hover {
  1570. background: #d92e2e;
  1571. color: #fff;
  1572. border: none;
  1573. }
  1574.  
  1575. /*侧栏*/
  1576. .left_menu .btn_toggle_hide, .left_menu .btn_toggle_show {
  1577. transition: .3s;
  1578. border-radius: 0 5px 5px 0;
  1579. background: #d92e2e12;
  1580. color: #d92e2e;
  1581. padding: 10px 3px;
  1582. position: absolute;
  1583. right: -26px;
  1584. }
  1585. .left_menu .btn_toggle_hide:hover, .left_menu .btn_toggle_show:hover {
  1586. transition: .3s;
  1587. background: #d92e2e;
  1588. color: #fff;
  1589. box-shadow: 0 0 15px 0 #f4444494;
  1590. }
  1591.  
  1592. .left_main {
  1593. overflow: hidden;
  1594. box-shadow: 0px 2px 10px 0px #00000029;
  1595. }
  1596. .left_side .tree {
  1597. padding: 10px 0 0 0;
  1598. }
  1599.  
  1600. .left_side .left_main .search_bbs {
  1601. transition: .3s;
  1602. border-radius: 100px;
  1603. background: #eee;
  1604. height: 32px;
  1605. border: none;
  1606. }
  1607. .left_side .left_main .search_bbs:hover,
  1608. .left_side .left_main .search_bbs:focus {
  1609. transition: .3s;
  1610. border-radius: 100px;
  1611. background: #fff;
  1612. height: 32px;
  1613. border: none;
  1614. box-shadow: 0 1px 4px 0 #00000029;
  1615. }
  1616. .left_main .tree .search_bbs .sear_input {
  1617. transition: .3s;
  1618. margin-left: 0.1px;
  1619. background: #fff0;
  1620. color: #4d4d4d;
  1621. }
  1622.  
  1623. .left_side #menu {
  1624. overflow: visible;
  1625. }
  1626. .left_side .tree .search_bbs_tree {
  1627. transition: .3s;
  1628. border-radius: 3px;
  1629. background: #fff;
  1630. box-shadow: 0 1px 4px 0 #00000029;
  1631. margin-top: 10px;
  1632. margin-bottom: 20px;
  1633. border: none;
  1634. border-top: 0;
  1635. padding: 5px 5px 5px;
  1636. }
  1637. .left_side .tree .curSelectedNode span {
  1638. background: #fff0;
  1639. }
  1640.  
  1641. .left_side #menu li {
  1642. transition: .3s;
  1643. position: relative;
  1644. left: -1px;
  1645. padding: 2px 0 2px 10px;
  1646. }
  1647. .left_side #menu li:hover {
  1648. transition: .3s;
  1649. padding: 2px 0 2px 15px;
  1650. background: #e6e6e6;
  1651. }
  1652.  
  1653. .left_side #menu li a {
  1654. color: #3e3e3e;
  1655. }
  1656.  
  1657. /*讨论*/
  1658. .hide_topic_box {
  1659. display: none;
  1660. }
  1661. div#bbs_detail_wrap{
  1662. max-height: 100% !important;
  1663. }
  1664.  
  1665. }
  1666.  
  1667. @-moz-document url-prefix("https://passport.csdn.net/login"), url-prefix("http://passport.csdn.net/login") {
  1668. #app {
  1669. background-image: url(http://wx3.sinaimg.cn/large/0065PkNmgy1ffm1ccv8scj31kw0zke82.jpg) !important;
  1670. background-size: cover;
  1671. }
  1672.  
  1673. .main-login {
  1674. float: right;
  1675. width: 450px;
  1676. height: 480px;
  1677. position: relative;
  1678. padding: 30px 0;
  1679. background-color: #ffffffad;
  1680. backdrop-filter: blur(7px);
  1681. border: none;
  1682. border-radius: 4px 4px;
  1683. box-shadow: none;
  1684. }
  1685.  
  1686. .dropdown-select .dropdown-text, .form-control {
  1687. background-color: #fff0;
  1688. }
  1689.  
  1690. .main-select {
  1691. position: absolute;
  1692. bottom: 80px;
  1693. width: 100%;
  1694. text-align: center;
  1695. }
  1696.  
  1697. .main-download-btn {
  1698. transition: .3s;
  1699. position: absolute;
  1700. bottom: 20px;
  1701. left: auto;
  1702. right: 20px;
  1703. display: block;
  1704. width: 150px;
  1705. height: 35px;
  1706. line-height: 40px;
  1707. color: #000;
  1708. background-color: #ffffffad;
  1709. }
  1710.  
  1711. .main-download-btn:hover {
  1712. color: #000;
  1713. background-color: #ca0c162e;
  1714. }
  1715.  
  1716. .main-qr-mark {
  1717. display: none;
  1718. }
  1719. .main-qr-mark.app-transition-move {
  1720. display: block;
  1721. }
  1722. .main-qr-mark:before,.main-qr-mark:after {
  1723. display:none;
  1724. }
  1725. .main-qr-mark {
  1726. background-color: #ffffffad;
  1727. backdrop-filter: blur(15px);
  1728. border-radius: 4px 4px;
  1729. transition: all .3s ease;
  1730. z-index: 10;
  1731. overflow: hidden;
  1732. opacity: 0;
  1733. }
  1734.  
  1735. .main-code .app-wrap {
  1736. background: #fff;
  1737. }
  1738. }
  1739.  
  1740. @-moz-document domain("mp.csdn.net") {
  1741. .navigation-bar__inner--edit-pagedownButtons .navigation-bar__button, .navigation-bar__inner--edit-pagedownButtons .navigation-bar__spacer
  1742. {
  1743. transition: .1s;
  1744. }
  1745. nav {
  1746. z-index: 99;
  1747. position: relative;
  1748. transition: 0.5s;
  1749. background-color: #fdfdfd;
  1750. box-shadow: 0px 0.25rem 0.25rem 0px #30373814;
  1751. margin-bottom: 2em;
  1752. }
  1753. nav:hover {
  1754. background-color: #fff;
  1755. box-shadow: 0px 0.25rem 0.5rem 0px rgba(48, 55, 66, 0.25);
  1756. transform: translate(0,-1px);
  1757. }
  1758.  
  1759. #labelTitle,.article-bar__user-box .user-box .user-option-box {
  1760. z-index: 999;
  1761. }
  1762. .side-title__button {
  1763. transition: .3s;
  1764. border-radius: 100%;
  1765. margin: 4px 0 0;
  1766. }
  1767. .side-title__button:hover {
  1768. opacity: 0.7;
  1769. }
  1770. .side-title__button:active {
  1771. opacity: 1;
  1772. }
  1773. .side-title__button .icon {
  1774. vertical-align: 0;
  1775. margin-right: 0;
  1776. }
  1777.  
  1778. .article-bar__input-box .article-bar__title--input {
  1779. background-color: #fff0;
  1780. }
  1781. .article-bar__input-box {
  1782. display: flex;
  1783. width: 40%;
  1784. margin: 8px 16px 8px 8px;
  1785. border: none;
  1786. border-radius: 4px;
  1787. background-color: #0000000f;
  1788. }
  1789. .article-bar__user-box {
  1790. position: absolute;
  1791. right: -20px;
  1792. }
  1793.  
  1794. .article-bar__user-box .btn-save {
  1795. transition: .3s;
  1796. background-color: #fde3e4;
  1797. color: #ca0c16;
  1798. border: 1px solid #fff0;
  1799. border-radius: 4px;
  1800. }
  1801. .article-bar__user-box .btn-save:hover {
  1802. border: 1px solid #ca0c162e;
  1803. }
  1804. .article-bar__user-box .btn-publish {
  1805. transition:.5s;
  1806. }
  1807. .article-bar__user-box .btn-publish:hover {
  1808. background-color: #ca0c16b0;
  1809. box-shadow: 0 2px 8px 0 #f4444494;
  1810. }
  1811.  
  1812.  
  1813. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址