Skip to content

Commit

Permalink
Set new font
Browse files Browse the repository at this point in the history
  • Loading branch information
fluviusmagnus committed Nov 20, 2023
1 parent 663fced commit 47ad440
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 17 deletions.
Binary file added guanzhi.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ <h1 style="text-align: center;">Cyberkunst Eleutheria</h1>
<br>
<hr style="width: 100%; height: 2px;">
<div class="footer" style="text-align: center;">推荐使用 800 * 600 分辨率浏览本站.<br>
Handcrafted with KompoZer.<br>
© 2023 <a href="https://eleutheria.tech" rel="me" target="_blank">人間夜行</a>&nbsp;All rights reserved.<br>


Expand Down
39 changes: 22 additions & 17 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
h1 {
text-align: center;
}
body {
margin-right: auto;
font-family: "Times New Roman",Times,serif;
max-width: 600px;
margin-left: auto;
}
.footer {
font-size: smaller;
color: #cccccc;
text-align: center;
}
p {
text-align: justify;
}
@font-face {
font-family: GuanZhi;
src: url(guanzhi.ttf);
}
h1 {
text-align: center;
}
body {
margin-right: auto;
font-family: GuanZhi;
max-width: 600px;
margin-left: auto;
}
.footer {
font-size: smaller;
color: silver;
text-align: center;
}
p {
text-align: justify;
}

0 comments on commit 47ad440

Please sign in to comment.