noesya/osuny

View on GitHub
public/404.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>

<head>
  <title>The page you were looking for doesn't exist (404)</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <style>
    body {
      padding: 15px;
    }

    * {
      font-family: sans-serif;
      font-size: 14px;
      margin: 0;
      text-align: center;
    }

    .dialog {
      width: 95%;
      max-width: 22em;
      margin: calc(50vh - 140px) auto 0;
    }

    .dialog span {
      font-size: 150px;
      font-weight: 900;
      letter-spacing: -0.04em;
      display: block;
      width: 100%;
      line-height: 0.9;
    }

    img {
      margin-bottom: 30px;
    }

    h1 {
      font-size: 14px;
      line-height: 1.5em;
      margin-bottom: 30px;
    }

    h1 em {
      font-weight: 400;
    }
  </style>
</head>

<body class="error-page">
  <div class="dialog">
    <span>
      404
    </span>
    <div>
      <h1>The page you were looking for doesn't exist.<br><em>You may have mistyped the address or the page may have moved.</em></h1>
      <a href="/"><img src="/logo.svg" alt="Osuny" width="100"></a>
    </div>
  </div>
</body>

</html>