File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
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 1717 @apply border-b border-b-gray-90 hover:border-red-60 hover:opacity-80;
1818}
1919
20+ /* If link is just for code, don't add border */
21+ .ArticleContainer a : has (tt : only-child ),
22+ .ArticleContainer a : has (code : only-child ) {
23+ @apply border-0;
24+ }
25+
2026: global (.dark ) .ArticleContainer p a ,
2127: global (.dark ) .ArticleContainer ol li a ,
2228: global (.dark ) .ArticleContainer ul li a {
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 ,
@@ -113,8 +113,8 @@ li > code,
113113/* Inline code blocks in docstrings */
114114tt .docutils.literal {
115115 @apply break-words px-1 rounded ;
116- @apply text-green-80 bg-gray- 10 ;
117- @apply dark :text- green- 50 dark :bg- gray - 90 ;
116+ @apply text-green-80 bg-green- 80/5 ;
117+ @apply dark :text- green- 50 dark :bg- green - 50 / 10 ;
118118 @apply text-base ;
119119}
120120
You can’t perform that action at this time.
0 commit comments