candy cane

pull/79/head
justcool393 2022-12-15 22:27:40 -06:00 committed by geese_suck
parent 5013fbce6e
commit 47c868ff24
Signed by: geese_suck
GPG Key ID: 4D09E4B0A7264746
2 changed files with 20 additions and 0 deletions

View File

@ -356,6 +356,25 @@ body {
display: block;
}
/* candy cane */
.candy-cane {
appearance: none;
height: 125px;
width: 125px;
position: fixed;
right: 0;
bottom: -9px;
transform: rotate(15deg);
transition: 200ms ease-out;
background-image: url("data:image/svg+xml,%3Csvg version='1.1' class='candy-cane' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' enable-background='new 0 0 100 100' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23E0E0E0' d='M63.7,97.7c-3.7,0-6.8-3-6.8-6.8V27.1c0-0.3,0-0.6,0.1-0.9c0,0,0,0,0,0c0,0,0.2-2.8-1.2-4.3 c-1.3-1.4-3.9-2.4-5.8-2.4c-2.8,0-4.8,1.3-6,2.5c-1.6,1.8-1.5,4.9-1.5,4.9c0.4,3.7-2.4,7.1-6.1,7.4c-3.7,0.4-7.1-2.4-7.4-6.1 c-0.1-0.9-0.7-9.1,4.9-15.4c2.6-2.9,7.5-6.3,16-6.3c8.7,0,13.5,3.5,16.1,6.4c4.8,5.5,4.6,12.4,4.5,14.5v63.5 C70.5,94.7,67.4,97.7,63.7,97.7z'%3E%3C/path%3E%3C/g%3E%3Cg%3E%3Cpath fill='%23E9646A' d='M29,28.2c0.1,1.1,0.5,2.1,1.1,3L54.6,7c-1.4-0.2-3-0.4-4.7-0.4c-2.5,0-4.6,0.3-6.5,0.8L29.6,21 C28.7,24.7,28.9,27.7,29,28.2z'%3E%3C/path%3E%3Cpolygon fill='%23E9646A' points='56.9,75.9 70.5,62.5 70.5,51.9 56.9,65.3 '%3E%3C/polygon%3E%3Cpath fill='%23E9646A' d='M56.9,90.9c0,2.4,1.2,4.5,3.1,5.7l10.5-10.4V75.6L56.9,89.1V90.9z'%3E%3C/path%3E%3Cpolygon fill='%23E9646A' points='56.9,52.2 70.5,38.7 70.5,28.1 56.9,41.5 '%3E%3C/polygon%3E%3Cpath fill='%23E9646A' d='M55.8,21.9c1.4,1.6,1.2,4.3,1.2,4.3c0,0,0,0,0,0c0,0.3-0.1,0.6-0.1,0.9v1.3l11.7-11.6 c-0.6-1.3-1.5-2.6-2.6-3.9c-0.6-0.7-1.3-1.4-2.2-2.1l-9.9,9.8C54.7,21,55.3,21.3,55.8,21.9z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
}
.candy-cane:hover {
transform: translateY(4px) rotate(17deg);
}
/* award replacements */
/* train awards */

View File

@ -22,3 +22,4 @@
});
</script>
{% endif %}
<div class="candy-cane"></div>