diff --git a/README.md b/README.md index 67c7ba0..3d886f7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # Библиотека стилей +## v1.1.4.3 +* исправлено форматирование карт заклинаний ## v1.1.4.2 * врезкам добавлено свойство flex для корректного отображения изображений * системные шрифты заголовков журналов изменены на собственные diff --git a/helper-scripts b/helper-scripts index a457525..ce582f5 160000 --- a/helper-scripts +++ b/helper-scripts @@ -1 +1 @@ -Subproject commit a457525145ba1d5ad3b1762c40056b6316099b21 +Subproject commit ce582f5b3835762ea5c67d6669dee0c08f8e09c1 diff --git a/src/styles/spell-card.css b/src/styles/spell-card.css index befab9e..263923b 100644 --- a/src/styles/spell-card.css +++ b/src/styles/spell-card.css @@ -1,51 +1,65 @@ .spell-card{ - height: 65px; - background-size: 300px; background-repeat: no-repeat; object-fit: contain; + font-size: 14px; } - -.cantrip{ +.lvl0{ all: inherit; - content: url(https://static.kdiva.ru/foundry-main/images/image-spells-cantrip.webp); + height: 65px; + background-size: 300px; + content: url(https://static.kdiva.ru/foundry-main/images/image-cantrip.webp); } - -.first{ +.lvl1{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-1.webp); } - -.second{ +.lvl2{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-2.webp); } - -.third{ +.lvl3{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-3.webp); } - -.fourth{ +.lvl4{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-4.webp); } - -.fifth{ +.lvl5{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-5.webp); } - -.sixth{ +.lvl6{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-6.webp); } - -.seventh{ +.lvl7{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-7.webp); } - -.eighth{ +.lvl8{ all: inherit; + height: 65px; + background-size: 300px; content: url(https://static.kdiva.ru/foundry-main/images/image-spells-8.webp); -} \ No newline at end of file +} +.lvl9{ + all: inherit; + height: 65px; + background-size: 300px; + content: url(https://static.kdiva.ru/foundry-main/images/image-spells-9.webp); +}