LumChron

Simplistic Garamond with strong + small caps

Jan 8th, 2020
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.74 KB | None | 0 0
  1. @import url("/light.css");
  2. @font-face {
  3.   font-family: 'EB Garamond';
  4.   font-style: italic;
  5.   font-weight: 400;
  6.   src: local('EB Garamond Italic'), url(https://campaignwiki.org/fonts/EBGaramond12-Italic.ttf);
  7. }
  8. @font-face {
  9.   font-family: 'EB Garamond';
  10.   font-style: normal;
  11.   font-weight: 400;
  12.   src: local('EB Garamond Roman'), url(https://campaignwiki.org/fonts/EBGaramond12-Regular.ttf);
  13. }
  14. body {
  15.   font-family: "EB Garamond";
  16.   font-size: 12pt;
  17. }
  18. /* use small caps instead of bold */
  19. h1, h2, b, th {
  20.   font-variant: small-caps;
  21.   font-weight: normal !important;
  22. }
  23. /* no use of bold in _this_ */
  24. em.underline {
  25.   font-weight: normal !important;
  26. }
  27. /* slim headings */
  28. h1 { padding: 0.1em 0em; }
  29. h2 { padding: 0.1em 0em; }
Add Comment
Please, Sign In to add comment