extra.css 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @font-face{
  2. font-family: 'Iosevka Curly';
  3. src: local('Iosevka Curly Medium'),
  4. url('https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/font/iosevka-curly/iosevka-curly-medium.woff2') format('woff2');
  5. font-display: swap;
  6. font-weight: normal;
  7. font-style: normal;
  8. }
  9. @font-face{
  10. font-family: 'Iosevka Curly';
  11. src: local('Iosevka Curly Bold'),
  12. url('https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/font/iosevka-curly/iosevka-curly-bold.woff2') format('woff2');
  13. font-display: swap;
  14. font-weight: bold;
  15. font-style: normal;
  16. }
  17. @font-face{
  18. font-family: 'HYYouYuan';
  19. src: local('HYYouYuan-55W'),
  20. url('https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/font/HYYouYuan/HYYouYuan-55W.ttf') format('truetype');
  21. font-display: swap;
  22. font-weight: normal;
  23. font-style: normal;
  24. }
  25. @font-face{
  26. font-family: 'HYYouYuan';
  27. src: local('HYYouYuan-75W'),
  28. url('https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/font/HYYouYuan/HYYouYuan-75W.ttf') format('truetype');
  29. font-display: swap;
  30. font-weight: bold;
  31. font-style: normal;
  32. }
  33. * {
  34. -webkit-font-feature-settings: "liga" on, "calt" on;
  35. -webkit-font-smoothing: subpixel-antialiased;
  36. -moz-osx-font-smoothing: auto;
  37. text-rendering: optimizeLegibility;
  38. font-family: "Iosevka Curly", HYYouYuan !important;
  39. }
  40. code,
  41. .md-nav,
  42. .md-typeset code,
  43. .md-typeset {
  44. font-size: 14px !important;
  45. }
  46. .highlight span.filename,
  47. .md-typeset .admonition-title,
  48. .md-typeset summary {
  49. font-weight: normal;
  50. }