@@ -209,6 +209,24 @@ ul ul, ul ol, ol ul, ol ol {
209
209
color : var (--gray-950 );
210
210
}
211
211
212
+ .link-internal : has (code ) {
213
+ border-bottom : 2px solid var (--green-600 );
214
+ font-size : 14px ;
215
+ overflow : auto;
216
+ word-wrap : break-word;
217
+ margin : 0 ;
218
+ padding : 4px ;
219
+ word-break : break-word;
220
+ border-radius : 0px ;
221
+ background : var (--gray-100 );
222
+ box-shadow : none;
223
+ color : var (--gray-950 );
224
+ }
225
+ .link-internal > code {
226
+ background-color : transparent;
227
+ border : none;
228
+ }
229
+
212
230
.link-internal > i {
213
231
color : var (--gray-950 );
214
232
text-decoration : none;
@@ -1229,7 +1247,7 @@ header .logo {
1229
1247
font-weight : bold;
1230
1248
--tw-bg-opacity : 0.2 ;
1231
1249
background-color : var (--gray-100 );
1232
- border-radius : 0.75 rem ;
1250
+ border-radius : 4 px ;
1233
1251
}
1234
1252
1235
1253
# TableOfContents .is-active {
@@ -1422,7 +1440,6 @@ li > code {
1422
1440
.copy-to-clipboard-button {
1423
1441
position : absolute;
1424
1442
right : 16px ;
1425
- display : flex;
1426
1443
align-items : center;
1427
1444
justify-content : center;
1428
1445
position : absolute;
@@ -1433,6 +1450,7 @@ li > code {
1433
1450
margin : 4px ;
1434
1451
border-radius : 1px ;
1435
1452
opacity : 0.7 ;
1453
+ display : none;
1436
1454
}
1437
1455
1438
1456
.copy-to-clipboard-button : hover {
@@ -1474,12 +1492,16 @@ li > code {
1474
1492
white-space : break-spaces;
1475
1493
color : var (--CODEBLOCK-TEXT-COLOR );
1476
1494
font-family : Consolas, liberation mono, Menlo, Courier, monospace;
1477
- padding : 44 px 16 px ;
1495
+ padding : 1.8 rem ;
1478
1496
font-size : 1rem ;
1479
1497
max-height : calc (17 * 1.8rem );
1480
1498
overflow : hidden;
1481
1499
}
1482
1500
1501
+ .copy-to-clipboard : hover > .copy-to-clipboard-button {
1502
+ display : flex;
1503
+ }
1504
+
1483
1505
.copy-to-clipboard > .copy-to-clipboard-code .expanded {
1484
1506
max-height : 100% ;
1485
1507
}
0 commit comments