Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

7.2 KB
Raw Blame
@import "tailwindcss";

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Jost Font Family */
@font-face {
  font-family: "Jost";
  src: url("/font/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/font/Jost-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/font/Jost-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/font/Jost-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost";
  src: url("/font/Jost-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-jost);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: Jost, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: #0F1115;
color: #fff;
}

/* Article/prose context headings - Dark mode */
article h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #fff;
}

article h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
  padding-top: 1.5rem;
  border-top: 1px solid #ffffff20;
  color: #fff;
}

article h2:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

article h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
  color: #fff;
}

article h1:first-child,
article h2:first-child,
article h3:first-child {
  margin-top: 0;
}

article a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: inherit;
  transition: color 0.2s ease;
}

article a:hover {
  color: #93c5fd;
}

article p {
  margin-bottom: 1.25rem;
  color: #9ca3af;
  line-height: 1.7;
}

article ul {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style-type: disc;
  color: #9ca3af;
}

article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
  color: #9ca3af;
}

article li {
  margin-bottom: 0.375rem;
  line-height: 1.7;
}

article code {
  background-color: #1f2937;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #f87171;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  border: 1px solid #ffffff20;
  word-break: break-word;
  overflow-wrap: break-word;
}

article pre {
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  background-color: #111827;
  border: 1px solid #ffffff20;
  border-radius: 0.5rem;
  padding: 1rem;
}

article pre code {
  background-color: transparent;
  padding: 0;
  font-size: 0.875rem;
  color: #e5e7eb;
  display: block;
  white-space: pre;
  word-wrap: normal;
  overflow-wrap: normal;
  border: none;
  line-height: 1.6;
}

article strong {
  font-weight: 600;
  color: #fff;
}

article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid #ffffff20;
  overflow: hidden;
  border-radius: 0.5rem;
}

article table thead {
  background-color: #1f2937;
}

article table thead th {
  padding: 0.875rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.8125rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-bottom: 1px solid #ffffff20;
  border-right: 1px solid #ffffff20;
}

article table thead th:first-child {
  text-align: left;
}

article table thead th:last-child {
  border-right: none;
}

article table tbody tr {
  transition: background-color 0.1s ease;
}

article table tbody tr:hover {
  background-color: #1f293780;
}

article table tbody td {
  padding: 1rem;
  color: #9ca3af;
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid #ffffff20;
  border-right: 1px solid #ffffff20;
}

article table tbody td:last-child {
  border-right: none;
}

article table tbody td:first-child {
  font-weight: 500;
  color: #fff;
  text-align: left;
  white-space: nowrap;
}

article table td code {
  font-size: 0.875em;
  background-color: #1f2937;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

article {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  main {
    overflow-x: hidden;
    max-width: 100vw;
  }

  article {
    overflow-x: hidden;
    max-width: 100%;
  }

  article h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  article h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }

  article h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }

  article ul,
  article ol {
    padding-left: 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  article li {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  article li code {
    font-size: 0.75em;
    word-break: break-all;
  }

  article p code {
    word-break: break-all;
  }

  article .relative {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }

  article pre {
    font-size: 0.75rem;
    padding: 0.75rem !important;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0.5rem;
  }

  article pre code {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  article .relative {
    margin-left: 0;
    margin-right: 0;
  }

  article table {
    font-size: 0.8125rem;
    display: block;
    border: none;
    overflow: visible;
  }

  article table thead {
    display: none;
  }

  article table tbody {
    display: block;
  }

  article table tbody tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ffffff20;
    background-color: #1f2937;
    padding: 0.75rem;
    border-radius: 0.5rem;
  }

  article table tbody tr:hover {
    background-color: #1f2937;
  }

  article table tbody td {
    display: block;
    padding: 0.5rem 0;
    border: none;
    text-align: left;
    border-bottom: 1px solid #ffffff10;
  }

  article table tbody td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  article table tbody td:first-child {
    font-weight: 600;
    color: #fff;
    font-size: 0.9375rem;
    padding-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ffffff20;
    margin-bottom: 0.5rem;
    white-space: normal;
    min-width: auto;
  }

  article table tbody td:not(:first-child)::before {
    content: attr(data-label);
    font-weight: 600;
    color: #9ca3af;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
  }
}