From c4299ddc538de551e0a3fcbe998e43e8f78c744c Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sat, 6 Apr 2024 00:16:20 -0400 Subject: created pdf embed shortcode and style --- static/css/styles.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'static') diff --git a/static/css/styles.css b/static/css/styles.css index a904220..54c98f2 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -304,3 +304,25 @@ nav > h1 { /* filter: brightness(0.5); */ fill: var(--link-color); } + +.pdf-embed { + display: flex; + width: 100%; + height: 50em; +} + +.embed-fallback { + display : none; +} + +@media (width < 700px) { + .embed { + display: none; + } + + .embed-fallback { + display: flex; + justify-content: center; + } + +} -- cgit v1.2.3