2 Commits
1.3.1 ... 1.3.3

Author SHA1 Message Date
fc1734d326 border radius styling
All checks were successful
release-tag / release-image (push) Successful in 4m33s
2024-07-12 11:39:51 +02:00
269decb110 fix minor styling issue
All checks were successful
release-tag / release-image (push) Successful in 4m46s
2024-07-12 11:25:37 +02:00
2 changed files with 5 additions and 4 deletions

View File

@@ -105,11 +105,11 @@ header {
.song {
background-color: var(--color-choriosity-red--light);
background-color: var(--color-white-100);
/*border: 1px solid var(--color-choriosity-red);*/
border: 1px solid var(--color-choriosity-red);
border: 1px solid hsl(calc(var(--hue) * 360), 100%, 40%);
box-shadow: 4px 4px 8px var(--color-white-90);
padding: 0.4em;
border-radius: 0.5em;
border-radius: 0.3em;
width: 30em;
margin-bottom: 1rem;
margin-left: 0.5em;
@@ -118,7 +118,7 @@ header {
.cover-container {
position: relative;
width: 10.67em;
width: 11.67em;
height: 6.7em;
float: left;
margin-right: 1em;
@@ -137,6 +137,7 @@ header {
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
transition: .3s ease;
border-radius: 0.3em;
}
.overlay {

View File

@@ -197,7 +197,7 @@
<div class="categories" id="container">{% for category_name, is_in_category in song.categories.items() %}{%
if is_in_category %}<span style="--hue: {{ all_categories[category_name] / all_categories|length }};">{{
category_name }}</span>{%
endif %}{% endfor %}<span style="--main-color: transparent;">&nbsp;</span>
endif %}{% endfor %}<span style="--main-color: transparent; --hue: transparent;">&nbsp;</span>
</div>
<div class="vote-buttons">
<div class="button button-no {% if (song.vote == -1) or (not song.vote and not song.singable) %}selected{% endif %}"