1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185
| html{background: #F4F6F9; font-family:"Microsoft YaHei", "微软雅黑", Arial; font-weight: 400} body{background:#F4F6F9;font-size: 16px; color: #515254; line-height: 188%; margin: 0 !important; padding: 0 !important;} .html_header{display:block; height: 60px; line-height: 46px; border-bottom: 1px solid #E6ECF1; text-align: left !important;} .html_header span::after{content: "导航目录"; font-size: 17px; font-weight: bold;} .html_header span::before{content: "❖"; font-size: 19px; font-weight: bold; margin:0 8px 0 5px; color: #1284d9} blockquote{border-radius:0 4px 4px 0;color:#708090;border-left:3px solid #1284d9; background:rgba(238,242,249,.7); padding:8px 16px; font-size: 15px;} code{padding: 2px 4px 1px; font-weight: bold; margin:0 3px; border:1px solid rgba(255,130,130,.3);background:rgba(255,130,120,.05); color:#F66; font-family:arial;} a{color: #1284d9} a:visited{color:#1284d9} a:hover{text-decoration: none; color: #087cd2}
h2{margin: 40px 0 20px; font-size: 36px; font-weight: 400} h3{margin-top: 40px; font-size: 30px; font-weight: 400} img{border-radius:5px;margin:30px 0 46px !important;width:100%;max-width: 1100px; opacity: .6; transition: opacity .3s} img:hover{opacity: 1}
#write{margin:50px 50px 50px 260px; padding: 20px 60px; max-width: unset; background: #fff;border: 1px solid #E6ECF1; box-shadow: 0 2px 8px rgba(116, 129, 141, .08); border-radius: 4px} .BlogAnchor {width: 330px !important}
@media screen and (max-width: 1620px) { #write{margin:40px 40px 40px 250px; padding: 20px 40px;} .BlogAnchor {width: 330px !important} }
@media screen and (max-width: 1370px) { #write{margin:30px 30px 30px 230px; padding: 20px 40px;} .BlogAnchor {width: 200px !important} }
@media screen and (max-width: 1220px) { #write{margin:20px 20px 20px 220px; padding: 20px 40px;} }
@media screen and (max-width: 820px) { #write{margin:20px 20px 20px 200px; padding: 20px 20px; font-size: 15px; line-height: 170%} .BlogAnchor {width: 180px !important} .html_header span::before{ margin-left: 0} .html_header span::after{ font-size: 15px;} h2{ font-size: 30px; } h3{ font-size: 24px; } }
@media screen and (max-width: 640px) { #write{margin:10px; padding: 16px; font-size: 14px; line-height: 160%} .BlogAnchor {display: none;} h2{ font-size: 28px; } h3{ font-size: 22px; } }
.AnchorContent { overflow-y: auto !important; overflow-x: hidden !important; margin-right:0 !important }
.AnchorContent::-webkit-scrollbar { width: 6px; height: 10px; background-color: rgba(0,0,0,0) !important; position: absolute; right: 10px } .AnchorContent::-webkit-scrollbar-track { -webkit-box-shadow: none; border-radius: 0; background-color: rgba(0,0,0,0) !important } .AnchorContent::-webkit-scrollbar-thumb { border-radius: 0px; -webkit-box-shadow: none; background-color: none; opacity: 0 !important; transition: all .3s }
.AnchorContent:hover::-webkit-scrollbar-thumb { border-radius: 0px; -webkit-box-shadow: none; background-color: #d4d6d8; border-right:2px solid #fff; opacity:1; }
.AnchorContent::-webkit-scrollbar-thumb:hover { background-color: #c0c2c4 !important }
.BlogAnchor { background: #fff; padding: 10px 0 ; line-height: 180%; position: fixed; height: 100%; width: 200px; left: 0; top: 0; border-right: 1px solid #E6ECF1;
} .BlogAnchor p { font-size: 20px; color: #444; margin: 0 16px; text-align: center; } .BlogAnchor .AnchorContent { padding: 5px 0px; overflow: auto; } .BlogAnchor li{ text-indent: 1.5rem; font-size: 14px; list-style: none; padding: 0 0px; } .BlogAnchor li .nav_item{ padding:3px 16px;
} .BlogAnchor li .item_h1{ margin-left: 0rem; padding-left:3px; font-size: 1rem; font-weight: bold; } .BlogAnchor li .item_h2{ margin-left: 0; font-size: 0.9rem; padding-left: 18px; font-weight: bold; } .BlogAnchor li .item_h3{ margin-left: 0; font-size: 0.8rem; padding-left: 33px; } .BlogAnchor li .item_h4{ margin-left: 0; font-size: 0.7rem; padding-left: 48px; } .BlogAnchor li .item_h5{ margin-left: 0; font-size: 0.7rem; padding-left: 63px; } .BlogAnchor li .item_h6{ margin-left: 0; font-size: 0.7rem; padding-left: 78px; } .BlogAnchor li .nav_item.current{ color: #087cd2; background-color: rgba(238,242,249,.8); border-left:4px solid #087cd2; text-indent: 20px; font-weight: bold;
} #AnchorContentToggle { font-size: 13px; font-weight: normal; color: #FFF; display: inline-block; line-height: 20px; background: rgb(7,196,189); font-style: normal; padding: 1px 8px; } .BlogAnchor a:hover { color: #087cd2 ; background:rgba(238,242,249,.5); } .BlogAnchor a { text-decoration: none; color: #333; display: block; border-radius: 0px; }
|