File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -48,24 +48,21 @@ kbd {
48
48
/*********************************************
49
49
* Inline code
50
50
*********************************************/
51
- : not (pre ) > code {
52
- background-color : darkgray!important ;
53
- padding : 4px 4px 4px 4px ;
54
- border-radius : 4px ;
55
- text-shadow : none;
56
- font-family : courier;
57
- }
51
+
58
52
/*
59
53
Inline code is also used to escape math blocks.
60
54
The rendered math is then embedded within a span
61
55
and should not receive the code background.
62
56
*/
63
- : not (pre ) > code > span {
64
- background-color : var (--r-background-color );
65
- padding : 0 ;
66
- border-radius : 0px ;
57
+ code : not (: empty ): not (: has (* )): not (pre code ) {
58
+ background-color : darkgray;
59
+ padding : 4px 4px 4px 4px ;
60
+ border-radius : 4px ;
61
+ text-shadow : none;
62
+ font-family : courier;
67
63
}
68
64
65
+
69
66
/*********************************************
70
67
* Fragments
71
68
*********************************************/
You can’t perform that action at this time.
0 commit comments