Nastavení barev u pracovníků

remotes/1726908188925722499/search
Emil Miler 4 years ago
parent cb47a3d71c
commit 0e7fd11b2a

@ -4,6 +4,7 @@ weight = 4
[extra]
group = "vedeni"
color = "#B48EAD"
role = "Studijní referent, Garant elektronického zápisu pro KITTV"
email = "eva.battistova@pedf.cuni.cz"
phone = "+420 221 900 141"

@ -4,6 +4,7 @@ weight = 2
[extra]
group = "vedeni"
color = "#B48EAD"
role = "Zástupce vedoucího katedry"
email = "josef.prochazka@pedf.cuni.cz"
phone = "+420 221 900 327"

@ -4,6 +4,7 @@ weight = 1
[extra]
group = "vedeni"
color = "#B48EAD"
role = "Vedoucí katedry"
email = "jirka.stipek@gmail.com"
phone = "+420 221 900 327"

@ -4,6 +4,7 @@ weight = 3
[extra]
group = "vedeni"
color = "#B48EAD"
role = "Tajemnice"
email = "petra.vankova@pedf.cuni.cz"
phone = "+420 221 900 140"

@ -329,7 +329,7 @@ main {
align-items: flex-start;
text-align: left;
padding-top: 2em;
border-top: 5px solid $light-blue;
border-top: 5px solid var(--color);
img {
width: 8rem;
@ -347,6 +347,7 @@ main {
font-size: 1.3em;
margin-bottom: .3em;
}
.role { color: var(--color) }
.other {
flex-direction: column;
margin-top: 1em;

@ -133,7 +133,13 @@
<div class="group">
{% for page in section.pages %}
{% if page.extra.group and page.extra.group == group %}
<article>
<article
{% if page.extra.color %}
style="--color: {{ page.extra.color }}"
{% else %}
style="--color: #81A1C1"
{% endif %}
>
{{ macro::profile_picture(profile=page) }}
<div class="info">
<div>

Loading…
Cancel
Save