字体存放到本地
This commit is contained in:
parent
67a7935728
commit
3f65685e17
31
code/web/car_dealer/css/fonts.css
Normal file
31
code/web/car_dealer/css/fonts.css
Normal 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;
|
||||
}
|
@ -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 {
|
||||
|
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2
Normal file
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z11lFc-K.woff2
Normal file
Binary file not shown.
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2
Normal file
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z1JlFc-K.woff2
Normal file
Binary file not shown.
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2
Normal file
BIN
code/web/car_dealer/fonts/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2
Normal file
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2022-10-11 23:19:28
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2022-10-12 15:06:58
|
||||
* @LastEditTime: 2022-10-12 17:37:14
|
||||
* @FilePath: \car_dealer\login.html
|
||||
* @Description:
|
||||
*
|
||||
@ -15,13 +15,10 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>登录</title>
|
||||
<link href="css/fonts.css" rel="stylesheet" />
|
||||
<link rel="stylesheet" href="css/root.css" />
|
||||
<link rel="stylesheet" href="css/normalize.css" />
|
||||
<link rel="stylesheet" href="css/login.css" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Poppins:600&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<script src="https://kit.fontawesome.com/a81368914c.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@ -31,7 +28,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="login_box">
|
||||
<form action="">
|
||||
<form>
|
||||
<img src="img/login/avatar.svg" alt="" />
|
||||
<h2>欢迎</h2>
|
||||
<div class="input-div user">
|
||||
|
Loading…
x
Reference in New Issue
Block a user