File tree Expand file tree Collapse file tree 4 files changed +17
-5
lines changed
Expand file tree Collapse file tree 4 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -577,13 +577,13 @@ ul ul ul {
577577 padding-right : var (--base-small-space );
578578 padding-top : var (--base-large-space );
579579 padding-bottom : var (--base-large-space );
580- white-space : pre-wrap;
580+ /* white-space: pre-wrap; */
581581 /* NOTE enable these styles if side-to-side scrolling is preferred */
582- /*
582+
583583 overflow-wrap : normal;
584584 word-wrap : normal;
585585 overflow-x : auto;
586- */
586+
587587 background : # 0074e00e ;
588588 border : 1px solid var (--color-brand-gray8 );
589589 border-radius : 3px ;
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ Other CSS rules for styling code blocks:
1313*/
1414.hljs-comment ,
1515.hljs-meta {
16- color : # 708090 ;
16+ /* color: #708090; */
17+ color : var (--color-brand-gray1 );
1718}
1819
1920.hljs-keyword ,
@@ -46,7 +47,8 @@ Other CSS rules for styling code blocks:
4647
4748.hljs-built_in ,
4849.hljs-function .hljs-title {
49- color : # e6db74 ;
50+ /* color: #e6db74; */
51+ color : var (--color-brand-orange );
5052}
5153
5254.hljs-regexp {
Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ main p {
6565 color : var (--color-brand-blue-secondary );
6666}
6767
68+ /* .article-banner span {
69+ font-size: var(--font-small);
70+ margin: 0.5rem 1rem 0 0;
71+ color: var(--color-brand-gray4);
72+ } */
73+
6874.article-banner svg {
6975 margin-right : 10px ;
7076 margin-bottom : 10px ;
Original file line number Diff line number Diff line change 7676 } ,
7777 }
7878
79+ if ( window . location . hash ) {
80+ var hash = window . location . hash
81+ $ ( 'html, body' ) . animate ( { 'scrollTop' : $ ( hash ) . offset ( ) . top } , 'slow' )
82+ }
7983 /*eslint-env jquery*/
8084} ) ( jQuery )
You can’t perform that action at this time.
0 commit comments