You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.1 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. * {
  2. font-family: sans-serif; }
  3. html {
  4. scrollbar-width: none; }
  5. html::-webkit-scrollbar {
  6. display: none; }
  7. body {
  8. margin: 0; }
  9. h1 {
  10. font-size: 1rem; }
  11. main.spinner, main.error, main.empty {
  12. margin: 2rem; }
  13. main.empty {
  14. text-align: center; }
  15. nav {
  16. display: flex;
  17. overflow-x: auto;
  18. scrollbar-width: none;
  19. position: fixed;
  20. top: 0;
  21. left: 0;
  22. right: 0;
  23. height: 12vw;
  24. background-color: white;
  25. z-index: 10; }
  26. nav::-webkit-scrollbar {
  27. display: none; }
  28. nav div.sticker {
  29. width: 12vw;
  30. height: 12vw; }
  31. section.stickerpack {
  32. padding-top: 12vw;
  33. margin-top: -12vw; }
  34. section.stickerpack > div.sticker-list {
  35. display: flex;
  36. flex-wrap: wrap; }
  37. section.stickerpack > h1 {
  38. margin: .75rem; }
  39. div.sticker {
  40. display: flex;
  41. padding: 4px;
  42. cursor: pointer;
  43. position: relative;
  44. width: 25vw;
  45. height: 25vw;
  46. box-sizing: border-box; }
  47. div.sticker:hover {
  48. background-color: #eee; }
  49. div.sticker > img {
  50. display: none;
  51. width: 100%;
  52. object-fit: contain; }
  53. div.sticker > img.visible {
  54. display: initial; }