本篇文章记录模板兔主题自定义修改的记录:
/*隐藏banner调用文章的标题*/ .slider-right22 .item h3 { position: absolute; bottom: 0; left: 0; width: 100%; padding: 10px; margin: 0; font-size: 16px; color: #fff; text-align: left; font-weight: normal; text-shadow: 0 1px 3px #525252; box-sizing: border-box; background: -webkit-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2)); background: -moz-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2)); background: -o-linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2)); background: linear-gradient(top, rgba(255,255,255,0), rgba(0,0,0,0.2)); letter-spacing: 1.2px; border-radius: 0 0 var(--theme-radius) var(--theme-radius); display: none; } /*将二级菜单的宽度调大*/ .nav-main > li.mega2 > .sub-menu { min-width: 500px; padding: 15px 6px; line-height: 30px; } /*替换首页公告的图标*/ .banner-notices ul { height: 60px; background: url(https://www.****.cc/wp-content/uploads/2023/11/megaphone-3.png) no-repeat left center; padding-left: 50px; line-height: 60px; overflow: hidden; font-size: 14px; } /*给首页banner增加底部边距*/ .banner h2 { margin-bottom: 30px; }
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。