1- body { line-height : 1.5 ; font-size : 14px ; font-family : system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans' , 'Helvetica Neue' , sans-serif; background-color : # f5f5fa ;}
1+ body { line-height : 1.5 ; font-size : 14px ; font-family : system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans' , 'Helvetica Neue' , sans-serif; background-color : # f5f5fa ; -webkit-user-select : auto; user-select : auto; }
22a { text-decoration : none; -webkit-tap-highlight-color : rgba (0 , 0 , 0 , 0 ); color : inherit; }
33time { opacity : .75 ; }
4- aside { position : absolute; left : 0 ; top : 64px ; bottom : 0 ; width : 250px ; background-color : # 0C121A ; box-shadow : 2 px 0 1 px rgba (0 , 0 , 0 , .3 ); color : # fff ; overflow : auto; z-index : 1 ; }
4+ aside { position : absolute; left : 0 ; top : 64px ; bottom : 0 ; width : 250px ; background-color : # 0C121A ; box-shadow : 1 px 0 rgba (0 , 0 , 0 , .3 ); color : # fff ; overflow : auto; z-index : 1 ; }
55aside > h2 { font-size : 1.2em ; margin-bottom : .25em ; }
66
77header {position : fixed;left : 0 ; right : 0 ; background-color : # 0C121A ; z-index : 2 ; box-shadow : 0 1px hsla (0 , 0% , 100% , .1 ), inset 0 -1px # 000 ; color : # fff ; height : 64px ; }
@@ -13,7 +13,7 @@ header {position: fixed;left: 0; right: 0; background-color: #0C121A; z-index: 2
1313.header-nav-a {display : inline-block; padding : 20px 40px ; transition : .2s ; font-size : 18px ;border-right : 1px solid rgba (255 , 255 , 255 , .1 );}
1414.header-nav-a : first-child {border-left : 1px solid rgba (255 , 255 , 255 , .1 );}
1515.header-nav-a : hover , .logo : hover {background-color : hsla (0 , 0% , 100% , .1 );}
16- .header-nav-a .active {box-shadow : inset 1px 0 # 000, inset -1px 0 # 000 ;background-color : rgba (0 , 0 , 0 , .2 );}
16+ .header-nav-a .active {box-shadow : inset 1px 0 # 000, inset -1px 0 # 000 ;background-color : rgba (0 , 0 , 0 , .2 );color : # fff7c7 ; }
1717.header-nav-r {position : absolute; right : 20px ;border-left : 1px solid rgba (255 , 255 , 255 , .1 );}
1818
1919.nav-a { display : block; padding : 5px 10px ; color : # fff ; position : relative; }
@@ -23,7 +23,7 @@ header {position: fixed;left: 0; right: 0; background-color: #0C121A; z-index: 2
2323.nav-a [href *= autoInit ], .nav-a [href *= getPage ] { text-decoration : line-through; display : none; }
2424.nav-a [href *= getFunction ] { opacity : .6 ; }
2525.nav-a > .mask { display : inline; width : 26px ; height : 31px ; top : 0 ; right : 8px ; left : auto; background-color : transparent; -webkit-transform : scale (.8 , .8 ); -ms-transform : scale (.75 , .75 ); transform : scale (.75 , .75 ); }
26- a .nav-a .active { background-color : rgba (0 , 0 , 0 , .2 ); box-shadow : inset 0 -1px rgba (255 , 255 , 255 , .1 ), inset 0 1px # 000 ; }
26+ a .nav-a .active { background-color : rgba (0 , 0 , 0 , .2 ); box-shadow : inset 0 -1px rgba (255 , 255 , 255 , .1 ), inset 0 1px # 000 ; color : # fff7c7 ; }
2727
2828.nav-h {margin-bottom : 0 ; font-size : 1rem ;}
2929.nav-secondary {display : none;}
@@ -33,7 +33,7 @@ a.nav-a.active { background-color: rgba(0,0,0,.2); box-shadow: inset 0 -1px rgba
3333
3434h3 [type = "radio" ] {opacity : 0 ;}
3535
36- .content { position : absolute; top : 0 ; bottom : 0 ; left : 250px ; right : 0 ; padding : 20px ; padding-top : 84px ; cursor : default; overflow : auto; }
36+ .content { position : absolute; top : 0 ; bottom : 0 ; left : 250px ; right : 0 ; padding : 20px ; padding-top : 84px ; cursor : default; overflow : auto; scroll-behavior : smooth; }
3737aside , .content { -webkit-overflow-scrolling : touch; }
3838
3939.download { display : inline-block; width : 280px ; padding : 10px 0 ; background-color : # 34538b ; color : # fff ; text-align : center; box-shadow : 3px 3px # beceeb ; white-space : nowrap; }
@@ -42,7 +42,8 @@ aside, .content { -webkit-overflow-scrolling: touch; }
4242.content h1 { font-size : 20px ; margin-top : 10px ; margin-left : 10px ; }
4343.content h1 sub { margin-top : -20px ; font-weight : normal; font-size : 12px ; letter-spacing : -1px ; color : # ddd ; position : absolute; pointer-events : none; }
4444.content h2 { margin-top : 0 ; margin-bottom : 20px ; padding : 10px ; background-color : # C1D2EE ; font-size : 16px ; text-shadow : 1px 1px # eee ; }
45- .content h3 { margin : 20px 0 10px ; padding : 10px ; background-color : # cad5eb ; font-size : 14px ; color : # 666 ; }
45+ .content h3 { margin : 20px 0 10px ; padding : 8px 10px ; background-color : # cad5eb ; font-size : 14px ; color : # 565656 ; }
46+ .content h4 {margin : 1em 0 .5em ; padding : 0 10px ; font-size : 14px ; color : # 565656 ;}
4647.content p { margin : 10px ; color : # 565656 ; }
4748.content p : hover { color : # 333 ; }
4849.content code { border : 1px solid # ddddef ; background-color : # f0f0f0 ; border-radius : 3px ; padding : 1px 4px ; margin-left : 2px ; margin-right : 2px ; font-family : Consolas, monospace; color : # 333 ;}
@@ -54,24 +55,29 @@ code > a:hover { background-color: #f0f3f9; color: #333; text-decoration: none;
5455.content li pre { margin-left : 0 ; margin-right : 0 ; }
5556pre .comment { color : green; }
5657.content li p { margin-left : 0 ; margin-right : 0 ; }
57- .content tip { position : absolute; -webkit-transform : translateX ( -100 % ); - ms-transform: translateX (-100% ); transform : translateX (-100% ); }
58+ .content tip { position : absolute; -ms-transform : translateX (-100% ); transform : translateX (-100% ); }
5859.content tip ::before { content : attr (data-content); display : inline-block; padding : 0 .3em ; background-color : # 34538b ; color : # fff ; font-size : 12px ; opacity : .2 ; }
5960
60- .content table { border-spacing : 0 ; border-collapse : collapse; * border-collapse : separate; margin-left : 10px ; color : # 666 ; }
61+ .content table { border-spacing : 0 ; border-collapse : collapse; margin-left : 10px ; color : # 666 ; }
6162.content tr : hover { color : # 333 ; }
6263.content th { border : 1px solid # a0b3d6 ; background-color : # f0f3f9 ; padding : 2px 10px ; }
6364.content td { border : 1px solid # a0b3d6 ; padding : 2px 10px ; }
6465.content tr : nth-of-type (even ) td { background-color : # f6f6f6 ; }
66+ .content video {background-color : # 000 ; object-fit : contain;}
6567
66- .content .link { text-decoration : underline; color : # 34538b ; }
67- .content .link : hover { text-decoration : none; }
68+ .content .link { color : # 2a80eb ; margin : 0 2 px ; }
69+ .content .link : hover { color : # 0057c3 ; }
6870.content .link : active { color : # f30 ; }
6971.button { display : inline-block; padding : .5em 1em ; color : # 444 ; border : 0 ; border-radius : .2em ; background-color : # f0f3f9 ; box-shadow : 1px 1px # a0b3d6, 2px 2px # a0b3d6, 3px 3px # a0b3d6, 4px 4px # a0b3d6 ; text-decoration : none; text-shadow : 1px 1px # f0f3f9 ; font-weight : 700 ; font-size : 12px ; cursor : pointer; -webkit-transition : all .1s ; transition : all .1s ; }
7072.button : hover { background-color : # E3E8F2 ; color : # 333 ; }
71- .button : active { -webkit-transform : translate ( 2 px , 2 px ); - ms-transform: translate (2px , 2px ); transform : translate (2px , 2px ); box-shadow : 1px 1px # a0b3d6, 2px 2px # a0b3d6 ; }
73+ .button : active { -ms-transform : translate (2px , 2px ); transform : translate (2px , 2px ); box-shadow : 1px 1px # a0b3d6, 2px 2px # a0b3d6 ; }
7274.button : focus { outline : 0 none; background-color : # E3E8F2 ; }
7375.content .supplement { margin-left : 20px ; color : # 999 ; }
7476.content img { max-width : 100% ; }
77+ .content hr { border : 0 ; border-top : 1px solid # d0d0d5 ; margin-top : 3rem ;}
78+
79+ .content .button { border : 1px solid rgba (0 , 0 , 0 , .1 );padding : 10px 50px ; min-width : 50px ; font-size : medium; text-align : center; }
80+ .content .button : hover {filter : saturate (1.5 )}
7581
7682del { display : inline-block; opacity : .6 ; }
7783
0 commit comments