File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -1518,12 +1518,29 @@ code {
1518
1518
/* Inline Code */
1519
1519
code : not (pre code ) {
1520
1520
border : solid 1px # ccc ;
1521
- border-radius : 4 px ;
1521
+ border-radius : 0.25 rem ;
1522
1522
padding : 0 0.25rem ;
1523
1523
background-color : # f9f9f9 ;
1524
1524
font-size : 0.875rem ;
1525
1525
}
1526
1526
1527
+ /* Inline Code (link) */
1528
+ a code : not (pre code ) {
1529
+ border : solid 1px oklch (var (--color-brand ) / 0.3 );
1530
+ border-bottom : solid 2px oklch (var (--color-brand ) / 0.3 );
1531
+
1532
+ /* transition: border 0.15s ease-in-out; */
1533
+ }
1534
+
1535
+ a code : not (pre code ): hover {
1536
+ border : solid 1px oklch (var (--color-brand ) / 0.8 );
1537
+ border-bottom : solid 2px oklch (var (--color-brand ) / 0.8 );
1538
+ }
1539
+
1540
+ a : has (code : not (pre code )) {
1541
+ text-decoration : none;
1542
+ }
1543
+
1527
1544
.highlight {
1528
1545
padding : 0 1rem 0 1rem ;
1529
1546
position : relative;
You can’t perform that action at this time.
0 commit comments