IFractions.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @import url('https://fonts.googleapis.com/css2?family=Bangers&display=swap');
  2. .ifr-canvas {
  3. width: 100%;
  4. }
  5. .ifr-input__container {
  6. position: absolute;
  7. margin-left: auto;
  8. margin-right: auto;
  9. left: 0;
  10. right: 0;
  11. text-align: center;
  12. visibility: hidden;
  13. }
  14. .ifr-input {
  15. background-color: #fff;
  16. padding: 15px 40px;
  17. box-sizing: border-box;
  18. border: 3px solid #ccc;
  19. font-size: 24px;
  20. font-family: Arial;
  21. color: #000;
  22. text-align: center;
  23. }
  24. .ifr-input:focus {
  25. outline: 3px solid #85accc;
  26. }
  27. .ifr-input__container {
  28. top: 220px;
  29. }
  30. .ifr-input {
  31. padding: 5px 4px;
  32. font-size: 8px;
  33. }
  34. @media only screen and (min-width: 576px) {
  35. .ifr-input__container {
  36. top: 220px;
  37. }
  38. .ifr-input {
  39. padding: 10px 36px;
  40. font-size: 16px;
  41. }
  42. }
  43. @media only screen and (min-width: 768px) {
  44. .ifr-input__container {
  45. top: 220px;
  46. }
  47. .ifr-input {
  48. padding: 10px 36px;
  49. font-size: 16px;
  50. }
  51. }
  52. @media only screen and (min-width: 992px) {
  53. .ifr-input__container {
  54. top: 280px;
  55. }
  56. .ifr-input {
  57. padding: 14px 40px;
  58. font-size: 18px;
  59. }
  60. }
  61. @media only screen and (min-width: 1200px) {
  62. .ifr-input__container {
  63. top: 330px;
  64. }
  65. .ifr-input {
  66. padding: 14px 40px;
  67. font-size: 24px;
  68. }
  69. }
  70. .ifr-modal {
  71. /* Hidden by default */
  72. display: none;
  73. /* Stay in place */
  74. position: fixed;
  75. /* Sit on top */
  76. z-index: 1;
  77. /* Location of the box */
  78. padding-top: 155px;
  79. left: 0;
  80. top: 0;
  81. /* Full width */
  82. width: 100%;
  83. /* Full height */
  84. height: 100%;
  85. /* Enable scroll if needed */
  86. overflow: auto;
  87. /* Fallback color */
  88. background-color: rgb(0, 0, 0);
  89. /* Black w/ opacity */
  90. background-color: rgba(0, 0, 0, 0.4);
  91. }
  92. .ifr-modal__content {
  93. background-color: #fefefe;
  94. margin: auto;
  95. padding: 20px;
  96. border: 1px solid #888;
  97. width: 50%;
  98. }
  99. .ifr-modal__content img {
  100. display: block;
  101. margin-left: auto;
  102. margin-right: auto;
  103. }
  104. .ifr-modal__closeButton {
  105. color: #aaaaaa;
  106. float: right;
  107. font-size: 28px;
  108. font-weight: bold;
  109. }
  110. .ifr-modal__closeButton:hover,
  111. .ifr-modal__closeButton:focus {
  112. color: #000;
  113. text-decoration: none;
  114. cursor: pointer;
  115. }
  116. .ifr-infoBox__menu__img {
  117. width: 60%;
  118. }