Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

1.8 KB
Raw Blame
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

/* Give the mount node an explicit height so full-height layouts can size against
   it with percentages. */
#root {
  height: 100%;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

code {
  font-family:
    source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

/* Suppress font visibility warnings for PDF.js embedded fonts */
@font-face {
  font-family: "Adwaita Mono";
  src: local("Adwaita Mono");
  font-display: optional;
}

@font-face {
  font-family: "Nimbus Mono PS";
  src: local("Nimbus Mono PS");
  font-display: optional;
}

/* CSS Variables */
:root {
  --footer-height: 2rem;
}

/* Footer link styling - make buttons and links look identical */
.footer-link {
  color: var(--mantine-color-gray-6);
  text-decoration: none;
  transition: color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
}

.footer-link:hover {
  color: var(--mantine-color-blue-8);
  text-decoration: underline;
}

.stirling-link {
  color: var(--c-accent-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.stirling-link:hover {
  color: var(--mantine-color-blue-8);
  text-decoration: underline;
}

/* Viewer file tabs */
.viewer-file-tab {
  justify-content: flex-start;
}

.viewer-file-tab[data-active] {
  background-color: color-mix(
    in srgb,
    var(--c-tab-active-tint) 50%,
    transparent
  );
}