From 248cca44248e3a2f41b6dcdd348916a2bfa378d8 Mon Sep 17 00:00:00 2001 From: yashrajbharticybtekk Date: Sun, 31 Dec 2023 13:14:39 +0530 Subject: [PATCH] created infographic --- style.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/style.css b/style.css index 7c93666..caa4e1b 100644 --- a/style.css +++ b/style.css @@ -261,4 +261,33 @@ .grunt-type:has(.dragon) { background-color: #3033BB; + } + + .grunt-type h1:has(span) { + block-size: 150px; + display: flex; + align-items: center; + flex-direction: column; + justify-content: center; + } + + .grunt-type h1 p { + font-size: 18px; + } + + .grunt-type h1:has(ul) { + inline-size: 250px; + } + + .grunt-type h1 ul { + margin-inline-start: 15px; + font-size: 18px; + } + + .grunt-type h1:has(ul) span { + margin-inline-start: -50px + } + + .grunt-type h1:has(p) span { + margin-inline-start: -5px } \ No newline at end of file