Spaces:
Running
Running
crie uma pagina html reponsive que exiba o conteudo de um arquivo pdf como se fosse uma pagina html. por exemplo o codigo a vir parametrizado o arquivo pdf e ao abrir a pagina esse arquivo ser exibido direto sem nehuma pergunta adicional
8b0066f verified Download style.css from Deepdomarcio/pdf-magic-viewer: direct link, hf CLI and curl.
- Browser
- Download file 411 Bytes
-
https://huggingface.co/spaces/Deepdomarcio/pdf-magic-viewer/resolve/main/style.css
- Command line
-
hf download hf://spaces/Deepdomarcio/pdf-magic-viewer/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Deepdomarcio/pdf-magic-viewer/resolve/main/style.css
411 Bytes
| /* PDF Viewer Styles */ | |
| #pdfViewer { | |
| max-height: 80vh; | |
| border: 1px solid #e2e8f0; | |
| } | |
| /* Scrollbar styling */ | |
| #pdfViewer::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| #pdfViewer::-webkit-scrollbar-track { | |
| background: #f1f1f1; | |
| } | |
| #pdfViewer::-webkit-scrollbar-thumb { | |
| background: #c1c1c1; | |
| border-radius: 4px; | |
| } | |
| #pdfViewer::-webkit-scrollbar-thumb:hover { | |
| background: #a8a8a8; | |
| } |