minor fixes

This commit is contained in:
Louis Heredero 2024-04-10 18:54:19 +02:00
parent 8cc2c7b019
commit 7eb584b94e
Signed by: HEL
GPG Key ID: 8D83DE470F8544E7

View File

@ -174,7 +174,9 @@ body {
} }
.waggon .number { .waggon .number {
font-size: 75%;
text-align: center;
color: var(--black);
} }
.waggon .outline { .waggon .outline {
@ -217,12 +219,12 @@ body {
#carriages[data-direction="left"] .waggon:first-child::before { #carriages[data-direction="left"] .waggon:first-child::before {
content: ""; content: "";
width: 100%; width: 1.8em;
height: 1.8em; height: 1.8em;
display: grid; display: grid;
place-items: center; place-items: center;
position: absolute; position: absolute;
top: 0; bottom: 0;
right: 100%; right: 100%;
margin-right: 0.2em; margin-right: 0.2em;
background-color: var(--blue); background-color: var(--blue);
@ -237,14 +239,13 @@ body {
} }
#carriages[data-direction="right"] .waggon:last-child::after { #carriages[data-direction="right"] .waggon:last-child::after {
content: ""; content: "";
width: 100%; width: 1.8em;
height: 1.8em; height: 1.8em;
display: grid; display: grid;
place-items: center; place-items: center;
position: absolute; position: absolute;
top: 0; bottom: 0;
left: 100%; left: 100%;
margin-left: 0.2em;
background-color: var(--blue); background-color: var(--blue);
mask-image: url("./icons/double-chevron-small-right-small.svg"); mask-image: url("./icons/double-chevron-small-right-small.svg");
-webkit-mask-image: url("./icons/double-chevron-small-right-small.svg"); -webkit-mask-image: url("./icons/double-chevron-small-right-small.svg");