_fonts.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. @import '../fonts/libertinus/libertinus.css';
  2. @import '../fonts/notosans/notosans.css';
  3. // @import '../fonts/notosans/notosans-semicondensed.css';
  4. // @import '../fonts/notosans/notosans-condensed.css';
  5. // @import '../fonts/notosans/notosans-extracondensed.css';
  6. @mixin fontsans {
  7. font-family: "noto_sans";
  8. }
  9. @mixin fontserif {
  10. font-family: 'libertinus_serif';
  11. }
  12. body{
  13. @include fontserif;
  14. font-weight: 400;
  15. // font-family: 'noto_sans';
  16. // font-weight: 900;
  17. // font-style: italic;
  18. }
  19. #header-menu,
  20. #footer-tabs,
  21. #search,
  22. footer[role="tools"] .row>header,
  23. footer[role="tools"] .row>nav{
  24. @include fontsans;
  25. }
  26. @mixin title1blue {
  27. @include fontserif;
  28. font-size: 2.268em;
  29. color: $bleuroi;
  30. font-weight: 400;
  31. margin:0;
  32. line-height: $base-line;
  33. }
  34. @mixin title1black {
  35. @include fontserif;
  36. font-size: 1.512em;
  37. color: $grisfonce;
  38. font-weight: 400;
  39. margin:0;
  40. }
  41. @mixin title2black {
  42. @include fontserif;
  43. font-size: 1.134em;
  44. color: $grisfonce;
  45. font-weight: 400;
  46. margin:0;
  47. }
  48. @mixin title3black {
  49. @include fontserif;
  50. font-size: 1em;
  51. color: $grisfonce;
  52. font-weight: 400;
  53. margin:0;
  54. }
  55. @mixin title4black {
  56. @include fontserif;
  57. font-size: 0.882em;;
  58. color: $grisfonce;
  59. font-weight: 400;
  60. margin:0;
  61. }
  62. @mixin title4grey {
  63. @include fontserif;
  64. font-size: 0.882em;;
  65. color: $gris;
  66. font-weight: 400;
  67. margin:0;
  68. }
  69. // TEI
  70. @mixin teititlefrontblue {
  71. @include fontserif;
  72. font-size: 2.6em;
  73. color: $bleuroi;
  74. font-weight: 400;
  75. margin:0;
  76. text-align: center;
  77. line-height: $base-line * 1.5;
  78. }
  79. @mixin teititle1blue {
  80. @include fontserif;
  81. font-size: 1.8em;
  82. color: $bleuroi;
  83. font-weight: 400;
  84. margin:0;
  85. line-height: $base-line;
  86. }
  87. @mixin fontcaption {
  88. @include fontsans;
  89. font-size: 0.643em;
  90. line-height: 1.1em;
  91. }