File tree Expand file tree Collapse file tree 7 files changed +37
-10
lines changed
Expand file tree Collapse file tree 7 files changed +37
-10
lines changed Original file line number Diff line number Diff line change 9494 max-width : var (--width-container );
9595 padding : 0 var (--width-container-gutter );
9696}
97+
98+ .hide ,
99+ .hide-nav {
100+ display : none;
101+ }
97102/* .container-fluid {
98103 max-width: var(--width-container-fluid);
99104 padding: 0;
Original file line number Diff line number Diff line change @@ -147,11 +147,27 @@ a.copy-code-button:hover {
147147 width : 65px ;
148148 height : 80% ;
149149 position : absolute;
150- right : 0 ;
150+ right : 2 px ;
151151 top : 0 ;
152152}
153153
154+ @media screen and (-webkit-min-device-pixel-ratio : 0 ) {
155+ /* Safari and Chrome */
156+ .doc .listingblock pre .fade-shadow {
157+ height : calc (100% - 8px );
158+ }
159+
160+ }
154161code .language-console .hljs .shell {
155162 white-space : nowrap;
156163 overflow-x : auto;
157164}
165+
166+ code .language-console .hljs .shell ::-webkit-scrollbar {
167+ width : 0.25rem ;
168+ height : 5px ;
169+ }
170+
171+ code .language-console .hljs .shell ::-webkit-scrollbar-thumb {
172+ background-color : var (--color-border );
173+ }
Original file line number Diff line number Diff line change 416416 font-size : 0.9375rem ;
417417 margin : 1rem 0 1.5625rem 0 ;
418418 font-weight : var (--weight-light );
419+ border-left : 2px solid var (--color-brand-gray5 );
420+ padding-left : 1.125rem ;
419421}
420422
421423.doc .abstract blockquote * {
Original file line number Diff line number Diff line change 4343}
4444
4545.navbar .navbar-new-bottom {
46- background : var (--color-brand-blue );
46+ background : var (--color-brand-blue-secondary );
4747 display : none;
4848}
4949
5252}
5353
5454.navbar-nav .nav-link {
55- color : var ( --color-brand-white ) ;
55+ color : # ffffffbf ;
5656 text-transform : uppercase;
57- opacity : 0.8 ;
57+ opacity : 1 ;
5858 font-size : 1.125rem ;
5959 line-height : 23px ;
6060 font-family : "Source Sans Pro" , sans-serif;
6464 font-weight : var (--weight-semibold );
6565 text-decoration : none;
6666 opacity : 1 ;
67+ color : # fff ;
6768}
6869
6970.nav-link : focus ,
7071.nav-link : hover {
7172 text-decoration : none;
73+ color : # fff ;
7274}
7375
7476.primary-action {
Original file line number Diff line number Diff line change 232232 display : none;
233233}
234234
235- .hide {
236- display : none;
237- }
238-
239235/* .card-row.two-column-row .column:nth-child(even) {
240236 padding-left: 5%;
241237} */
Original file line number Diff line number Diff line change 130130 return el
131131 }
132132
133+ // hide left nav on top level landing page
134+ setTimeout ( function ( ) {
135+ if ( nav . innerText === '' ) {
136+ nav . classList . add ( 'hide-nav' )
137+ }
138+ } , 100 )
133139 // has children in li
134140 // $('ul.nav-list li.nav-item ul.nav-list .nav-item').has('ul.nav-list').addClass('has-children')
135141 function concealEvent ( e ) {
Original file line number Diff line number Diff line change 2929 copyButton . addEventListener ( 'click' , function ( e ) {
3030 if ( e . target && e . target . matches ( 'a.copy-code-button' ) ) {
3131 // for console text
32- if ( codeBlock . dataset . lang == 'console' ) {
32+ if ( codeBlock . dataset . lang === 'console' ) {
3333 var bashText = codeBlock . innerText
34- // remove $ from text
34+ // remove $ from text
3535 navigator . clipboard . writeText ( bashText . slice ( 2 ) ) . then (
3636 function ( ) {
3737 /* Chrome doesn't seem to blur automatically,
You can’t perform that action at this time.
0 commit comments