#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
/* Base reset + typography for the portal, scoped to .portal-scope so it doesn't
leak into the editor that hosts the /portal route (the editor owns <body> and
uses a different body font). SUI Modal renders outside this subtree but styles
itself, so it doesn't need the reset.
The element resets use :where(.portal-scope) so the scoping adds no
specificity — the selectors stay at bare-element weight (as they were when
this reset was global), letting component classes like .sui-btn win. Without
:where, `.portal-scope button` would outweigh `.sui-btn` and strip its fill. */
.portal-scope {
color: var(--c-text-muted);
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
:where(.portal-scope) *,
:where(.portal-scope) *::before,
:where(.portal-scope) *::after {
box-sizing: border-box;
}
:where(.portal-scope) button {
font: inherit;
color: inherit;
background: none;
border: none;
padding: 0;
cursor: pointer;
}
:where(.portal-scope) a {
color: var(--c-accent-text);
text-decoration: none;
}
:where(.portal-scope) a:hover {
text-decoration: underline;
}