-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (26 loc) · 721 Bytes
/
index.html
File metadata and controls
26 lines (26 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="en">
<head>
<style>
.pdf-container {
position: relative;
width: 100%;
max-width: 1280px; /* Matches your Python script width */
margin: 0 auto;
aspect-ratio: 16 / 9; /* Matches 1280x720 ratio */
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
iframe {
width: 100%;
height: 100%;
border: none;
}
</style>
</head>
<body>
<div class="pdf-container">
<!-- #toolbar=0 hides the standard browser UI for a cleaner 'app' look -->
<iframe src="web_asset.pdf#toolbar=0&navpanes=0" type="application/pdf"></iframe>
</div>
</body>
</html>