UNPKG

yekonga-server

Version:
182 lines (157 loc) 5.7 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>404</title> <link href="https://fonts.googleapis.com/css?family=Montserrat:700,900" rel="stylesheet"> <style> * { -webkit-box-sizing: border-box; box-sizing: border-box; } body { padding: 0; margin: 0; } #notfound { position: relative; height: 100vh; } #notfound .notfound-bg { position: absolute; width: 100%; height: 100%; background-size: cover; } #notfound .notfound-bg:after { content: ''; position: absolute; width: 100%; height: 100%; background-color: #ffffff; } #notfound .notfound { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .notfound { max-width: 910px; width: 100%; line-height: 1.4; text-align: center; } .notfound .notfound-404 { position: relative; height: 200px; } .notfound .notfound-404 h1 { font-family: 'Montserrat', sans-serif; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); font-size: 220px; margin: 0px; color: #989898; text-transform: uppercase; letter-spacing: 10px; } .notfound h2 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: #989898; margin-top: 20px; margin-bottom: 15px; } .notfound .home-btn, .notfound .contact-btn { font-family: 'Montserrat', sans-serif; display: inline-block; font-weight: 700; text-decoration: none; background-color: transparent; border: 2px solid transparent; text-transform: uppercase; padding: 13px 25px; font-size: 18px; border-radius: 40px; margin: 7px; -webkit-transition: 0.2s all; transition: 0.2s all; } .notfound .home-btn:hover, .notfound .contact-btn:hover { opacity: 0.9; } .notfound .home-btn { color: rgba(255, 255, 255, 0.7); background: #989898; } .notfound .contact-btn { border: 2px solid rgba(255, 255, 255, 0.9); color: rgba(255, 255, 255, 0.9); } .notfound-social { margin-top: 25px; } .notfound-social>a { display: inline-block; height: 40px; line-height: 40px; width: 40px; font-size: 14px; color: rgba(255, 255, 255, 0.9); margin: 0px 6px; -webkit-transition: 0.2s all; transition: 0.2s all; } .notfound-social>a:hover { color: rgba(255, 255, 255, 0.7); background-color: #fff; border-radius: 50%; } @media only screen and (max-width: 767px) { .notfound .notfound-404 h1 { font-size: 182px; } } @media only screen and (max-width: 480px) { .notfound .notfound-404 { height: 146px; } .notfound .notfound-404 h1 { font-size: 146px; } .notfound h2 { font-size: 16px; } .notfound .home-btn, .notfound .contact-btn { font-size: 14px; } } </style> </head> <body> <div id="notfound"> <div class="notfound-bg"></div> <div class="notfound"> <div class="notfound-404"> <h1>404</h1> </div> <h2>we are sorry, but the page you requested was not found</h2> <a href="#" class="home-btn">Try again later</a> </div> </div> </body> </html>