stu-bg.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. @import "./_stu-body";
  2. @import "./_stu-form";
  3. .box {
  4. width: 100%;
  5. position: relative;
  6. font-family: 'Source Han Sans';
  7. background: none;
  8. .body {
  9. width: 100%;
  10. height:calc(100vh - 100px);
  11. display: flex;
  12. flex-direction: column;
  13. align-items: center;
  14. justify-content: center;
  15. .icon {
  16. --w: 240px;
  17. width: var(--w);
  18. height: var(--w);
  19. position: relative;
  20. margin-bottom: 50px;
  21. background: url('/Content/Image/ExerciseV2/timer_1.png') no-repeat 100%/100%;
  22. &:after {
  23. content: "";
  24. display: block;
  25. position: absolute;
  26. top: 0;
  27. left: 0;
  28. width: var(--w);
  29. height: var(--w);
  30. background: url('/Content/Image/ExerciseV2/timer_2.png') no-repeat 100%/100%;
  31. animation: spin 4s linear infinite;
  32. }
  33. .ico {
  34. position: absolute;
  35. width: 90px;
  36. height: 90px;
  37. left: 50%;
  38. top: 50%;
  39. transform: translate(-50%, -50%);
  40. }
  41. }
  42. .name {
  43. font-weight: 500;
  44. font-size: 40px;
  45. display: flex;
  46. color: #094B88;
  47. letter-spacing: 5px;
  48. padding-left: 5px;
  49. margin-bottom: 20px;
  50. }
  51. .group {
  52. width: 150px;
  53. padding: 8px;
  54. text-align: center;
  55. font-size: 18px;
  56. color: #fff;
  57. background: #094B88;
  58. letter-spacing: 2px;
  59. opacity: 0.6;
  60. border-radius: 40px;
  61. }
  62. }
  63. &.public {
  64. .title {
  65. letter-spacing: 5px;
  66. padding-left: 5px;
  67. }
  68. .body {
  69. .icon {
  70. --w: 300px;
  71. .ico {
  72. width: 120px;
  73. height: 120px;
  74. }
  75. }
  76. .name {
  77. font-size: 90px;
  78. letter-spacing: 10px;
  79. padding-left: 10px;
  80. }
  81. }
  82. }
  83. }
  84. @keyframes spin {
  85. 0% {
  86. transform: rotate(0deg);
  87. }
  88. 50% {
  89. transform: rotate(180deg);
  90. }
  91. 100% {
  92. transform: rotate(360deg);
  93. }
  94. }