>>>:root { --font-color: #000; --night-font-color: #ddd; --primary: #b2fefa; --secondary: #0ed2f7; --dark: #0052d4; --gradient-light: #5d9eea; --gradient-middle: #0f27b5; --gradient-dark: #100e17; --code-gradient-light: #cff0ff; --code-gradient-dark: #afcafd; --maxwidth: 1284px; } .scrollbar { margin-top: .75rem; margin-left: -1rem; position: fixed; height: 3px; width: 10px; background-color: #50bcb6; -webkit-transition: width 0.5s ease; -moz-transition: width 0.5s ease; transition: width 0.5s ease; z-index: 11; } .gradient-bg-rev { background: #b2fefa !important; background: -webkit-linear-gradient(to right, #0052d4, #0ed2f7, #b2fefa) !important; background: linear-gradient(to right, #0052d4, #0ed2f7, #b2fefa) !important; } .nav-link-label { margin-left: 0.25rem; } >>> #top { padding: .75rem 1rem; line-height: 2; text-align: center; width: 100%; position: fixed; top: 0; z-index: 891; /* border-bottom: 1px solid #201c29; */ -webkit-transition: all 350ms ease-in-out; transition: all 350ms ease-in-out; -webkit-box-shadow: 4px -11px 20px #000; box-shadow: 4px -11px 20px #000; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); background-color: #ffffffb3; .navbar { display: flex; a { color: #000000e6; font-family: 'Mirages Custom', 'Merriweather', 'Open Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft Yahei', 'WenQuanYi Micro Hei', 'Segoe UI Emoji', 'Segoe UI Symbol', Helvetica, Arial, sans-serif; } a:hover { color: #000000b3; } .container-fluid { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -ms-flex-align: center; align-items: center; -ms-flex-pack: justify; justify-content: space-between; width: 100%; padding-right: 1rem; padding-left: 1rem; margin-right: auto; margin-left: auto; .mr-auto { margin-right: auto !important; } .navbar-nav { font-size: 1.1rem; display: -ms-flexbox; display: flex !important; flex-direction: row; padding-left: 0; margin-bottom: 0; list-style: none; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; .nav-item { margin: 0 10px; } } .side-toolbar-list { text-align: center; -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; flex-wrap: nowrap; li { position: relative; display: inline-block; margin: 0 .25rem; } li a { display: inline-block; height: 2.75rem; width: 2.75rem; line-height: 2.75rem; border-radius: 100%; font-size: 1rem; background: #f0f0f0; color: #333; vertical-align: middle; -webkit-transition: 0.3s ease all; -moz-transition: 0.3s ease all; -ms-transition: 0.3s ease all; -o-transition: 0.3s ease all; transition: 0.3s ease all; svg { width: 22px; height: 22px; margin-top: 10px; } } li a:hover { background: #333; color: #fff; } } .navbar-collapse { display: flex !important; flex-basis: auto; -ms-flex-positive: 1; flex-grow: 1; -ms-flex-align: center; align-items: center; line-height: 2; } } .navbar-brand { display: inline-block; padding: 0; margin-right: 1rem; font-size: 1.25rem; font-weight: 700; line-height: 1.5; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; } .navbar-brand.text-brand { padding-top: 0.3125rem; padding-bottom: 0.3125rem; } } .bar { position: absolute; height: 100%; background: #b2fefa !important; background: -webkit-linear-gradient(to right, #0052d4, #0ed2f7, #b2fefa) !important; background: linear-gradient(to right, #0052d4, #0ed2f7, #b2fefa) !important; z-index: -1; width: 50%; -webkit-transition: width 0.5s ease-in-out; -moz-transition: width 0.5s ease-in-out; transition: width 0.5s ease-in-out; opacity: 0.25; } .icon-home { top: 14px; } .icon-home { -webkit-background-size: 20px 20px; -moz-background-size: 20px 20px; background-size: 20px 20px; background-position: center center; background-repeat: no-repeat; width: 20px; height: 20px; position: absolute; left: 20px; cursor: pointer; } .subtitle { background: #b2fefa !important; background: -webkit-linear-gradient(to right, #000000, #4a4a4a, #000000) !important; background: linear-gradient(to right, #000000, #4a4a4a, #000000) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; -webkit-box-decoration-break: clone !important; box-decoration-break: clone !important; position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: 14px; margin-top: 12px; display: none; transition: display 400ms ease-in-out; max-width: 50%; max-height: 30px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } } .animateIn { //-webkit-transform: translateY(0px); //transform: translateY(0px); } .animateOut { -webkit-transform: translateY(-100%); transform: translateY(-100%); } .animateLeft { -webkit-transform: translateX(-10rem); transform: translateX(-10rem); } .animateRight { -webkit-transform: translateX(0rem); transform: translateX(0rem); } .body-wrapper { position: relative; display: flex; width: 100%; max-width: 1080px; //min-height: 1000px; margin: 0 auto; flex-wrap: wrap; justify-content: space-between; align-items: stretch; } >>> .article-body { .note-update-date { padding: 0.75rem; border-left: 0.35rem solid; border-radius: 0.25rem; margin: 1.5rem 0; border-color: #0052d4; background: linear-gradient(to right, #5d9eea, #afcafd); } } .article_l_main { padding: 0 16px 16px; margin-top: -80px; z-index: 10; } .l_main { width: calc(100% - 1 * 285px); float: left; } @media screen and (max-width: 1440px){ .l_main { width: calc(100% - 1 * 240px); } } @media screen and (max-width: 768px){ .l_main { width: 100%; padding-left: 0; padding-right: 0; } } @media screen and (max-width: 425px){ .l_main { padding: 70px 0 16px 0; } } >>> .right-bj { //top: 70px; //background: rgba(255, 255, 255, 0.8); //z-index: 1; transition: all .5s; //border-radius: 5px; //box-shadow: rgba(0, 0, 0, 0.1) 0 2px 12px 0; width: 285px; //float: right; position: relative; display: flex; flex-direction: column; } >>> .slimScrollDiv { border-right: 1px solid #e8e8e8; -webkit-transition: all .5s; transition: all .5s; border-radius: 5px; -webkit-box-shadow: rgba(0,0,0,0.1) 0 2px 12px 0; box-shadow: rgba(0,0,0,0.1) 0 2px 12px 0; width: 285px; margin-top: 67px; overflow: auto; float: right; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; .toc-content { position: sticky; top: 0; z-index: 1; -webkit-box-shadow: 0px -14px 20px #000; box-shadow: 0px -14px 20px #000; -webkit-backdrop-filter: saturate(360%) blur(8px); backdrop-filter: saturate(360%) blur(8px); background-color: rgba(255,255,255,0.72); } } ::-webkit-scrollbar { /*滚动条整体样式*/ width : 10px; /*高宽分别对应横竖滚动条的尺寸*/ height: 10px; } @media only screen and (max-width: 768px){ >>> .right-bj { width: 240px; } >>> .slimScrollDiv { position: fixed; max-height: 1000px; width: calc(100% - 2 * 16px); top: 64px; box-shadow: 0 2px 4px 0 rgba(0,0,0,.1),0 4px 8px 0 rgba(0,0,0,.1),0 8px 16px 0 rgba(0,0,0,.1); visibility: hidden; transform: scale(0,0); transform-origin: right top; } } @media only screen and (min-width: 768px){ >>> .right-bj { width: 240px; } >>> .slimScrollDiv { width: 240px; } } @media only screen and (min-width: 992px){ >>> .right-bj { width: 240px; } >>> .slimScrollDiv { width: 240px; } } @media only screen and (min-width: 1200px){ >>> .right-bj { width: 240px; } >>> .slimScrollDiv { width: 240px; } >>> .slimScrollDiv,.l_side { transform: translateX(50px); } >>> .article_l_main[content=show] { transform: translateX(50px); } } @media only screen and (min-width: 1240px){ >>> .slimScrollDiv,.l_side { transform: translateX(80px); } >>> .article_l_main[content=show] { transform: translateX(80px); } } @media only screen and (min-width: 1400px){ >>> .slimScrollDiv,.l_side { transform: translateX(120px); } >>> .article_l_main[content=show] { transform: translateX(120px); } } @media only screen and (min-width: 1920px){ >>> .right-bj { width: 240px; } >>> .slimScrollDiv { width: 240px; } } >>> li { list-style: none; } >>> .slimScrollBar { background: rgba(0, 0, 0, 0.3) !important; } >>> .right-menu { width: 100%!important; display: flex; flex-direction: column; } >>> .right-menu .toc-header { padding: calc(11px - 2px); color: #2196f3; font-size: 1rem; } >>> .right-menu .toc-header span{ margin-left: 10px; } >>> .right-menu > div { display: block; border-bottom: 1px dashed #cccccc; } >>> .right-menu > div ul { display: block; } >>> .right-menu > div .menu li { line-height: 40px; padding-left: 40px; margin-top: 4px; margin-bottom: 8px; padding-right: 16px; color: #777; position: relative; } >>> .right-menu > div .menu li a { color: #777; display: block; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } >>> .right-menu > div .menu li:hover a { color: #13C2C2; } >>> .right-menu > div .menu li.current-menu-item { background: #e6f7ff; } >>> .right-menu > div .menu li.current-menu-item a { color: #13C2C2; } >>> .right-menu > div .menu li.current-menu-item:before { content: ""; position: absolute; right: 0; top: 0; width: 2px; background: #13C2C2; height: 100%; } >>> .right-menu > div.titleList { position: relative; } >>> .right-menu > div.titleList li { margin-bottom: 4px; cursor: pointer; padding-right: 16px; font-weight: normal; line-height: 30px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding-left: 20px; position: relative; transition: all 0.2s; } >>> .right-menu > div.titleList li a { display: block; transition: all 0.2s; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; font-size: 14px; color: #333; } //>>> .right-menu > div.titleList li.active a { // color: #13C2C2; //} //>>> .right-menu > div.titleList li:hover a { // color: #13C2C2; //} >>> .right-menu > div.titleList { .h-1 { padding-left: 10px; font-size: 1.125rem; } .h-2 { padding-left: 20px; font-size: 1.1rem; } .h-3 { padding-left: 30px; font-size: 1rem; } .h-4 { padding-left: 40px; font-size: 0.925rem; } .h-5 { padding-left: 50px; font-size: 0.875rem; } .h-6 { padding-left: 60px; font-size: .85em; color: #6a737d; } } >>> .right-menu > div.titleList .j-bj { background: linear-gradient(to right, #5d9eea, #afcafd); position: absolute; left: 0; top: 0; height: 0; width: 100%; z-index: -1; transition: all 0.2s; } >>> .right-menu > div.titleList .j-bj:before { content: ""; position: absolute; left: 0; top: 0; width: 2.5px; background: #0070fd; height: 100%; } >>> .right-menu > div a { color: #444; font-size: 15px; } >>> mark { background: linear-gradient(to right, #FFEB3B, #ff0101a3); color: #000; overflow-wrap: break-word; word-wrap: break-word; padding: 0.1rem 0.3rem 0.2rem; border-radius: 8px; } .article-body { padding: 20px 35px; border-radius: 0.5rem; background-color: #ffffff; box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 12px 0px; } >>> .article-body { border-radius: 0.5rem; blockquote { padding: 0.8em 1em; color: #656565; background-color: rgba(119,119,119,0.05); border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-left: .2em solid #0052d4; } li+li { margin-top: 0; } pre { padding: 0; overflow: auto; font-size: 1em; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; .code { position: relative; border-radius: 3px; border: 1px solid #C3CCD0; padding-left: 50px!important; background: #282a36!important; code { //position: absolute; line-height: 20px!important; background: unset; opacity: unset; color: unset; } ul.pre-numbering { position: absolute; top: 0; left: -5px; background: #201c29; width: 3em; padding: 0.5em 0 0.5em 0.8em; list-style-type: none; counter-reset: sectioncounter; margin-bottom: 0; li{ margin-top: 0!important; &:before{ content:counter(sectioncounter) ""; counter-increment:sectioncounter; display: inline-block; width: 2.2em; text-align: center; border-right: solid 1px rgba(246, 247, 255, 0.53); } } } } } code { background-size: unset!important; background: linear-gradient(to right, #5d9eea, #afcafd); } pre code { background: unset; } } #toggle-nav { display: none; top: .625rem; left: .625rem; font-size: .75rem; position: fixed; z-index: 899; -webkit-transition: 0.5s ease all; -moz-transition: 0.5s ease all; -ms-transition: 0.5s ease all; -o-transition: 0.5s ease all; transition: 0.5s ease all; } #sidebar-nav { width: 17.5rem; height: 100%; position: fixed; left: -17.5rem; top: 0; bottom: 0; overflow-y: auto; overflow-x: hidden; padding-bottom: 6.25rem; -webkit-overflow-scrolling: touch; -ms-overflow-style: -ms-autohiding-scrollbar; -webkit-transition: 0.5s ease all; -moz-transition: 0.5s ease all; -ms-transition: 0.5s ease all; -o-transition: 0.5s ease all; transition: 0.5s ease all; .author { text-align: center; padding-top: 2.5rem; padding-bottom: 2.5rem; min-width: 12.5rem; img { border-radius: 7rem; width: 7rem; height: 7rem; } } .menu { margin-top: 1.875rem; li a { color: #333; padding: 0.375rem 1.75rem; position: relative; line-height: 2.25rem; display: block; font-size: 1.25rem; text-align: center; font-weight: 300; -webkit-transition: color 0.2s linear; -moz-transition: color 0.2s linear; -ms-transition: color 0.2s linear; -o-transition: color 0.2s linear; transition: color 0.2s linear; } li a:hover{ background: #efefef; color: #333; } } } #body { overflow: hidden; -webkit-transition: 0.5s ease all; -moz-transition: 0.5s ease all; -ms-transition: 0.5s ease all; -o-transition: 0.5s ease all; transition: 0.5s ease all; } @media screen and (max-width: 425px){ .pre-numbering { display: none; } } @media (max-width: 767.98px) { .animateIn { transform: translateY(-100%); } #toggle-nav { display: block; .nav-button { backdrop-filter: saturate(180%) blur(20px); background-color: #ffffffb3; } } }