From 42e02823049000f9d61ca2522b8269e3390ae022 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Thu, 25 Apr 2019 16:44:41 +0100 Subject: [PATCH] Flags --- static/const/img/flags/gb.svg | 15 +++++++++++++++ static/const/img/flags/no.svg | 7 +++++++ templates/layout/includes/top_nav.html | 5 +++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 static/const/img/flags/gb.svg create mode 100644 static/const/img/flags/no.svg diff --git a/static/const/img/flags/gb.svg b/static/const/img/flags/gb.svg new file mode 100644 index 0000000..d98b6cc --- /dev/null +++ b/static/const/img/flags/gb.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/static/const/img/flags/no.svg b/static/const/img/flags/no.svg new file mode 100644 index 0000000..56e78e1 --- /dev/null +++ b/static/const/img/flags/no.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/templates/layout/includes/top_nav.html b/templates/layout/includes/top_nav.html index daf0278..1b3000a 100644 --- a/templates/layout/includes/top_nav.html +++ b/templates/layout/includes/top_nav.html @@ -2,6 +2,7 @@ .rndblock { border-radius: 100%; background: #B507DB; + background-position: center; width: 40px; height: 40px; @@ -13,11 +14,11 @@ } .languk { - background: url("{{ url_for('static', filename='const/img/flags/uk.png') }}"); + background-image: url("{{ url_for('static', filename='const/img/flags/gb.svg') }}"); } .langno { - background: url("{{ url_for('static', filename='const/img/flags/no.png') }}"); + background-image: url("{{ url_for('static', filename='const/img/flags/no.svg') }}"); }