File tree Expand file tree Collapse file tree 2 files changed +31
-4
lines changed
Expand file tree Collapse file tree 2 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 1515 }
1616}
1717
18- /* Change color of the "important" admonition back to the default red */
19- .doc .admonitionblock .code-rule .warning .icon {
20- background-color : # e40046 ;
18+ /* Adjust styles for the "correct" code style rule usage */
19+ .doc .admonitionblock .code-rule .tip {
20+ /* Change the background color of the "tip" admonition to a light green */
21+ & td .content {
22+ background-color : # e7fbe8 ;
23+ }
24+
25+ /* Change the background color of the code block to a light green */
26+ & td .content div .listingblock pre .highlight code {
27+ background-color : # e7fbe8 ;
28+ }
29+ }
30+
31+ /* Adjust styles for the "wrong" code style rule usage */
32+ .doc .admonitionblock .code-rule .warning {
33+ /* Change the color of the "important" admonition back to the default red */
34+ & .icon {
35+ background-color : # e40046 ;
36+ }
37+
38+ /* Change the background color of the "tip" admonition to a light green */
39+ & td .content {
40+ background-color : # f0d2db ;
41+ }
42+
43+ /* Change the background color of the code block to a light green */
44+ & td .content div .listingblock pre .highlight code {
45+ background-color : # f0d2db ;
46+ }
2147}
Original file line number Diff line number Diff line change 2121 hljs . registerLanguage ( 'shell' , require ( 'highlight.js/lib/languages/shell' ) )
2222 hljs . registerLanguage ( 'sql' , require ( 'highlight.js/lib/languages/sql' ) )
2323 hljs . registerLanguage ( 'xml' , require ( 'highlight.js/lib/languages/xml' ) )
24- hljs . registerLanguage ( 'yaml' , require ( 'highlight.js/lib/languages/yaml' ) ) ;
24+ hljs . registerLanguage ( 'yaml' , require ( 'highlight.js/lib/languages/yaml' ) )
25+ hljs . registerLanguage ( 'toml' , require ( 'highlight.js/lib/languages/ini' ) ) ;
2526
2627 [ ] . slice . call ( document . querySelectorAll ( 'pre code.hljs' ) ) . forEach ( function ( node ) {
2728 hljs . highlightElement ( node )
You can’t perform that action at this time.
0 commit comments