begin主题全站改透明CSS代码

夏沫
夏沫
管理员
198
文章
0
粉丝
教程评论16,5866字数 304阅读1分0秒阅读

begin主题全站改透明CSS代码,主题用久了样式看多了,自己改成透明发现很多人想要,这里分享给大家,顺便做个记录。

begin主题全站改透明CSS代码

已完成的样式:

博客首页,个人中心,代码高亮,友情链接,博士文章页,博客列表,分类。

使用:把css丢到后台主题选项里的定制风格自定义样式即可。

代码:

  1. /*begin主板改透明代码 - 夏沫博客*/
  2. body {
  3.     background-image: url(https://m.seovx.com/d/?mom=302);
  4.     background-attachment: fixed;
  5. }
  6. .header-main{position: relative;
  7.     background-image: url(https://www.seovx.com/wp-content/uploads/2021/04/20210413070912seovx-com53.png)!important;
  8.     background-position: center rightright;
  9.     background-size: auto 100%;
  10.     background-size: cover;
  11.     background-repeat: no-repeat;
  12.     background-position: center center;
  13.     cursor: pointer;
  14. }
  15. #menu-container{
  16. background: #fad7d700!important;
  17. }
  18. .menu_c #site-nav .down-menu > .current-menu-item > a, .menu_c #site-nav .down-menu > .current-post-ancestor > a, .menu_c #site-nav .down-menu > li > a:hover, .menu_c #site-nav .down-menu > li.sfHover > a, .main-nav-o .down-menu > li > a:hover, .main-nav-o .down-menu > li.sfHover > a, .main-nav-o .down-menu > .current-menu-item > a, .main-nav-o .down-menu > .current-post-ancestor > a, .but-i{
  19. background: #70a1ff9e!important;
  20. }
  21. .bread{
  22. background-color: #fff0!important;
  23. }
  24. #sidebar h3, #sidebar-l h3, .cat-w-icon,.widget,#sidebar h3, #sidebar-l h3, .cat-w-icon,.post, #page .page, .bulletin, .error-404, .single-picture .picture, .type-attachment, .single-tao .tao, .single-video .video,#colophon,.single-cat-tag,.authorbio,.meta-nav,#respond,.author-th,.user-info-min,.about-inf,.author-the,.related-title,#respond #submit,#comment,#related-img,.search-input input,.type-cat a, .child-cat a,.picture-box,.link-f a, .link-all a,.pagination a, .pagination a:visited,.fo,.entry-code textarea,.options,.entry-code select,.link-main,.link-des-box,#personal,.resp-vtabs .resp-tabs-container,.resp-tabs-container,.title-i span{
  25. background-color: #fff0!important;
  26. }

我的微信
微信扫一扫
weinxin
我的微信
微信号已复制
我的微信公众号
微信扫一扫
weinxin
我的公众号
公众号已复制
 
  • 本文由 夏沫 发表于2021年4月14日 14:14:58
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接

发表评论

匿名网友
确定

拖动滑块以完成验证