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 @@ -1508,12 +1508,29 @@ code {
1508
1508
/* Inline Code */
1509
1509
code : not (pre code ) {
1510
1510
border : solid 1px # ccc ;
1511
- border-radius : 4 px ;
1511
+ border-radius : 0.25 rem ;
1512
1512
padding : 0 0.25rem ;
1513
1513
background-color : # f9f9f9 ;
1514
1514
font-size : 0.875rem ;
1515
1515
}
1516
1516
1517
+ /* Inline Code (link) */
1518
+ a code : not (pre code ) {
1519
+ border : solid 1px oklch (var (--color-brand ) / 0.3 );
1520
+ border-bottom : solid 2px oklch (var (--color-brand ) / 0.3 );
1521
+
1522
+ /* transition: border 0.15s ease-in-out; */
1523
+ }
1524
+
1525
+ a code : not (pre code ): hover {
1526
+ border : solid 1px oklch (var (--color-brand ) / 0.8 );
1527
+ border-bottom : solid 2px oklch (var (--color-brand ) / 0.8 );
1528
+ }
1529
+
1530
+ a : has (code : not (pre code )) {
1531
+ text-decoration : none;
1532
+ }
1533
+
1517
1534
.highlight {
1518
1535
padding : 0 1rem 0 1rem ;
1519
1536
position : relative;
You can’t perform that action at this time.
0 commit comments