_variables.scss 1.1 KB

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