CINXE.COM
400
<!doctype html> <html lang="ru"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>400</title> <style type="text/css"> @import url("https://fonts.googleapis.com/css?family=PT+Sans:400,700"); body { font: normal 16px "PT Sans", sans-serif; padding: 0; margin: 0; min-height: 100vh; background: #fff; color: #000; text-align: center; display: flex; align-items: center; justify-content: center; } h1 { margin: 2px 0 18px 0; font-size: 30px; line-height: 34px; } .box { width: 100%; max-width: 500px; margin: auto; transform: translateY(-50px); } img { max-width: 100%; } a { color: #2872b9; text-decoration: underline; } a:hover { text-decoration: none; } p { margin: 0.6em 0; } </style> </head> <body> <div class="box"> <p> <h2>400</h2> </p> <h1>Что-то пошло не так...</h1> <p> </p> <p> <a href="/">Вернуться на главную</a> </p> </div> </body> </html>