From 3785b8ce5d12a22659cea99257d712858b50a229 Mon Sep 17 00:00:00 2001 From: shmyga Date: Sat, 10 Aug 2024 16:51:57 +0300 Subject: [PATCH] feat(app/view): align view center --- weather/app/route/view/static/style.css | 7 +++++++ weather/app/route/view/templates/index.html | 4 ++-- weather/app/route/view/templates/weather.html | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/weather/app/route/view/static/style.css b/weather/app/route/view/static/style.css index a3c8e99..0548542 100644 --- a/weather/app/route/view/static/style.css +++ b/weather/app/route/view/static/style.css @@ -2,6 +2,13 @@ body { font-size: 1.5rem; } +.app-container { + display: flex; + flex-direction: column; + flex-wrap: nowrap; + align-items: center; +} + h3 { margin: 0.5rem 0; } diff --git a/weather/app/route/view/templates/index.html b/weather/app/route/view/templates/index.html index d38a068..5740528 100644 --- a/weather/app/route/view/templates/index.html +++ b/weather/app/route/view/templates/index.html @@ -9,13 +9,13 @@ content="ie=edge"> Погода + href="/static/style.css?v=1"> - +