_variables.scss 824 B

123456789101112131415161718192021222324252627282930313233
  1. $font-extra: 2.3rem;
  2. $font-large: 1.6rem;
  3. $font-big: 1rem;
  4. $font-medium: .8rem;
  5. $font-normal: .6rem;
  6. $font-small: .45rem;
  7. $col-met: #28429f;
  8. $col-eur: #646578;
  9. $col-mond: #ab9569;
  10. $col-ter: #e01a35;
  11. $col-2: #4dabc1; //popsu 1 : programme 2 ?
  12. $col-1: #61ab32;
  13. $bck-col: #eff2f9;
  14. $lightblue: #98d0d9;
  15. $trame: center/80% linear-gradient(rgba(239,242,249,.5), rgba(239,242,249,.5)), url(../../images/motif_croix.svg) ;
  16. $trame_white: center/80% linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.5)), url(../../images/motif_croix.svg) ;
  17. @media (min-width: 48rem) {
  18. :root {
  19. font-size: calc(1rem + ((1vw - .48rem) * 1.389));
  20. /* .48rem = viewportWidthMinimum /100 */
  21. /* 1.389rem = 100 * fontSizeDifference / viewportWidthDifference */
  22. }
  23. }
  24. @media (min-width: 120em) {
  25. :root {
  26. font-size: 2rem;
  27. }
  28. }