File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 7
7
@apply text-gray-90 !important ;
8
8
}
9
9
10
- .Container p > code {
11
- @apply border border-gray-40 text-red-70 rounded-md px-1 mx-1 break-words;
12
- }
13
-
14
10
.Container p : only-child ,
15
11
.Container p : last-child ,
16
12
.Container section : last-child ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ ul + p {
99
99
@apply mt- 8;
100
100
}
101
101
102
- /* Focuss styles */
102
+ /* Focus styles */
103
103
a :focus ,
104
104
a :focus-visible ,
105
105
button :focus ,
@@ -108,21 +108,16 @@ button:focus-visible {
108
108
}
109
109
110
110
/* Inline code blocks */
111
- p > code ,
112
- li > code {
113
- @ apply border border-gray-40 dark :border - gray - 80 text - red - 70 rounded - md px - 1 mx - 1 break - words;
114
- }
115
-
116
- p a code {
117
- @apply border-none p- 0 ;
111
+ p code ,
112
+ /* Inline code blocks in docstrings */
113
+ tt .docutils.literal {
114
+ @ apply break-words px-1 rounded ;
115
+ @ apply text-green-80 bg-green- 80/5;
116
+ @ apply dark :text - green - 50 dark :bg - green - 50 / 10 ;
117
+ @apply text-base ;
118
118
}
119
119
120
120
/* One-line code descriptions in docstrings */
121
121
div .code-desc {
122
122
@apply mb-4 text-gray-90 dark :text- gray- 40;
123
123
}
124
-
125
- /* Inline code blocks in docstrings */
126
- tt .docutils.literal {
127
- @apply border border-gray-40 text-red-70 rounded-md px-1 mx-1 break-words ;
128
- }
You can’t perform that action at this time.
0 commit comments