index.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <!DOCTYPE html>
  2. <html lang="ru">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Certificate</title>
  8. <style>
  9. @font-face {
  10. font-family: UCfont;
  11. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.eot);
  12. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.ttf) format("truetype");
  13. font-style: normal;
  14. font-weight: 300
  15. }
  16. @font-face {
  17. font-family: UCfont;
  18. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.eot);
  19. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.ttf) format("truetype");
  20. font-style: italic;
  21. font-weight: 300
  22. }
  23. @font-face {
  24. font-family: UCfont;
  25. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.eot);
  26. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.ttf) format("truetype");
  27. font-style: normal;
  28. font-weight: 400
  29. }
  30. @font-face {
  31. font-family: UCfont;
  32. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.eot);
  33. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.ttf) format("truetype");
  34. font-style: italic;
  35. font-weight: 400
  36. }
  37. @font-face {
  38. font-family: UCfont;
  39. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.eot);
  40. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.ttf) format("truetype");
  41. font-style: normal;
  42. font-weight: 700
  43. }
  44. @font-face {
  45. font-family: UCfont;
  46. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.eot);
  47. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.ttf) format("truetype");
  48. font-style: italic;
  49. font-weight: 700
  50. }
  51. @font-face {
  52. font-family: UCfont;
  53. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.eot);
  54. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.ttf) format("truetype");
  55. font-style: normal;
  56. font-weight: 800
  57. }
  58. @font-face {
  59. font-family: UCfont;
  60. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.eot);
  61. src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.eot?#iefix) format("embedded-opentype"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.woff2) format("woff2"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.woff) format("woff"), url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.ttf) format("truetype");
  62. font-style: italic;
  63. font-weight: 800
  64. }
  65. html,
  66. body {
  67. padding: 0;
  68. margin: 0;
  69. font-family: 'UCfont', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  70. }
  71. .cert_table {
  72. width: 842px;
  73. height: 595px;
  74. border-spacing: 0px;
  75. table-layout: fixed;
  76. overflow: hidden;
  77. color: #000;
  78. text-align: center;
  79. border: none;
  80. }
  81. .bgimg {
  82. position: absolute;
  83. height: 100%;
  84. width: 100%;
  85. z-index: 0;
  86. left: 0;
  87. top: 0;
  88. background-color: #eee;
  89. }
  90. .content {
  91. position: absolute;
  92. z-index: 100;
  93. height: 100%;
  94. width: 100%;
  95. left: 0;
  96. top: 0;
  97. }
  98. .info {
  99. line-height: 1.1;
  100. position: absolute;
  101. left: 8.6%;
  102. text-align: center;
  103. width: 80%;
  104. }
  105. .student {
  106. top: 37%;
  107. font-size: 28px;
  108. font-weight: 400;
  109. }
  110. .course {
  111. font-size: 28px;
  112. top: 55%;
  113. }
  114. .date {
  115. position: absolute;
  116. text-align: left;
  117. font-size: 14px;
  118. font-weight: 400;
  119. }
  120. .date.end {
  121. bottom: 12.5%;
  122. left: 20%;
  123. }
  124. </style>
  125. </head>
  126. <body>
  127. <table class="cert_table">
  128. <tr>
  129. <td style="position: relative;">
  130. <!-- <img src="http://ucdev:9002/static/branding/ecrs/cert_custom/bg_text.png" class="bgimg"> -->
  131. <img src="https://dd.unicraft.org/static/branding/ecrs/cert_custom/bg_text.png" class="bgimg">
  132. <div class="content">
  133. <div class="info course">{{COURSE}}</div>
  134. <div class="info student">{{STUDENT}}</div>
  135. </div>
  136. <div class="date end">{{END}}</div>
  137. </td>
  138. </tr>
  139. </table>
  140. </body>
  141. </html>