Skip to content

Commit

Permalink
Merge pull request #66 from IngmarStein/master
Browse files Browse the repository at this point in the history
Apply a dot-matrix effect to all app previews
  • Loading branch information
tavdog authored Feb 14, 2025
2 parents f290c9b + 68c6c22 commit 4b0814c
Show file tree
Hide file tree
Showing 6 changed files with 2,091 additions and 4,135 deletions.
19 changes: 14 additions & 5 deletions tronbyt_server/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,21 @@ input[type=submit] { align-self: start; min-width: 10em; }
enabled { color: #128e23}
disabled { color: #8e1212}

/* Enhance and Pixelate app image, overlay image with dot matrix */
.app-img {
image-rendering: crisp-edges;
background: #000000;
overflow: hidden;
border: 1px solid #d8d8d8;
border-radius: 0.5rem;
}

/* Enhance and pixelate app image, overlay image with dot matrix */
.app-img img {
background: #000000;
image-rendering: pixelated;
image-rendering: -moz-crisp-edges;
image-rendering: crisp-edges;
-webkit-clip-path: url(#dots);
clip-path: url(#dots);
width: 230px !important;
height: 115px !important;
border-radius: 1rem;
width: 100%;
height: 100%;
}
Loading

0 comments on commit 4b0814c

Please sign in to comment.