Theme: Fix text overlap in parallelograms when font is small

This uses pixels to set a padding because the positioning is done in pixels, so the overlap is static pixels, not related to the font size.

Fixes #73
This commit is contained in:
Kelly Dwan 2019-12-16 17:04:56 -05:00
parent b68664c231
commit b1cbcdb01b
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D

View file

@ -25,13 +25,14 @@
top: 40px;
left: 30px;
z-index: 2;
padding-right: 90px; // parallelograms overlap by about 70px, plus 20px for breathing space.
}
&:last-child {
position: relative;
z-index: 1;
right: 30px;
padding-left: 4rem;
padding-left: 90px; // see above.
}
&:before {