Skip to content

Instantly share code, notes, and snippets.

@ItsFlo
Last active April 21, 2022 12:58
Show Gist options
  • Select an option

  • Save ItsFlo/30b78fcdd6ac8882fb2a8bc871c0de07 to your computer and use it in GitHub Desktop.

Select an option

Save ItsFlo/30b78fcdd6ac8882fb2a8bc871c0de07 to your computer and use it in GitHub Desktop.
Stylesheet für Ticketsystem am Casino Event
body {
margin: 0;
padding: 5em;
color: white;
font-family: "Futura";
font-weight: bold;
}
h2 {
text-transform: uppercase;
}
.order {
position: relative;
border: none;
font-size: 400%;
color: hsl(33, 55%, 95%);
background-color: hsla(33, 30%, 50%, 25%);
}
.order:after {
content: "";
z-index: 0;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTA4MCAxMDgwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxLjUiPjxjaXJjbGUgY3g9IjU0MCIgY3k9IjU0MCIgcj0iNTA5IiBmaWxsPSJub25lIiBzdHJva2U9InJlZCIgc3Ryb2tlLXdpZHRoPSIxNC4zNSIgdHJhbnNmb3JtPSJtYXRyaXgoMS4wNDUxOCAwIDAgMS4wNDUxOCAtMjQuNCAtMjQuNCkiLz48Y2lyY2xlIGN4PSI1NDAiIGN5PSI1NDAiIHI9IjUwOSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZWQiIHN0cm9rZS13aWR0aD0iMTkuODkiIHRyYW5zZm9ybT0ibWF0cml4KC43NTQyNCAwIDAgLjc1NDI0IDEzMi43MSAxMzIuNzEpIi8+PHBhdGggZD0iTTUzOS45OTggMTIyLjUwNlYzOS40MTNNNDAyLjEgMTQzLjc2M2wtMjguMjQtNzguMTQ3TTI3OS43NzYgMjExLjc2NGwtNTMuMTE3LTYzLjlNMTg2LjA0OSAzMTguMDM3bC03MS42NzEtNDIuMDQ1TTEzMy4zNjMgNDUxLjI0TDUxLjY3IDQzNi4wNTVNMTI2LjM0NCA1OTMuMjc2TDQ0LjM1MiA2MDYuNzZNMTcwLjkzMyA3MzUuMjY4bC03Mi41MyA0MC41NDVNMjY0LjIzMyA4NTEuOTgxTDIwOS44IDkxNC43NjJNMzkxLjk4IDkyOS42OTRsLTI5Ljg1OCA3Ny41NDRNNTM5LjEzNyA5NTcuNDh2ODMuMDkzTTY4OC41MzcgOTI4Ljk4NGwyOC4yOTUgNzguMTI3TTgxNy4wMjkgODUwLjc0Nmw1My4yMDcgNjMuODIzTTkwOC40MDMgNzM0LjMzbDcxLjc2IDQxLjg5MU05NTUuNjkgNTk0LjM1Nmw4MS43MzcgMTQuOTUyTTk0OS45ODggNDQ4LjUzMmw4MS45NDMtMTMuNzc0TTg5Mi41NiAzMTcuODg1bDcyLjM1Ni00MC44NTVNNzk5LjQxNSAyMDkuNzc2bDU0LjEyLTYzLjA1MU02NzYuNjAyIDE0My43NzdsMjkuNDE1LTc3LjcxMiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZWQiIHN0cm9rZS13aWR0aD0iMTQuOTk3Mjg0MDAwMDAwMDAyIi8+PC9zdmc+");
background-repeat: no-repeat;
background-position: center center;
transition: all 0.5s;
}
.order .order-number {
font-size: 0.75em;
}
#ordered .order:after,
.order.popup:after {
filter: hue-rotate(60deg) saturate(0.4) brightness(3);
}
#prepared .order,
.order.popup.fullscreen,
.order.popup.prepared {
color: hsl(120, 50%, 95%);
background-color: hsla(120, 30%, 50%, 25%);
}
#prepared .order:after,
.order.popup.prepared:after {
filter: hue-rotate(130deg) saturate(0.4) brightness(3);
}
.order.popup.fullscreen {
background-color: hsla(120, 15%, 30%, 70%);
box-shadow: 0 0 0.3em #fff7;
animation: flackern 5s linear infinite;
}
.order.popup.fullscreen:after {
animation: drehen 60s infinite linear;
filter: hue-rotate(130deg) saturate(0.6) brightness(7) drop-shadow(0 0 10px hsl(120, 70%, 80%, 70%));
}
.order.popup.fullscreen .order-number {
filter: drop-shadow(0 0 12px #fff8);
}
@keyframes drehen {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
@keyframes flackern {
0%, 9.9%, 11%, 29.9%,31%, 34.9%,36%, 79.9%,81%, 100% {
box-shadow: 0 0 0.3em hsla(120, 70%, 70%, 50%);
}
10%, 80% {
box-shadow: 0 0 0.3em hsla(120, 70%, 70%, 40%);
}
30%, 35% {
box-shadow: 0 0 0.3em hsla(120, 70%, 70%, 35%);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment