123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- @import "./_stu-body";
- @import "./_stu-form";
- .box {
- width: 100%;
- position: relative;
- font-family: 'Source Han Sans';
- background: none;
- .body {
- width: 100%;
- height:calc(100vh - 100px);
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- .icon {
- --w: 240px;
- width: var(--w);
- height: var(--w);
- position: relative;
- margin-bottom: 50px;
- background: url('/Content/Image/ExerciseV2/timer_1.png') no-repeat 100%/100%;
- &:after {
- content: "";
- display: block;
- position: absolute;
- top: 0;
- left: 0;
- width: var(--w);
- height: var(--w);
- background: url('/Content/Image/ExerciseV2/timer_2.png') no-repeat 100%/100%;
- animation: spin 4s linear infinite;
- }
- .ico {
- position: absolute;
- width: 90px;
- height: 90px;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- }
- }
- .name {
- font-weight: 500;
- font-size: 40px;
- display: flex;
- color: #094B88;
- letter-spacing: 5px;
- padding-left: 5px;
- margin-bottom: 20px;
- }
- .group {
- width: 150px;
- padding: 8px;
- text-align: center;
- font-size: 18px;
- color: #fff;
- background: #094B88;
- letter-spacing: 2px;
- opacity: 0.6;
- border-radius: 40px;
- }
- }
- &.public {
- .title {
- letter-spacing: 5px;
- padding-left: 5px;
- }
- .body {
- .icon {
- --w: 300px;
- .ico {
- width: 120px;
- height: 120px;
- }
- }
- .name {
- font-size: 90px;
- letter-spacing: 10px;
- padding-left: 10px;
- }
- }
- }
- }
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
- 50% {
- transform: rotate(180deg);
- }
- 100% {
- transform: rotate(360deg);
- }
- }
|