style: add shadow under text & formula's labels

This commit is contained in:
jean-emmanuel 2017-01-25 13:53:11 +01:00
parent 230724f187
commit 04e1a06a99
2 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,10 @@
.formula-container {
width: 100rem;
height:60rem;
.label {
box-shadow: 0 -11rem 10rem 10rem var(--color-bg);
z-index: 1;
}
.formula {
display:flex;
height:100%;

View file

@ -79,7 +79,10 @@
.text-container {
--color-custom:var(--color-accent);
flex-shrink: 0;
.label {
box-shadow: 0 -11rem 10rem 10rem var(--color-bg);
z-index: 1;
}
.text {
flex: 1;
height:35rem;