diff --git a/icons/steam-locomotive.svg b/icons/steam-locomotive.svg new file mode 100644 index 0000000..0f95076 --- /dev/null +++ b/icons/steam-locomotive.svg @@ -0,0 +1,20 @@ + + + + + diff --git a/index.css b/index.css index 01e1cb8..20adfd1 100644 --- a/index.css +++ b/index.css @@ -212,6 +212,36 @@ body { -webkit-background-clip: text; -webkit-text-fill-color: transparent; } +.waggon.class-loc .class { + background-color: var(--fg); + mask-image: url("./icons/steam-locomotive.svg"); + -webkit-mask-image: url("./icons/steam-locomotive.svg"); + mask-size: contain; + -webkit-mask-size: contain; + mask-repeat: no-repeat; + -webkit-mask-repeat: no-repeat; + mask-position: center; + -webkit-mask-position: center; + width: 100%; + height: 100%; +} +.waggon.form-start_links.class-loc .class { + transform: scaleX(-1); +} + +.waggon.class-familie .class { + background-color: var(--fg); + mask-image: url("./icons/sa-fa.svg"); + -webkit-mask-image: url("./icons/sa-fa.svg"); + mask-size: contain; + -webkit-mask-size: contain; + mask-repeat: no-repeat; + -webkit-mask-repeat: no-repeat; + mask-position: center; + -webkit-mask-position: center; + width: 100%; + height: 1em; +} .waggon .services { display: none;