feat: add opposans fonts through cdn.
This commit is contained in:
parent
244e54c594
commit
2414040c4c
27
src/assets/styles/opposans.css
Normal file
27
src/assets/styles/opposans.css
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/**
|
||||||
|
* OPPO Sans Fonts
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'OPPOSans';
|
||||||
|
src:
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Regular.woff2) format('woff2'),
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Regular.ttf) format('truetype');
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'OPPOSans';
|
||||||
|
src:
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Medium.woff2) format('woff2'),
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Medium.ttf) format('truetype');
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face {
|
||||||
|
font-family: 'OPPOSans';
|
||||||
|
src:
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Bold.woff2) format('woff2'),
|
||||||
|
url(https://cdn.yufan.me/opposans/OPPOSans-Bold.ttf) format('truetype');
|
||||||
|
font-weight: 800;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
@ -5,6 +5,7 @@ import '@/assets/styles/iconfont/iconfont.css';
|
|||||||
import 'aplayer/dist/APlayer.min.css';
|
import 'aplayer/dist/APlayer.min.css';
|
||||||
import '@/assets/styles/reset.css';
|
import '@/assets/styles/reset.css';
|
||||||
import '@/assets/styles/globals.css';
|
import '@/assets/styles/globals.css';
|
||||||
|
import '@/assets/styles/opposans.css';
|
||||||
|
|
||||||
import Footer from '@/components/footer/Footer.astro';
|
import Footer from '@/components/footer/Footer.astro';
|
||||||
import Header from '@/components/header/Header.astro';
|
import Header from '@/components/header/Header.astro';
|
||||||
|
Loading…
Reference in New Issue
Block a user