123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- .home {
- margin-top: calc(var(--topnav-height) * -1);
- height: 100vh;
- overflow: hidden;
- background: url("@/assets/images/bg-min.jpg") no-repeat center / cover;
- &-iframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1;
- }
- &-main {
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: calc(45px + var(--topnav-height) * 2) auto 0;
- width: 800px;
- z-index: 999;
- }
- &-search {
- display: flex;
- align-items: center;
- gap: 10px;
- margin: 50px 0 18px;
- padding: 5px 5px 5px 24px;
- width: 100%;
- height: 60px;
- box-sizing: border-box;
- border-radius: 5px;
- border: 1px solid var(--el-color-primary);
- backdrop-filter: blur(2px);
- background: rgba($color: white, $alpha: 0.5);
- &__input {
- flex: 1;
- height: 100%;
- border: 0;
- font-size: 18px;
- background: transparent;
- outline: none;
- }
- &__btn {
- flex-shrink: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 12px;
- width: 130px;
- height: 100%;
- border: 0;
- font-size: 18px;
- color: white;
- cursor: pointer;
- border-radius: 2px;
- background: #d3bfa2;
- &::before {
- content: "";
- display: block;
- width: 30px;
- height: 30px;
- background: url("@/assets/images/icon_search-min.png") no-repeat center /
- contain;
- }
- }
- }
- &-view {
- padding: 0 54px 0 18px;
- width: 300px;
- height: 35px;
- line-height: 35px;
- font-size: 18px;
- color: var(--el-color-primary);
- background: url("./images/btn_more-min.png") no-repeat center / contain;
- box-sizing: border-box;
- text-align: center;
- cursor: pointer;
- }
- &-more {
- position: absolute;
- left: 50%;
- bottom: 36px;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 5px;
- width: 131px;
- height: 42px;
- font-size: 16px;
- color: white;
- transform: translateX(-50%);
- cursor: pointer;
- background: url("@/assets/images/btn_01-min.png") no-repeat center / cover;
- z-index: 2;
- animation: breathing ease-in-out 2s forwards infinite;
- }
- }
- .txt {
- position: absolute;
- z-index: 3;
- top: 0;
- left: 0;
- width: 200px;
- // height: 185px;
- text-align: center;
- pointer-events: none;
- font-size: 18px;
- opacity: 0;
- // transition: all 0.5s;
- // display: -webkit-box;
- // overflow: hidden;
- // white-space: normal !important;
- // text-overflow: ellipsis;
- // word-wrap: break-word;
- // -webkit-line-clamp: 5;
- // -webkit-box-orient: vertical;
- h2 {
- font-size: 24px;
- font-weight: 700;
- margin-bottom: 15px;
- }
- p {
- line-height: 24px;
- }
- }
- @keyframes breathing {
- 0% {
- opacity: 1;
- }
- 50% {
- opacity: 0.6;
- }
- 100% {
- opacity: 1;
- }
- }
|