forked from bot/app
feat: 更多的字体
This commit is contained in:
parent
c5d2c040fe
commit
edc0a16cad
@ -1,15 +1,33 @@
|
||||
/*MiSans*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('../fonts/MiSans/MiSans-Light.woff2') format('truetype');
|
||||
font-weight: 200;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('../fonts/MiSans/MiSans-Normal.woff2') format('truetype');
|
||||
font-weight: normal;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('../fonts/MiSans/MiSans-Semibold.woff2') format('truetype');
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('../fonts/MiSans/MiSans-Bold.woff2') format('truetype');
|
||||
font-weight: bold;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('../fonts/MiSans/MiSans-Heavy.woff2') format('truetype');
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
/*MapleMono*/
|
||||
@ -52,3 +70,7 @@
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'MapleMono', 'MiSans', sans-serif;
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -8,22 +8,7 @@
|
||||
<link rel="stylesheet" href="css/fonts.css">
|
||||
<style>
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('fonts/normal.ttf') format('truetype');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MiSans';
|
||||
src: url('fonts/bold.ttf') format('truetype');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'MiSans', serif;
|
||||
background-repeat: repeat-y;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
@ -33,7 +18,6 @@
|
||||
//margin: 24px;
|
||||
margin: 20px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.info-box {
|
||||
@ -99,7 +83,8 @@
|
||||
|
||||
.tag {
|
||||
font-size: 32px;
|
||||
font-weight: bold;
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.tag[suffix="1"]::after {
|
||||
|
Loading…
Reference in New Issue
Block a user