11<!DOCTYPE html>
22< html lang ="en " style ="height: 100%; ">
3- < head >
4- < meta property ="og:image " content ="https://{{.Host}}/preview/raw/{{.PublicFilename}} ">
5- < meta property ="og:url " content ="https://{{.Host}}/preview/raw/{{.PublicFilename}} " />
6- < meta property ="og:type " content ="website " />
7- < meta property ="og:site_name " content ="A very illegal upload service ">
8- < meta property ="og:title " content ="Not an illegal file " />
9- < style >
10- .centered {
11- position : absolute;
12- top : 50% ;
13- left : 50% ;
14- -ms-transform : translate (-50% , -50% );
15- transform : translate (-50% , -50% );
16- max-width : 100% ;
17- max-height : 100% ;
18- }
193
20- .center {
21- position : absolute;
22- top : 50% ;
23- left : 50% ;
24- -ms-transform : translate (-50% , -50% );
25- transform : translate (-50% , -50% );
26- max-width : 100% ;
27- max-height : 100% ;
28- }
4+ < head >
5+ < meta property ="og:image " content ="{{.Scheme}}://{{.Host}}/preview/raw/{{.PublicFilename}} ">
6+ < meta property ="og:url " content ="{{.Scheme}}://{{.Host}}/preview/raw/{{.PublicFilename}} " />
7+ < meta property ="og:type " content ="website " />
8+ < meta property ="og:site_name " content ="A very illegal upload service ">
9+ < meta property ="og:title " content ="Not an illegal file " />
10+ < style >
11+ .centered {
12+ position : absolute;
13+ top : 50% ;
14+ left : 50% ;
15+ -ms-transform : translate (-50% , -50% );
16+ transform : translate (-50% , -50% );
17+ max-width : 100% ;
18+ max-height : 100% ;
19+ }
2920
30- .downloadButton {
31- background : linear-gradient (to bottom, # f9f9f9 5% , # e9e9e9 100% );
32- background-color : # f9f9f9 ;
33- border-radius : 10px ;
34- border : 1px solid # dcdcdc ;
35- display : inline-block;
36- cursor : pointer;
37- color : # 707070 ;
38- font-family : Times New Roman;
39- font-size : 2.5rem ;
40- font-weight : bold;
41- padding : 14px 55px ;
42- text-decoration : none;
43- }
44- .downloadButton : active {
45- position : relative;
46- background-color : # dfdfdf ;
47- background : # dfdfdf ;
48- top : 1px ;
49- }
21+ .center {
22+ position : absolute;
23+ top : 50% ;
24+ left : 50% ;
25+ -ms-transform : translate (-50% , -50% );
26+ transform : translate (-50% , -50% );
27+ max-width : 100% ;
28+ max-height : 100% ;
29+ }
5030
51- .cv {
52- line-height : 60px ;
53- text-align : center;
54- }
55- </ style >
56- < script src ="https://code.jquery.com/jquery-3.4.1.min.js "> </ script >
57- < link href ="/static/preview/linenumbers.css " type ="text/css " rel ="stylesheet " />
58- < script src ="/static/preview/linenumbers.js "> </ script >
31+ .downloadButton {
32+ background : linear-gradient (to bottom, # f9f9f9 5% , # e9e9e9 100% );
33+ background-color : # f9f9f9 ;
34+ border-radius : 10px ;
35+ border : 1px solid # dcdcdc ;
36+ display : inline-block;
37+ cursor : pointer;
38+ color : # 707070 ;
39+ font-family : Times New Roman;
40+ font-size : 2.5rem ;
41+ font-weight : bold;
42+ padding : 14px 55px ;
43+ text-decoration : none;
44+ }
5945
60- </ head >
61- < body background ="https://images.pexels.com/photos/1242348/pexels-photo-1242348.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940 " style ="background-size: 300% auto;height: 100%;margin: 0; ">
62- {{template "content" .}}
63- </ body >
64- </ html >
46+ .downloadButton : active {
47+ position : relative;
48+ background-color : # dfdfdf ;
49+ background : # dfdfdf ;
50+ top : 1px ;
51+ }
52+
53+ .cv {
54+ line-height : 60px ;
55+ text-align : center;
56+ }
57+ </ style >
58+ < script src ="https://code.jquery.com/jquery-3.4.1.min.js "> </ script >
59+ < link href ="/static/preview/linenumbers.css " type ="text/css " rel ="stylesheet " />
60+ < script src ="/static/preview/linenumbers.js "> </ script >
61+
62+ </ head >
63+
64+ < body
65+ background ="https://images.pexels.com/photos/1242348/pexels-photo-1242348.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940 "
66+ style ="background-size: 300% auto;height: 100%;margin: 0; ">
67+ {{template "content" .}}
68+ </ body >
69+
70+ </ html >
0 commit comments