File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,12 @@ h3 {
344
344
.highlight {
345
345
height : 12px ;
346
346
position : relative ;
347
- top : -6 px ;
347
+ top : 0 ;
348
348
left : -10px ;
349
349
width : 120% ;
350
350
max-width : 90vw ;
351
351
line-height : 1.6 ;
352
+ border-radius : 2px ;
352
353
}
353
354
354
355
footer {
@@ -625,6 +626,13 @@ blockquote::before {
625
626
font-weight : 600 ;
626
627
}
627
628
629
+ @media screen and (max-width : 769px ) {
630
+ .highlight {
631
+ border-bottom-left-radius : 0 ;
632
+ border-top-left-radius : 0 ;
633
+ }
634
+ }
635
+
628
636
// Temporary HACK: switch away from this when we switch to using Tachyons for
629
637
// the page titles -- at that time, we should make a simple component class that
630
638
// just composes those classes.
@@ -635,11 +643,6 @@ blockquote::before {
635
643
font-size : 4rem ;
636
644
}
637
645
638
- .highlight {
639
- height : 20px ;
640
- top : -20px ;
641
- }
642
-
643
646
h2 .subtitle {
644
647
font-size : 2.5rem ;
645
648
line-height : 1.1 ;
You can’t perform that action at this time.
0 commit comments