Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

poster.css 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. body {
  2. background-color: #33334c;
  3. background-image: url(mage.webp);
  4. background-size: contain;
  5. background-repeat: no-repeat;
  6. background-position: center;
  7. width: 100vw;
  8. height: 100vh;
  9. padding: 0;
  10. margin: 0;
  11. }
  12. #qr-code-area {
  13. display: flex;
  14. align-items: center;
  15. flex-direction: column;
  16. position: fixed;
  17. bottom: 16px;
  18. right: 16px;
  19. color: black;
  20. background-color: white;
  21. border-radius: 16px;
  22. padding: 0.5em;
  23. text-align: center;
  24. font-weight: bold;
  25. font-family: sans-serif;
  26. font-size: 1.25em;
  27. }
  28. #qr-code-area h4 {
  29. margin: 0;
  30. }
  31. #qr-code {
  32. image-rendering: pixelated;
  33. min-width: 120px;
  34. height: auto;
  35. }
  36. #get {
  37. position: fixed;
  38. top: 24px;
  39. left: 24px;
  40. padding: 16px;
  41. color: rgb(184, 98, 184);
  42. background-color: white;
  43. border: 0;
  44. border-radius: 24px;
  45. font-family: sans-serif;
  46. font-size: 1.25em;
  47. font-weight: bold;
  48. text-decoration: underline;
  49. transition: transform 0.25s;
  50. }
  51. #get:any-link {
  52. color: rgb(184, 98, 184);
  53. }
  54. #get:hover {
  55. transform: scale(1.0625);
  56. }
  57. #prev, #next {
  58. position: fixed;
  59. top: calc(50% - 55px);
  60. font-size: 96px;
  61. color: white;
  62. text-decoration: none;
  63. outline: none;
  64. -webkit-tap-highlight-color: transparent;
  65. cursor: pointer;
  66. opacity: 0.5;
  67. transition: opacity 0.5s;
  68. transition: transform 0.125s;
  69. }
  70. #prev {
  71. left: 8%;
  72. }
  73. #next {
  74. right: 8%;
  75. }
  76. #prev:hover {
  77. opacity: 1.0;
  78. transform: translateX(-4px);
  79. }
  80. #next:hover {
  81. opacity: 1.0;
  82. transform: translateX(4px);
  83. }
  84. #prev::before {
  85. content: "\276E";
  86. }
  87. #next::before {
  88. content: "\276F";
  89. }
  90. #like {
  91. position: fixed;
  92. top: 24px;
  93. right: 24px;
  94. width: 64px;
  95. height: 64px;
  96. padding: 0;
  97. color: rgb(184, 98, 184);
  98. background-color: white;
  99. border: 0;
  100. border-radius: 32px;
  101. font-family: sans-serif;
  102. font-size: 1.25em;
  103. font-weight: bold;
  104. text-decoration: underline;
  105. transition: transform 0.25s;
  106. }
  107. #like:hover {
  108. transform: scale(1.0625);
  109. }
  110. #like i {
  111. display: inline-block;
  112. width: 100%;
  113. height: 100%;
  114. background-color: rgb(184, 98, 184);
  115. mask: url(../assets/heart-fill.svg) 0 0/64px 64px;
  116. -webkit-mask: url(../assets/heart-fill.svg) 0 0/64px 64px;
  117. }