Add Helvetica-Light-05 font files in TTF, WOFF, and WOFF2 formats
This commit is contained in:
12
src/components/PinPuYi/Helvetica.css
Normal file
12
src/components/PinPuYi/Helvetica.css
Normal file
@ -0,0 +1,12 @@
|
||||
@font-face {
|
||||
font-family: 'Helvetica Custom';
|
||||
src: url('fonts/Helvetica-Light-05.eot');
|
||||
src: url('fonts/Helvetica-Light-05.eot?#iefix') format('embedded-opentype'),
|
||||
url('fonts/Helvetica-Light-05.woff2') format('woff2'),
|
||||
url('fonts/Helvetica-Light-05.woff') format('woff'),
|
||||
url('fonts/Helvetica-Light-05.ttf') format('truetype'),
|
||||
url('fonts/Helvetica-Light-05.svg#Helvetica') format('svg');
|
||||
font-weight: 400; /* 400 通常代表 'normal' 或 'regular' */
|
||||
font-style: normal;
|
||||
font-display: swap; /* 推荐 */
|
||||
}
|
@ -26,6 +26,7 @@ import DeviceImage from './pin-pu-yi-bg.png';
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
@import url('./Helvetica.css');
|
||||
img {
|
||||
width: calc(2554px * 0.5);
|
||||
height: calc(1626px * 0.5);
|
||||
@ -36,6 +37,8 @@ img {
|
||||
box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.5);
|
||||
}
|
||||
.ppy-btn {
|
||||
font-family: 'Helvetica Custom';
|
||||
|
||||
height: 30px;
|
||||
width: 36px;
|
||||
border: 1px solid green;
|
||||
|
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.eot
Normal file
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.eot
Normal file
Binary file not shown.
2899
src/components/PinPuYi/fonts/Helvetica-Light-05.svg
Normal file
2899
src/components/PinPuYi/fonts/Helvetica-Light-05.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 447 KiB |
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.ttf
Normal file
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.ttf
Normal file
Binary file not shown.
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.woff
Normal file
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.woff
Normal file
Binary file not shown.
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.woff2
Normal file
BIN
src/components/PinPuYi/fonts/Helvetica-Light-05.woff2
Normal file
Binary file not shown.
Reference in New Issue
Block a user