Files
wpep/tools/gp/test_example_data/cover_page.html
T

42 lines
1.1 KiB
HTML

<div
style="min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: space-between; font-size: xx-large; page-break-after: always; position: relative"
>
<div
style="flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%"
>
<p class="liu-jian-mao-cao-regular">工农解放报</p>
<p class="liu-jian-mao-cao-regular" style="margin-top: 2%">第四期</p>
<div
style="font-size: 20vh; color: rgb(255, 0, 0); z-index: -1; zoom: 3.5; position: absolute"
>
☭
</div>
</div>
<p style="margin-bottom: 5%; font-size: medium">
工农解放报编辑部
</p>
</div>
<style>
@import url("https://fonts.googleapis.com/css2?family=Liu+Jian+Mao+Cao&display=swap");
@font-face {
font-family: "MaoFont";
src: url("../maozedong.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
.liu-jian-mao-cao-regular {
font-family: "Liu Jian Mao Cao", cursive;
font-weight: 400;
font-style: normal;
}
.mao-font {
font-family: "MaoFont"; /* 改成和 @font-face 里的名字一致 */
}
</style>