global.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. body,html{
  2. font-size: 16px;
  3. line-height: 1.2;
  4. background: $fond;
  5. .is-active{
  6. overflow: hidden;
  7. }
  8. }
  9. main{
  10. min-height: calc(100vh - 150px);
  11. }
  12. header{
  13. background: white;
  14. }
  15. ul,li,ol{
  16. list-style: none;
  17. }
  18. h1,h2,h3,h4{
  19. margin: 0;
  20. padding: 0;
  21. }
  22. h2{
  23. font-family: 'dukefill';
  24. font-size: 2.5rem;
  25. line-height: 2.5rem;
  26. color: $color2;
  27. @media screen and (min-width: 768px) {
  28. font-size: 3rem;
  29. line-height: 3.5rem;
  30. }
  31. a{
  32. color: $color2;
  33. }
  34. }
  35. h3{
  36. margin: 1rem 0;
  37. font-family: 'dukefill';
  38. font-size: 2rem;
  39. color: $lightgrey;
  40. @media screen and (min-width: 768px){
  41. font-size: 2.5rem;
  42. line-height: 3.5rem;
  43. }
  44. }
  45. p {
  46. + h3 {
  47. margin: 0.5rem 0 1.5rem 0;
  48. }
  49. }
  50. p{
  51. font-size: 1rem;
  52. line-height: 1.5rem;
  53. font-family: 'truenoregular';
  54. strong{
  55. font-family: 'truenobold';
  56. em{
  57. font-family: 'truenobold_italic';
  58. }
  59. }
  60. em{
  61. font-family: 'truenoregular_italic';
  62. }
  63. a{
  64. display: inline;
  65. background: $underline;
  66. }
  67. }
  68. a{
  69. color: black;
  70. text-decoration: none;
  71. &:hover{
  72. color: black;
  73. text-decoration: none;
  74. }
  75. }
  76. blockquote{
  77. margin: 2rem 1rem 2rem 1rem;
  78. color: $lightgrey;
  79. @include croix_or_B;
  80. @media screen and (min-width: 768px) {
  81. margin: 3.5rem 2rem 4rem 2rem;
  82. p{
  83. margin-top: 1rem;
  84. }
  85. }
  86. p{
  87. font-family: 'cormorantBold';
  88. font-size: 2rem;
  89. line-height: 2.5rem;
  90. font-weight: lighter;
  91. margin-top: 0.5rem;
  92. }
  93. }
  94. img{
  95. width:100%;
  96. height: 100%;
  97. object-fit: cover;
  98. }
  99. button{
  100. outline:0;
  101. border: 0;
  102. &:focus{
  103. outline:0;
  104. border: 0;
  105. }
  106. }
  107. footer{
  108. *{
  109. font-family: 'truenobold';
  110. color: $col_black;
  111. }
  112. h2{
  113. text-transform: uppercase;
  114. font-size: 1rem;
  115. line-height: 1.5rem;
  116. }
  117. }