make text gold when owned all hats

master
justcool393 2022-10-08 10:44:39 -07:00
parent d05cb09040
commit 4baf7cfa42
2 changed files with 5 additions and 2 deletions

View File

@ -4026,6 +4026,9 @@ ul.comment-section {
.profile-actions .dropdown-item:hover .fa, .profile-actions .dropdown-item:hover .fas, .profile-actions .dropdown-item:active .far { .profile-actions .dropdown-item:hover .fa, .profile-actions .dropdown-item:hover .fas, .profile-actions .dropdown-item:active .far {
color: var(--black); color: var(--black);
} }
.profile-owned-all-hats {
color: gold;
}
#page .footer h1, #page .footer h2, #page .footer h3, #page .footer h4, #page .footer h5, #page .footer h6, #article .footer h1, #article .footer h2, #article .footer h3, #article .footer h4, #article .footer h5, #article .footer h6 { #page .footer h1, #page .footer h2, #page .footer h3, #page .footer h4, #page .footer h5, #page .footer h6, #article .footer h1, #article .footer h2, #article .footer h3, #article .footer h4, #article .footer h5, #article .footer h6 {
font-weight: 600; font-weight: 600;
} }

View File

@ -253,7 +253,7 @@
<p id="profile--info--spent">Coins spent: {{u.coins_spent}}</p> <p id="profile--info--spent">Coins spent: {{u.coins_spent}}</p>
<p id="profile--info--truescore">True score: {{u.truecoins}}</p> <p id="profile--info--truescore">True score: {{u.truecoins}}</p>
<p id="profile--info--winnings">Winnings: {{u.winnings}}</p> <p id="profile--info--winnings">Winnings: {{u.winnings}}</p>
<p id="profile--info--hats-owned">{{owned_hats}}/{{total_num_of_hats}} hats owned ({{owned_hats_pct}})</p> <p id="profile--info--hats-owned" {% if owned_hats == total_num_of_hats %}class="profile-owned-all-hats"{% endif %}>{{owned_hats}}/{{total_num_of_hats}} hats owned ({{owned_hats_pct}})</p>
{% if u.is_private %} {% if u.is_private %}
<p id="profile--info--private">User has private mode enabled</p> <p id="profile--info--private">User has private mode enabled</p>
{% endif %} {% endif %}
@ -497,7 +497,7 @@
<p id="profile-mobile--info--spent">Coins spent: {{u.coins_spent}}</p> <p id="profile-mobile--info--spent">Coins spent: {{u.coins_spent}}</p>
<p id="profile-mobile--info--truescore">True score: {{u.truecoins}}</p> <p id="profile-mobile--info--truescore">True score: {{u.truecoins}}</p>
<p id="profile-mobile--info--winnings">Winnings: {{u.winnings}}</p> <p id="profile-mobile--info--winnings">Winnings: {{u.winnings}}</p>
<p id="profile-mobile--info--hats-owned">{{owned_hats}}/{{total_num_of_hats}} hats owned ({{owned_hats_pct}})</p> <p id="profile-mobile--info--hats-owned" {% if owned_hats == total_num_of_hats %}class="profile-owned-all-hats"{% endif %}>{{owned_hats}}/{{total_num_of_hats}} hats owned ({{owned_hats_pct}})</p>
{% if u.is_private %} {% if u.is_private %}
<p id="profile-mobile--info--private">User has private mode enabled</p> <p id="profile-mobile--info--private">User has private mode enabled</p>
{% endif %} {% endif %}