noesya/osuny

View on GitHub
public/500.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>

<head>
  <title>We're sorry, but something went wrong (500)</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>
  <div class="dialog">
    <span>
      500
    </span>
    <div>
      <h1>We're sorry, but something went wrong.</h1>
      <a href="/"><img src="/logo.svg" alt="Osuny" width="100"></a>
    </div>
  </div>
</body>

</html>