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 77 @apply text-gray-90 !important ;
88}
99
10- .Container p > code {
11- @apply border border-gray-40 text-red-70 rounded-md px-1 mx-1 break-words;
12- }
13-
1410.Container p : only-child ,
1511.Container p : last-child ,
1612.Container section : last-child ,
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ ul + p {
9999 @apply mt- 8;
100100}
101101
102- /* Focuss styles */
102+ /* Focus styles */
103103a :focus ,
104104a :focus-visible ,
105105button :focus ,
@@ -108,21 +108,16 @@ button:focus-visible {
108108}
109109
110110/* 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 ;
118118}
119119
120120/* One-line code descriptions in docstrings */
121121div .code-desc {
122122 @apply mb-4 text-gray-90 dark :text- gray- 40;
123123}
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