From e049828d57183011432328518caa85f8fba7eae5 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 3 Mar 2021 13:25:45 +0100 Subject: [PATCH] =?UTF-8?q?Ikony=20u=20informac=C3=AD=20pracovn=C3=ADk?= =?UTF-8?q?=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/main.scss | 14 ++++++++++++++ templates/macros.html | 12 +++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index f829f6a..b71ad64 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -221,6 +221,20 @@ main { a { font-weight: normal } a:hover { text-decoration: underline } } + + .mail, .tel, .cal { + display: flex; + align-items: center; + + &::before { + font-family: icomoon; + font-size: 1.2em; + margin-right: .4em; + } + } + .mail::before { content: "\e90e" } + .tel::before { content: "\e913" } + .cal::before { content: "\e905" } } .people-profile .info { diff --git a/templates/macros.html b/templates/macros.html index 5410739..46e0224 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -157,12 +157,18 @@ {% macro profile_info(profile) %} {% if profile.extra.email %} -
{{ profile.extra.email }}
+
+ {{ profile.extra.email }} +
{% endif %} {% if profile.extra.phone %} -
{{ profile.extra.phone }}
+
+ {{ profile.extra.phone }} +
{% endif %} {% if profile.extra.sis %} - Rozvrh +
+ Rozvrh +
{% endif %} {% endmacro %}