summaryrefslogtreecommitdiff
path: root/pdfpreview.css
diff options
context:
space:
mode:
Diffstat (limited to 'pdfpreview.css')
-rw-r--r--pdfpreview.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/pdfpreview.css b/pdfpreview.css
new file mode 100644
index 0000000..fb61bc5
--- /dev/null
+++ b/pdfpreview.css
@@ -0,0 +1,28 @@
+.pdf-preview-loading {
+ background-color: #EDF2F4;
+ height: 128px;
+ margin: 24px 0;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-evenly;
+ text-align: center;
+}
+.pdf-preview-loading * {
+ margin: 0 auto;
+}
+.pdf-preview {
+ background-color: var(--black);
+ margin: 24px 0;
+ min-height: 100px;
+ max-height: 400px;
+ /* text-align: center;
+ display: flex;
+ text-align: center; */
+ /* justify-content: space-evenly; */
+ overflow: hidden;
+}
+.pdf-preview img {
+ display: block;
+ max-width: 100%;
+ margin: 0 auto;
+}