Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

102 строки
1.9 KiB

  1. $base-size: 16;
  2. @function size($target, $context: $base-size) {
  3. @return ($target / $context) * 1rem;
  4. }
  5. @mixin afterOverflow {
  6. &:after {
  7. content:".";
  8. display:block;
  9. clear:both;
  10. font-size:0;
  11. height:0;
  12. visibility:hidden;
  13. }
  14. }
  15. @mixin transition {
  16. transition: all 0.3s ease-out;
  17. }
  18. @mixin fullwidth {
  19. width: 100vw;
  20. position: relative;
  21. left: 50%;
  22. right: 50%;
  23. margin: 0 -50vw 5rem -50vw;
  24. background: #f5f5f5;
  25. }
  26. @mixin button {
  27. display: inline-block;
  28. padding: 8px 28px;
  29. font-family: 'Lato', sans-serif;
  30. font-weight: 700;
  31. font-size: size(16);
  32. line-height: size(20);
  33. text-decoration: none;
  34. color: $font;
  35. white-space: nowrap;
  36. border: none;
  37. background: $tertiary;
  38. border-radius: 20px;
  39. cursor: pointer;
  40. @include transition();
  41. &:hover {
  42. color: $white;
  43. }
  44. }
  45. //@mixin btn-primary {
  46. // display: inline-block;
  47. // min-width: 250px;
  48. // text-align: center;
  49. // height: 48px;
  50. // font-size: size(23);
  51. // line-height: size(36);
  52. // font-weight: 500;
  53. // letter-spacing: 2px;
  54. // background: $primary;
  55. // border: none;
  56. // color: #fff;
  57. // text-decoration: none;
  58. // transition: 0.2s;
  59. // &:hover {
  60. // background: lighten($primary, 15%);
  61. // }
  62. //}
  63. //
  64. //@mixin btn-secondary {
  65. // display: inline-block;
  66. // height: 48px;
  67. // padding: 0 25px;
  68. // font-size: size(23);
  69. // line-height: size(36);
  70. // font-weight: 500;
  71. // letter-spacing: 2px;
  72. // background: $secondary;
  73. // border: none;
  74. // color: #fff;
  75. // text-decoration: none;
  76. // transition: 0.2s;
  77. // &:hover {
  78. // background: lighten($secondary, 15%);
  79. // }
  80. //}
  81. //
  82. //@mixin btn-light {
  83. // display: inline-block;
  84. // font-size: size(23);
  85. // line-height: size(36);
  86. // font-weight: 500;
  87. // letter-spacing: 2px;
  88. // background: #fff;
  89. // border: none;
  90. // color: $primary;
  91. // height: 48px;
  92. // transition: 0.2s;
  93. // &:hover {
  94. // background: rgba(#fff, 0.75);
  95. // }
  96. //}