| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307 |
- <!doctype html>
- <html>
- <head>
- <meta charset="UTF-8">
- <style>
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Light.eot);
- 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");
- font-style: normal;
- font-weight: 300
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-LightItalic.eot);
- 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");
- font-style: italic;
- font-weight: 300
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Regular.eot);
- 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");
- font-style: normal;
- font-weight: 400
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Italic.eot);
- 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");
- font-style: italic;
- font-weight: 400
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Bold.eot);
- 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");
- font-style: normal;
- font-weight: 700
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-BoldItalic.eot);
- 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");
- font-style: italic;
- font-weight: 700
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-Heavy.eot);
- 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");
- font-style: normal;
- font-weight: 800
- }
- @font-face {
- font-family: UCfont;
- src: url(https://dd.unicraft.org/style/fonts/ucfont/hinted-subset-Lato-HeavyItalic.eot);
- 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");
- font-style: italic;
- font-weight: 800
- }
- body,
- html {
- height: initial;
- width: initial;
- font-size: 13px;
- line-height: 1.3;
- -webkit-box-sizing: border-box;
- box-sizing: border-box
- }
- body {
- background: #fff;
- font-weight: 400;
- margin: 0;
- padding: 0
- }
- * {
- -webkit-box-sizing: inherit;
- box-sizing: inherit
- }
- .cert {
- font-family: UCfont, "Open Sans", Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
- font-weight: 400;
- font-size: 13px;
- background-repeat: no-repeat;
- background-position: center;
- background-size: cover;
- background-color: #fff;
- display: block;
- -webkit-box-flex: 0;
- -ms-flex: none;
- flex: none;
- margin: 2rem;
- border: 1rem solid #2785ce;
- padding: 4rem;
- text-align: center;
- position: relative;
- height: 50rem;
- width: 80rem
- }
- .cert p {
- margin: .5em 0
- }
- .cert_logo {
- position: absolute;
- top: 4rem;
- left: 4rem
- }
- .cert_logo img {
- max-height: 100px;
- max-width: 250px
- }
- .cert_main {
- position: absolute;
- top: 45%;
- left: 50%;
- width: 80%;
- -webkit-transform: translateY(-50%) translateX(-50%);
- -ms-transform: translateY(-50%) translateX(-50%);
- transform: translateY(-50%) translateX(-50%)
- }
- .cert_main p {
- font-size: 1.1rem;
- font-style: italic;
- margin-top: .25em;
- margin-bottom: .25em
- }
- .cert_company {
- font-size: 1.25rem;
- margin: 1rem;
- white-space: pre
- }
- .cert_title {
- font-size: 6.66667rem;
- letter-spacing: 5px;
- margin: 1rem;
- text-transform: uppercase;
- position: relative
- }
- .cert_title::after {
- display: block;
- content: "";
- height: 1px;
- width: 80%;
- position: absolute;
- bottom: 0;
- left: 10%;
- border-bottom: 1px solid #8c8c8c
- }
- .cert_student {
- font-size: 2rem;
- padding: 1rem
- }
- .cert_course {
- font-size: 2rem;
- padding: 1rem;
- }
- .cert_comment {
- color: #8c8c8c
- }
- .cert_details {
- position: absolute;
- bottom: 2rem;
- left: 4rem;
- color: #8c8c8c
- }
- .cert_details dd,
- .cert_details dl,
- .cert_details dt {
- margin: 0;
- padding: 0;
- text-align: left;
- letter-spacing: .025em
- }
- .cert_details dl {
- padding: .5rem 0
- }
- .cert_details dd {
- font-size: .85em
- }
- .cert_details dt {
- font-size: 1.215em
- }
- .cert_sign {
- position: absolute;
- bottom: 2rem;
- right: 4rem;
- max-width: 50%;
- text-align: right
- }
- .cert_sign_list {
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- -ms-flex-wrap: nowrap;
- flex-wrap: nowrap;
- max-width: none;
- width: 50%;
- -webkit-box-pack: end;
- -ms-flex-pack: end;
- justify-content: flex-end
- }
- .cert_sign_item {
- width: 33%;
- -webkit-box-flex: 0;
- -ms-flex: none;
- flex: none;
- margin: 0 10px
- }
- .cert_sign_info {
- border-top: 1px solid #8c8c8c;
- padding: .25rem;
- font-size: .85em;
- text-transform: uppercase;
- color: #8c8c8c;
- white-space: pre-line
- }
- .cert_sign_img {
- padding: 5px
- }
- .cert_sign_img img {
- height: 7rem;
- max-width: 100%;
- -o-object-fit: contain;
- object-fit: contain;
- -o-object-position: bottom;
- object-position: bottom;
- image-rendering: crisp-edges
- }
- </style>
- </head>
- <body>
- <div class="cert" style="border-color: {{BORDER_COLOR}}">
- <div class="cert_logo">
- <img src="{{LOGO}}" alt="">
- </div>
- <div class="cert_main">
- <div class="cert_company">{{COMPANY}}</div>
- <div class="cert_title">{{CERT_TITLE}}</div>
- <p>{{CERT_INTRO}}</p>
- <div class="cert_student">
- {{STUDENT}}
- </div>
- <p>{{CERT_COMPLETE_COURSE}}</p>
- <div class="cert_course">
- <div style=" {{COURSE_TITLE_STYLE}} ">{{COURSE}}</div>
- </div>
- </div>
- <div class="cert_details">
- <dl>
- <dd>{{CERT_DATE_START}}</dd>
- <dt>{{START}}</dt>
- </dl>
- <dl>
- <dd>{{CERT_DATE_END}}</dd>
- <dt>{{END}}</dt>
- </dl>
- </div>
- <div class="cert_sign" {{SIGN_HIDE}}>
- <div class="cert_sign_img">
- <img src="{{SIGN_IMG}}">
- </div>
- <div class="cert_sign_info">{{SIGN_DESCR}}</div>
- </div>
- </div>
- </body>
- </html>
|