Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

81 Zeilen
1.5 KiB

  1. $base-size: 16;
  2. @function size($target, $context: $base-size) {
  3. @return ($target / $context) * 1rem;
  4. }
  5. @mixin transition {
  6. transition: all 0.3s ease-out;
  7. }
  8. @mixin button {
  9. display: inline-block;
  10. padding: 8px 28px;
  11. font-family: 'Lato', sans-serif;
  12. font-weight: 700;
  13. font-size: size(16);
  14. line-height: size(20);
  15. text-decoration: none;
  16. color: $font;
  17. border: none;
  18. background: $tertiary;
  19. border-radius: 20px;
  20. cursor: pointer;
  21. @include transition();
  22. &:hover {
  23. color: #fff;
  24. }
  25. }
  26. //@mixin btn-primary {
  27. // display: inline-block;
  28. // min-width: 250px;
  29. // text-align: center;
  30. // height: 48px;
  31. // font-size: size(23);
  32. // line-height: size(36);
  33. // font-weight: 500;
  34. // letter-spacing: 2px;
  35. // background: $primary;
  36. // border: none;
  37. // color: #fff;
  38. // text-decoration: none;
  39. // transition: 0.2s;
  40. // &:hover {
  41. // background: lighten($primary, 15%);
  42. // }
  43. //}
  44. //
  45. //@mixin btn-secondary {
  46. // display: inline-block;
  47. // height: 48px;
  48. // padding: 0 25px;
  49. // font-size: size(23);
  50. // line-height: size(36);
  51. // font-weight: 500;
  52. // letter-spacing: 2px;
  53. // background: $secondary;
  54. // border: none;
  55. // color: #fff;
  56. // text-decoration: none;
  57. // transition: 0.2s;
  58. // &:hover {
  59. // background: lighten($secondary, 15%);
  60. // }
  61. //}
  62. //
  63. //@mixin btn-light {
  64. // display: inline-block;
  65. // font-size: size(23);
  66. // line-height: size(36);
  67. // font-weight: 500;
  68. // letter-spacing: 2px;
  69. // background: #fff;
  70. // border: none;
  71. // color: $primary;
  72. // height: 48px;
  73. // transition: 0.2s;
  74. // &:hover {
  75. // background: rgba(#fff, 0.75);
  76. // }
  77. //}