From f621d95f89ded05a2e916c5ee363bfe75ea37482 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 2 Jan 2024 14:07:50 +0100 Subject: new icons --- public/assets/style.css | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) (limited to 'public/assets/style.css') diff --git a/public/assets/style.css b/public/assets/style.css index e7472ed..300d282 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -35,8 +35,9 @@ button:disabled, input[type="submit"]:disabled { .icon { display: inline-block; - width: 1em; - height: 1em; + width: 1.25em; + height: 1.25em; + vertical-align: middle; background-repeat: no-repeat; background-size: contain; @@ -44,45 +45,61 @@ button:disabled, input[type="submit"]:disabled { } .icon-wood { - background-image: url("/assets/img/icons/1FAB5.svg"); + background-image: url("/assets/img/icons/game-icons/log.svg"); } .icon-clay { - background-image: url("/assets/img/icons/1F9F1.svg"); + background-image: url("/assets/img/icons/game-icons/stone-block.svg"); } .icon-iron { - background-image: url("/assets/img/icons/1F944.svg"); + background-image: url("/assets/img/icons/game-icons/metal-bar.svg"); } .icon-food { - background-image: url("/assets/img/icons/1F954.svg"); + background-image: url("/assets/img/icons/game-icons/wheat.svg"); } .icon-per-increment { - background-image: url("/assets/img/icons/1F504.svg"); + background-image: url("/assets/img/icons/openmojis/1F504.svg"); } .icon-storage { - background-image: url("/assets/img/icons/1F4E5.svg"); + background-image: url("/assets/img/icons/game-icons/database.svg"); } .icon-arrow-up { - background-image: url("/assets/img/icons/1F53A.svg"); + background-image: url("/assets/img/icons/openmojis/1F53A.svg"); } .icon-arrow-down { - background-image: url("/assets/img/icons/1F53A.svg"); + background-image: url("/assets/img/icons/openmojis/1F53A.svg"); transform: rotate(180deg); } .icon-arrow-left { - background-image: url("/assets/img/icons/1F53A.svg"); + background-image: url("/assets/img/icons/openmojis/1F53A.svg"); transform: rotate(270deg); } .icon-arrow-right { - background-image: url("/assets/img/icons/1F53A.svg"); + background-image: url("/assets/img/icons/openmojis/1F53A.svg"); transform: rotate(90deg); } +.icon-farmer { + background-image: url("/assets/img/icons/game-icons/pitchfork.svg"); +} + +.icon-woodcutter { + background-image: url("/assets/img/icons/game-icons/wood-axe.svg"); +} + +.icon-pitworker { + background-image: url("/assets/img/icons/game-icons/wheelbarrow.svg"); +} + +.icon-miner { + background-image: url("/assets/img/icons/game-icons/war-pick.svg"); +} + /* Village */ -- cgit v1.2.3