[css] highlights in css file
This commit is contained in:
parent
c66523c52a
commit
6b01e18f8c
|
@ -49,3 +49,12 @@ div.organization i {
|
|||
@apply mr-1;
|
||||
@apply text-stone-500;
|
||||
}
|
||||
|
||||
ul.highlights {
|
||||
@apply pe-4;
|
||||
}
|
||||
ul.highlights li {
|
||||
@apply text-center;
|
||||
@apply ring;
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
{% if volunteer_item.highlights %}
|
||||
<ul class="highlights grid grid-cols-4 gap-4">
|
||||
{% for highlight in volunteer_item.highlights %}
|
||||
<li class="bg-slate-700 rounded-md ring-2 ring-blue-500/50 text-center">{{ highlight | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</li>
|
||||
<li>{{ highlight | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
{% if work_item.highlights %}
|
||||
<ul class="highlights grid grid-cols-4 gap-4">
|
||||
{% for highlight in work_item.highlights %}
|
||||
<li class="bg-slate-700 rounded-md ring-2 ring-blue-500/50 text-center">{{ highlight | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</li>
|
||||
<li>{{ highlight | replace("\r\n", "<br>") | replace("\n", "<br>") | replace("\r", "<br>") }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue