From c1b85ea36639f8fa30708235050708391d6de490 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Tue, 3 May 2022 20:55:20 -0700 Subject: [PATCH] doc: add info classes styles --- src/Map.css | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/Map.css b/src/Map.css index b27008e..68763c0 100644 --- a/src/Map.css +++ b/src/Map.css @@ -10,4 +10,34 @@ .map .leaflet-container { height: 100%; border-radius: 12px; +} + +.info-flag img { + width: 100px; + border-radius: 5px; +} + +.info-name { + font-size: 20px; + font-weight: bold; + color: #555; +} + +.info-flag { + height: 80px; + width: 100%; + background-size: cover; + border-radius: 8px; +} + +.info-confirmed, +.info-recovered, +.info-deaths { + font-size: 16px; + margin-top: 5px; +} + + +.info-container { + width: 150px; } \ No newline at end of file