variables.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // container
  2. $container-width: 1190px;
  3. $body-bg: #fff;
  4. $grey-bg: #f7f7f7;
  5. $dark-bg: rgba(197,197,197,0.4);
  6. $module-bg: rgba(255,255,255,0.6);
  7. $module-hover-bg: $dark-bg;
  8. //Other
  9. $radius: 2px;
  10. //Basic stylings
  11. $br: 4px;
  12. $xs-pad: 4px;
  13. $sm-pad: 8px;
  14. $pad: 1em;
  15. $md-pad: 1.2em;
  16. $lg-pad: 1.5em;
  17. $xlg-pad: 3em;
  18. $trans: .3s;
  19. //Breakpoints
  20. $small-breakpoint: 400px;
  21. $large-breakpoint: $container-width;
  22. //Colors
  23. $primary: #5078CB;
  24. $accent: #1162a4;
  25. $red: #f44336;
  26. $yellow: #ffeb3b;
  27. $dark: #999;
  28. $grey: rgb(230, 230, 230);
  29. $grey-light: #efefef;
  30. $white: #fff;
  31. $black: #000;
  32. $black-light: #474443;
  33. //Text
  34. $text: $black-light;
  35. $secondary: rgba(0, 0, 0, .54);
  36. $disabled: rgba(0, 0, 0, .38);
  37. $dividers: #c9c9c9;
  38. //Links
  39. $link-color: $text;
  40. $link-hover-color: darken($link-color, 20%);
  41. //Font
  42. $font-family: "Microsoft YaHei",'微软雅黑',serif;
  43. //Typography
  44. $font-size-small: 12px;
  45. $font-size: 14px;
  46. $font-size-large: 1.2rem;
  47. $font-size-h1: 2rem;
  48. $font-size-h2: 1.75rem;
  49. $font-size-h3: 1.5rem;
  50. $font-size-h4: 1.2rem;
  51. $font-size-h5: 1rem;
  52. $font-size-h6: $font-size-small;
  53. $line-height: 1.2;
  54. $border: 1px solid $dividers;