Advertisement
meowmoriaoi

Scss

Jul 30th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. ==========================================
  2. colors.scss
  3. ==========================================
  4.  
  5. $colors: (Kievy: (bg-header: #33363b,
  6. bg-body: #f2f2f2),
  7.  
  8. Bootstrap: (bg-primary: #0d6efd,
  9. bg-secondary: #6c757d,
  10. bg-success: #28a745,
  11. bg-danger: #dc3545,
  12. bg-warning: #ffc107,
  13. bg-info: #17a2b8,
  14. bg-light: #f8f9fa,
  15. bg-dark: #343a40,
  16. bg-white: #fff));
  17.  
  18. ==========================================
  19. function.scss
  20. ==========================================
  21.  
  22. @function color ($library, $color) {
  23. @return map-get(map-get($colors, $library), $color)
  24. }
  25.  
  26. ==========================================
  27. heading.scss
  28. ==========================================
  29.  
  30. .h1,
  31. h1 {
  32. font-size: calc(1.375rem + 1.5vw)
  33. }
  34.  
  35. @media (min-width:1200px) {
  36.  
  37. .h1,
  38. h1 {
  39. font-size: 2.5rem
  40. }
  41. }
  42.  
  43. .h2,
  44. h2 {
  45. font-size: calc(1.325rem + .9vw)
  46. }
  47.  
  48. @media (min-width:1200px) {
  49.  
  50. .h2,
  51. h2 {
  52. font-size: 2rem
  53. }
  54. }
  55.  
  56. .h3,
  57. h3 {
  58. font-size: calc(1.3rem + .6vw)
  59. }
  60.  
  61. @media (min-width:1200px) {
  62.  
  63. .h3,
  64. h3 {
  65. font-size: 1.75rem
  66. }
  67. }
  68.  
  69. .h4,
  70. h4 {
  71. font-size: calc(1.275rem + .3vw)
  72. }
  73.  
  74. @media (min-width:1200px) {
  75.  
  76. .h4,
  77. h4 {
  78. font-size: 1.5rem
  79. }
  80. }
  81.  
  82. .h5,
  83. h5 {
  84. font-size: 1.25rem
  85. }
  86.  
  87. .h6,
  88. h6 {
  89. font-size: 1rem
  90. }
  91.  
  92. p {
  93. margin-top: 0;
  94. margin-bottom: 1rem
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement