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 %}