字体存放到本地

This commit is contained in:
2022-10-12 17:58:40 +08:00
parent 67a7935728
commit 3f65685e17
6 changed files with 42 additions and 8 deletions

View File

@@ -0,0 +1,31 @@
/* devanagari */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(../fonts/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2) format("woff2");
unicode-range: U+0900-097F, U+1CD0-1CF6, U+1CF8-1CF9, U+200C-200D, U+20A8,
U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FB;
}
/* latin-ext */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(../fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2) format("woff2");
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 600;
font-display: swap;
src: url(../fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format("woff2");
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
U+2215, U+FEFF, U+FFFD;
}

View File

@@ -101,7 +101,7 @@ body {
border: none;
outline: none;
height: 2rem;
padding: 0px 5px;
padding: 0px 10px;
border-radius: 5px;
}
@@ -121,7 +121,13 @@ body {
margin: 1rem auto;
/* 鼠标放上变小手 */
cursor: pointer;
/* transition: 0.5s; */
/* transition: 0.1s; */
}
.btn_login:active {
background-color: var(--btn-font-color);
background-image: none;
color: var(--btn-color-red);
}
.title_box {