123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462 |
- <style lang="scss" scoped>
- .notfound {
- margin: 0;
- // min-height: 73vh;
- height: 100%;
- overflow: hidden;
- font-family: "Libre Franklin", sans-serif;
- font-size: 62.5%;
- background-image: linear-gradient(0deg,
- .error {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- display: flex;
- flex-direction: column;
- align-items: center;
- white-space: nowrap;
- text-transform: uppercase;
- font-size: 2rem;
- font-weight: 900;
- color:
- text-shadow: 10px 10px 50px
- opacity: 0.8;
- user-select: none;
- span {
- display: block;
- &:nth-child(2) {
- font-size: 10rem;
- }
- }
- }
- .sun {
- position: absolute;
- top: 4em;
- left: 4em;
- width: 100px;
- height: 100px;
- border-radius: 50%;
- background-image: radial-gradient(circle at 50%,
- box-shadow: 0px 0px 40px
- animation: sun 5s linear infinite;
- }
- .clouds {
- position: absolute;
- right: 0;
- bottom: 35vh;
- left: 0;
- opacity: 0.5;
- div {
- position: relative;
- left: -30%;
- width: 220px;
- height: 80px;
- border-radius: 50%;
- background-color:
- background-image: radial-gradient(ellipse at 50%, transparent,
- filter: blur(3px);
- animation: clouds 60s linear infinite, cloud 8s linear infinite;
- &::before, &::after {
- position: absolute;
- content: "";
- width: inherit;
- height: inherit;
- border-radius: 50%;
- background-color:
- background-image: radial-gradient(ellipse at 50%, transparent,
- filter: blur(3px);
- animation: cloud 3s linear infinite;
- }
- &::after {
- background-color:
- }
- &:nth-child(2) {
- animation-delay: 5s;
- }
- &:nth-child(3) {
- animation-duration: 40s;
- }
- }
- }
- .birds {
- position: absolute;
- right: -10%;
- top: 30px;
- width: 10px;
- height: 10px;
- background-color:
- clip-path: polygon(70% 59%, 100% 54%, 64% 68%, 48% 83%, 81% 86%, 55% 90%, 0 92%, 19% 76%, 0 60%, 33% 71%);
- animation: birds 30s linear infinite, fly 1s linear infinite;
- }
- .sea {
- position: absolute;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: -1;
- height: 25vh;
- background-color: lightblue;
- }
- .fish {
- position: relative;
- span {
- position: relative;
- top: 10%;
- left: 110%;
- display: block;
- width: 50px;
- height: 16px;
- background-color:
- background-image: linear-gradient(to top,
- border-radius: 52% 48% 51% 49% / 51% 56% 44% 49%;
- animation: fish 15s linear infinite;
- &::before, &::after {
- position: absolute;
- content: "";
- }
- &::before {
- left: 95%;
- top: calc(50% - 8px);
- width: 16px;
- height: 16px;
- background-color: inherit;
- background-image: linear-gradient(90deg,
- clip-path: polygon(100% 0%, 84% 49%, 100% 100%, 0 66%, 0% 50%, 0 35%);
- }
- &::after {
- width: 10px;
- height: 10px;
- top: 50%;
- left: 30%;
- background-image: linear-gradient(135deg,
- clip-path: polygon(100% 27%, 86% 74%, 31% 100%, 0 22%, 0 0, 35% 0);
- transform-origin: 0 0;
- animation: side 0.5s linear infinite;
- }
- &:nth-child(2) {
- animation-duration: 6s;
- animation-delay: 5s;
- }
- &:nth-child(3) {
- animation-duration: 9s;
- }
- }
- }
- .wave {
- position: absolute;
- left: -25%;
- bottom: 0;
- width: 150%;
- height: 100%;
- background-color: lightblue;
- animation: vawe 20s linear infinite;
- }
- .wave.w-1 {
- background:
- animation-delay: 2s;
- }
- .wave.w-2 {
- background:
- }
- .bottom {
- position: absolute;
- right: -2em;
- bottom: 0;
- left: -2em;
- height: 1.35em;
- border-radius: 78% 22% 52% 48% / 100% 100% 0% 0%;
- background-color:
- background-image: linear-gradient(0deg,
- opacity: 0.8;
- }
- .grass {
- position: absolute;
- bottom: 5px;
- left: 5em;
- width: 3px;
- height: 35px;
- background-color:
- background-image: linear-gradient(45deg,
- border-radius: 40%;
- transform-origin: 50% 100%;
- animation: grass 2s linear infinite;
- &:nth-child(2) {
- bottom: 3px;
- left: 30%;
- }
- &:nth-child(3) {
- bottom: 8px;
- left: 60%;
- }
- &:nth-child(4) {
- bottom: 6px;
- left: 80%;
- }
- span {
- position: absolute;
- left: -5px;
- width: 8px;
- height: 2px;
- background-color:
- background-image: inherit;
- transform: rotate(45deg);
- &::before {
- position: absolute;
- top: 4px;
- left: 4px;
- content: "";
- width: inherit;
- height: inherit;
- background-color: inherit;
- transform: rotate(-90deg) translateX(100%);
- }
- &:nth-child(2) {
- top: 10px;
- }
- &:nth-child(3) {
- top: 15px;
- }
- &:nth-child(4) {
- top: 20px;
- }
- }
- }
- .circle {
- position: absolute;
- bottom: 5px;
- left: 0;
- width: 100%;
- height: 25vh;
- }
- .circle span {
- position: absolute;
- bottom: 0;
- left: 12%;
- display: block;
- width: 7px;
- height: 7px;
- border-radius: 50%;
- background-color:
- opacity: 0.2;
- animation: circle 2s linear infinite;
- }
- .circle span::before, .circle span::after {
- position: absolute;
- bottom: 0;
- left: 10px;
- content: "";
- width: 5px;
- height: 5px;
- border-radius: inherit;
- background-color: inherit;
- animation: circle 4s linear infinite;
- animation-delay: 0.3s;
- }
- .circle span::after {
- right: -10px;
- animation-delay: 0.5s;
- }
- .circle span:nth-child(2) {
- left: 25%;
- animation-delay: 0.6s;
- }
- .circle span:nth-child(3) {
- left: 45%;
- animation-delay: 0.8s;
- }
- .circle span:nth-child(4) {
- left: 53%;
- }
- .circle span:nth-child(5) {
- left: 74%;
- }
- .grass_tw {
- position: absolute;
- bottom: 11px;
- left: 50%;
- width: 30px;
- height: 10px;
- background-color:
- background-image: linear-gradient(180deg,
- clip-path: polygon(10% 84%, 14% 73%, 17% 24%, 20% 61%, 22% 88%, 32% 15%, 31% 68%, 35% 88%, 49% 11%, 63% 85%, 69% 10%, 77% 80%, 84% 16%, 89% 92%, 97% 41%, 100% 97%, 50% 96%, 0 100%, 4% 34%);
- animation: grass_tw 2s linear infinite;
- }
- .grass_tw:nth-last-child(2) {
- left: 75%;
- width: 80px;
- }
- .grass_tw:last-child {
- bottom: 8px;
- left: 20%;
- width: 50px;
- }
-
- @keyframes sun {
- 50% {
- box-shadow: 0px 0px 60px 20px
- }
- }
- @keyframes clouds {
- 0% {
- left: -30%;
- }
- 100% {
- left: 110%;
- }
- }
- @keyframes cloud {
- 30% {
- border-radius: 22% 78% 51% 49% / 78% 66% 34% 22%;
- }
- 40% {
- width: 180px;
- }
- 60% {
- border-radius: 61% 39% 51% 49% / 50% 66% 34% 50%;
- }
- }
- @keyframes birds {
- 100% {
- right: 110%;
- transform: scale(1.8) translateY(100px);
- }
- }
- @keyframes fly {
- 50% {
- clip-path: polygon(70% 69%, 97% 80%, 70% 76%, 48% 83%, 81% 86%, 55% 90%, 0 92%, 19% 76%, 0 71%, 33% 71%);
- }
- }
- @keyframes fish {
- 0% {
- left: 110%;
- }
- 40% {
- transform: translateY(35px) rotate(-15deg);
- }
- 70% {
- transform: translateY(-5px) rotate(15deg);
- }
- 80% {
- transform: translateY(5px) rotate(0deg);
- }
- 100% {
- left: -10%;
- }
- }
- @keyframes circle {
- 0% {
- transform: translateY(0px) scale(0);
- }
- 50%, 80% {
- transform: translateY(-25px) scale(1);
- }
- 100% {
- transform: translateY(-30px) scale(0);
- opacity: 0;
- }
- }
- @keyframes side {
- 50% {
- transform: rotate(-35deg);
- }
- }
- @keyframes vawe {
- 20%, 40% {
- border-radius: 23% 77% 52% 48% / 100% 100% 0% 0%;
- }
- 30%, 50%, 70% {
- border-radius: 37% 63% 100% 0% / 100% 100% 0% 0%;
- }
- 80%, 60% {
- border-radius: 78% 22% 52% 48% / 100% 100% 0% 0%;
- }
- }
- @keyframes grass {
- 50% {
- transform: rotate(5deg);
- }
- }
- @keyframes grass_tw {
- 50% {
- clip-path: polygon(10% 84%, 14% 73%, 10% 28%, 20% 61%, 22% 88%, 24% 18%, 31% 68%, 35% 88%, 42% 15%, 63% 85%, 58% 14%, 77% 80%, 77% 18%, 89% 92%, 91% 43%, 100% 97%, 50% 96%, 0 100%, 3% 39%);
- }
- }
- }
- </style>
- <template>
- <div class="notfound">
- <div class="error">
- <span>Page not found</span><span>404</span><span></span>
- </div>
- <div class="sun"></div>
- <!-- <div class="clouds">
- <div></div>
- <div></div>
- <div></div>
- </div> -->
- <!-- <div class="birds"></div> -->
- <!-- <div class="sea">
- <div class="wave w-1"></div>
- <div class="wave w-2"></div>
- <div class="fish">
- <span></span><span></span><span></span>
- </div>
- </div> -->
- <!-- <div class="bottom">
- <div class="grass">
- <span> </span><span> </span><span> </span>
- </div>
- <div class="grass">
- <span> </span><span> </span><span> </span>
- </div>
- <div class="grass">
- <span> </span><span> </span><span> </span>
- </div>
- <div class="grass">
- <span> </span><span> </span><span> </span>
- </div>
- <div class="circle">
- <span></span><span></span><span></span><span></span><span></span>
- </div>
- <div class="circle">
- <span></span><span></span><span></span><span></span><span></span>
- </div>
- <div class="circle">
- <span></span><span></span><span></span><span></span><span></span>
- </div>
- <div class="circle">
- <span></span><span></span><span></span><span></span><span></span>
- </div>
- <div class="grass_tw"></div>
- <div class="grass_tw"></div>
- <div class="grass_tw"></div>
- </div> -->
- </div>
- </template>
|