summaryrefslogtreecommitdiff
path: root/src/css/pdfpreview.css
diff options
context:
space:
mode:
authorakiyamn2022-05-30 16:13:42 +1000
committerakiyamn2022-05-30 16:13:42 +1000
commitaa17ffb8d82490b1c05b34ac0dd2607622fafed2 (patch)
tree0e855ee7606df83c9fc0c27ec609efc78106ee08 /src/css/pdfpreview.css
parentce6bb6228cd032e67c4b3af588eb07808678623f (diff)
downloadcss-aa17ffb8d82490b1c05b34ac0dd2607622fafed2.tar.gz
css-aa17ffb8d82490b1c05b34ac0dd2607622fafed2.zip
Reorganised project structure
Diffstat (limited to 'src/css/pdfpreview.css')
-rw-r--r--src/css/pdfpreview.css28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/css/pdfpreview.css b/src/css/pdfpreview.css
new file mode 100644
index 0000000..fb61bc5
--- /dev/null
+++ b/src/css/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;
+}