File tree 1 file changed +36
-23
lines changed
1 file changed +36
-23
lines changed Original file line number Diff line number Diff line change 1
- < html >
2
- < head >
3
- < style >
4
- body {
5
- background-color : # ffffff ;
6
- display : flex;
7
- justify-content : center;
8
- align-items : center;
9
- height : 100vh ;
10
- margin : 0 ;
11
- }
12
- object {
13
- height : 85% ;
14
- aspect-ratio : 5 / 6 ;
15
- border : 3px solid # 5e81ac ;
16
- }
17
- </ style >
18
- </ head >
19
- < body >
20
- < object data ="https://hudson.is-a.dev/misc/resume.pdf " type ="application/pdf ">
21
- < p > PDF didn't display properly, click the following link: < a href ="https://hudson.is-a.dev/misc/resume.pdf "> to download the PDF.</ a > </ p >
22
- </ object >
23
- </ body >
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="utf-8 ">
5
+ < title > Resume PDF</ title >
6
+ < style >
7
+ body {
8
+ background-color : # 2e3440 ;
9
+ display : flex;
10
+ justify-content : center;
11
+ align-items : center;
12
+ margin : 0 ;
13
+ min-height : 100vh ; /* ensures the container can grow as needed */
14
+ }
15
+
16
+ .pdf-container {
17
+ background-color : # ffffff ; /* force white background */
18
+ width : 90vw ;
19
+ height : 90vh ;
20
+ border : 3px solid # 5e81ac ;
21
+ }
22
+ </ style >
23
+ </ head >
24
+ < body >
25
+ < div class ="pdf-container ">
26
+ < object
27
+ data ="https://hudson.is-a.dev/misc/resume.pdf "
28
+ type ="application/pdf "
29
+ width ="100% "
30
+ height ="100% ">
31
+ < p > PDF didn’t display properly on this browser.
32
+ < a href ="https://hudson.is-a.dev/misc/resume.pdf "> Click here to download</ a > .
33
+ </ p >
34
+ </ object >
35
+ </ div >
36
+ </ body >
24
37
</ html >
You can’t perform that action at this time.
0 commit comments