style.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. @keyframes spin {
  2. 0% {
  3. transform: rotate(0deg);
  4. }
  5. 100% {
  6. transform: rotate(360deg);
  7. }
  8. }
  9. .abs {
  10. position: absolute;
  11. }
  12. a {
  13. color: white;
  14. text-decoration: none;
  15. }
  16. a:hover {
  17. color: lightblue;
  18. }
  19. body {
  20. bottom: 0;
  21. font-family: "Titillium Web", sans-serif;
  22. color: white;
  23. left: 0;
  24. margin: 0;
  25. position: absolute;
  26. right: 0;
  27. top: 0;
  28. transform-origin: 0px 0px;
  29. overflow: hidden;
  30. }
  31. .container {
  32. position: absolute;
  33. background-color: #596e73;
  34. width: 100%;
  35. max-height: 100%;
  36. }
  37. .input_video {
  38. display: none;
  39. position: absolute;
  40. top: 0;
  41. left: 0;
  42. right: 0;
  43. bottom: 0;
  44. }
  45. .input_video.selfie {
  46. transform: scale(-1, 1);
  47. }
  48. .input_image {
  49. position: absolute;
  50. }
  51. .canvas-container {
  52. display: flex;
  53. height: 100%;
  54. width: 100%;
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. .output_canvas {
  59. max-width: 100%;
  60. display: block;
  61. position: relative;
  62. left: 0;
  63. top: 0;
  64. }
  65. .logo {
  66. bottom: 10px;
  67. right: 20px;
  68. }
  69. .logo .title {
  70. color: white;
  71. font-size: 28px;
  72. }
  73. .logo .subtitle {
  74. position: relative;
  75. color: white;
  76. font-size: 10px;
  77. left: -30px;
  78. top: 20px;
  79. }
  80. .control-panel {
  81. position: absolute;
  82. left: 10px;
  83. top: 10px;
  84. }
  85. .loading {
  86. display: flex;
  87. position: absolute;
  88. top: 0;
  89. right: 0;
  90. bottom: 0;
  91. left: 0;
  92. align-items: center;
  93. backface-visibility: hidden;
  94. justify-content: center;
  95. opacity: 1;
  96. transition: opacity 1s;
  97. }
  98. .loading .message {
  99. font-size: x-large;
  100. }
  101. .loading .spinner {
  102. position: absolute;
  103. width: 120px;
  104. height: 120px;
  105. animation: spin 1s linear infinite;
  106. border: 32px solid #bebebe;
  107. border-top: 32px solid #3498db;
  108. border-radius: 50%;
  109. }
  110. .loaded .loading {
  111. opacity: 0;
  112. }
  113. .shoutout {
  114. left: 0;
  115. right: 0;
  116. bottom: 40px;
  117. text-align: center;
  118. font-size: 24px;
  119. position: absolute;
  120. }
粤ICP备19079148号