|
| 1 | +/*调整全局字体大小*/ |
| 2 | +body,html{font-size:14px;} |
| 3 | + |
| 4 | +/*左导航悬浮sidebar-menu-inner宽度调整为90px*/ |
| 5 | +.sidebar-popup.sidebar-menu-inner > div > ul > li.sidebar-item>ul{position:absolute;top:0px;left:10px;width:90px;z-index:99} |
| 6 | +.sidebar-popup.sidebar-menu-inner ul{width:90px} |
| 7 | +.sidebar-popup.sidebar-menu-inner ul li{width:90px} |
| 8 | + |
| 9 | +/*隐藏左导航scrollbar*/ |
| 10 | +.sidebar-menu.flex-fill::-webkit-scrollbar{display:none} |
| 11 | + |
| 12 | +/*搜索框搜索图标颜色*/ |
| 13 | +#search button i{color:#6C757D;font-size:18px} |
| 14 | + |
| 15 | +/*顶部导航栏字体+图标颜色*/ |
| 16 | +.big-header-banner .page-header{color:#ffffff;background:rgba(255,255,255,0);box-shadow:none;transition:color .3s,background-color .3s} |
| 17 | +.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item){color:#ffffff;} |
| 18 | +.big-header-banner:not(.header-bg) .page-header .navbar-nav>li>a:hover,.big-header-banner:not(.header-bg) .navbar-menu a:not(.dropdown-item):hover{color:#dc3545;} |
| 19 | +.big-header-banner:not(.header-bg) .header-mini-btn path{stroke:#ffffff;} |
| 20 | +.big-header-banner:not(.header-bg) .header-mini-btn label:hover path{stroke:#ffffff;} |
| 21 | + |
| 22 | +/*搜索栏字体+背景*/ |
| 23 | +.header-big #search-text{color:#6C757D;} |
| 24 | +.io-black-mode .header-big #search-text{color:#fff;} |
| 25 | + |
| 26 | +/*搜索activate图标颜色*/ |
| 27 | +.header-big .search-type input:checked+label:before{content:'';border-width:8px 8px 0px 8px;border-style:solid;border-color:#ffffff transparent transparent;position:absolute;left:50%;top:0;margin-left:-8px} |
| 28 | + |
| 29 | +/*主页搜索搜索框(头+底部)字体颜色*/ |
| 30 | +.header-big:not(.no-bg) .s-type-list{color:#20c997} |
| 31 | +.header-big:not(.no-bg) .text-muted,.header-big:not(.no-bg) .search-type .menu-item a,.header-big:not(.no-bg) .big-title .h1{color:#ffffff!important} |
| 32 | + |
| 33 | +/*主页header-banner底部宽度*/ |
| 34 | +.post-top{padding-bottom:50px} |
| 35 | + |
| 36 | +/*左导航二级导航标题左侧距离*/ |
| 37 | +.sidebar-menu-inner ul li ul li a{margin-left:30px;} |
| 38 | + |
| 39 | +/*头部导航二级导航iconfont图标*/ |
| 40 | +.navbar-collapse ul li.menu-item-has-children:after{content:'\e612';} |
| 41 | + |
| 42 | +/*搜索部分背景样式*/ |
| 43 | +.header-big.css-color{background-size:unset;background-position:unset;animation:unset;} |
| 44 | + |
| 45 | +/*搜索热词样式调整*/ |
| 46 | +.search-hot-text{ |
| 47 | + position: absolute; |
| 48 | + z-index: 100; |
| 49 | + width: 100%; |
| 50 | + border-radius: 0 0 10px 10px; |
| 51 | + background: #FFF; |
| 52 | + box-shadow: 0px 4px 5px 0px #cccccc94; |
| 53 | + overflow: hidden; |
| 54 | +} |
| 55 | +.search-hot-text ul{ |
| 56 | + margin: 0; |
| 57 | + padding: 5px 0; |
| 58 | +} |
| 59 | +.search-hot-text ul li{ |
| 60 | + line-height: 30px; |
| 61 | + font-size: 14px; |
| 62 | + padding: 0px 25px; |
| 63 | + color: #777; |
| 64 | + cursor: pointer; |
| 65 | +} |
| 66 | +.io-black-mode .search-hot-text ul li{ |
| 67 | + color: #fff; |
| 68 | +} |
| 69 | +.search-hot-text ul li.current{ |
| 70 | + background: #f1f1f1; |
| 71 | + color: #2196f3; |
| 72 | +} |
| 73 | +.search-hot-text ul li:hover{ |
| 74 | + background: #f1f1f1; |
| 75 | + color: #2196f3; |
| 76 | + cursor: pointer; |
| 77 | +} |
| 78 | +.search-hot-text ul li span{ |
| 79 | + display: inline-block; |
| 80 | + width: 20px; |
| 81 | + height: 20px; |
| 82 | + font-size: 12px; |
| 83 | + line-height: 20px; |
| 84 | + text-align: center; |
| 85 | + background: #e5e5e5; |
| 86 | + margin-right: 10px; |
| 87 | + border-radius: 10px; |
| 88 | + color: #999; |
| 89 | +} |
| 90 | + |
| 91 | +footer.main-footer .footer-text { |
| 92 | + text-align: center; |
| 93 | +} |
| 94 | +footer.main-footer .footer-text a { |
| 95 | + color: #007bff; |
| 96 | +} |
| 97 | +footer.main-footer .footer-text a:hover { |
| 98 | + color: red; |
| 99 | +} |
| 100 | + |
| 101 | +/*About页面*/ |
| 102 | +.panel .panel-body a {color: #007bff;} |
| 103 | +.panel .panel-body a:hover {color: #979898;} |
| 104 | + |
| 105 | +/*网格背景*/ |
| 106 | +.io-grey-mode .page-container .grid-bg { |
| 107 | + background-image: linear-gradient(rgba(50, 0, 0, 0.05) 1px, transparent 0), linear-gradient(90deg, rgba(50, 0, 0, 0.05) 1px, transparent 0); |
| 108 | + background-size: 15px 15px; |
| 109 | + background-color: #d8d8d8; |
| 110 | +} |
| 111 | + |
| 112 | +/*导航 Logo 图标裁剪边角*/ |
| 113 | +.url-card .url-img > img { |
| 114 | + border-radius: 20%; |
| 115 | +} |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
0 commit comments