File tree Expand file tree Collapse file tree 2 files changed +1
-24
lines changed
Expand file tree Collapse file tree 2 files changed +1
-24
lines changed 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-
2620: global (.dark ) .ArticleContainer p a ,
2721: global (.dark ) .ArticleContainer ol li a ,
2822: global (.dark ) .ArticleContainer ul li a {
Original file line number Diff line number Diff line change @@ -108,8 +108,7 @@ button:focus-visible {
108108}
109109
110110/* Inline code blocks */
111- p > code ,
112- li > code ,
111+ p code ,
113112/* Inline code blocks in docstrings */
114113tt .docutils.literal {
115114 @apply break-words px-1 rounded ;
@@ -118,22 +117,6 @@ tt.docutils.literal {
118117 @apply text-base ;
119118}
120119
121- /* Improve `code` links. Don't use border, use underline instead. */
122- a :has (tt :only-child ),
123- a :has (code :only-child ) {
124- @apply border- 0;
125- }
126-
127- /* Improve `code` links. Don't use border, use underline instead. */
128- a > tt :only-child ,
129- a > code :only-child {
130- @apply underline ;
131- }
132-
133- p a code {
134- @apply border-none p- 0;
135- }
136-
137120/* One-line code descriptions in docstrings */
138121div .code-desc {
139122 @apply mb-4 text-gray-90 dark :text- gray- 40;
You can’t perform that action at this time.
0 commit comments