模板兔Modown主题自定义修改记录

本篇文章记录模板兔主题自定义修改的记录:

  1. /*隐藏banner调用文章的标题*/
  2. .slider-right22 .item h3 {
  3. position: absolute;
  4. bottom: 0;
  5. left: 0;
  6. width: 100%;
  7. padding: 10px;
  8. margin: 0;
  9. font-size: 16px;
  10. color: #fff;
  11. text-align: left;
  12. font-weight: normal;
  13. text-shadow: 0 1px 3px #525252;
  14. box-sizing: border-box;
  15. background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
  16. background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
  17. background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
  18. background: linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2));
  19. letter-spacing: 1.2px;
  20. border-radius: 0 0 var(--theme-radius) var(--theme-radius);
  21. display: none;
  22. }
  23. /*将二级菜单的宽度调大*/
  24. .nav-main > li.mega2 > .sub-menu {
  25. min-width: 500px;
  26. padding: 15px 6px;
  27. line-height: 30px;
  28. }
  29. /*替换首页公告的图标*/
  30. .banner-notices ul {
  31. height: 60px;
  32. background: url(https://www.****.cc/wp-content/uploads/2023/11/megaphone-3.png) no-repeat left center;
  33. padding-left: 50px;
  34. line-height: 60px;
  35. overflow: hidden;
  36. font-size: 14px;
  37. }
  38. /*给首页banner增加底部边距*/
  39. .banner h2 {
  40. margin-bottom: 30px;
  41. }

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
0 条回复 A文章作者 M管理员
欢迎您,新朋友,感谢参与互动!
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
私信列表
搜索