[CARDS][Profile] No longer ids, now classes (CSS). Profile info nickname for instance. The inversion filter now actually works.

This commit is contained in:
Eliseu Amaro 2021-09-25 22:30:46 +01:00
parent f8c108bdf3
commit ab26162217
2 changed files with 4 additions and 4 deletions

View File

@ -602,10 +602,10 @@ hr {
box-shadow: var(--shadow);
}
.profile > text {
.profile *[class*="profile-info-"] {
flex: 1;
filter: invert(1) !important;
mix-blend-mode: difference !important;
mix-blend-mode: difference;
filter: invert(1);
}
.profile-info {

View File

@ -8,7 +8,7 @@
<a href="{{ path('actor_view_nickname', {'nickname' : actor_nickname}) }}">
<div class="profile-info">
<img src='{{ actor_avatar }}' class="profile-avatar" alt="{{ actor_nickname }}{{ '\'s avatar.' | trans }}">
<strong id="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
<strong class="profile-info-nickname" title="{{ actor_nickname }}{{ '\'s nickname.' | trans }}">{{ actor_nickname }}</strong>
<section class="profile-info-bio">
{% if actor_bio %}