Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

title.sass 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. $title-color: $grey-darker !default
  2. $title-size: $size-3 !default
  3. $title-weight: $weight-semibold !default
  4. $title-line-height: 1.125 !default
  5. $title-strong-color: inherit !default
  6. $title-strong-weight: inherit !default
  7. $title-sub-size: 0.75em !default
  8. $title-sup-size: 0.75em !default
  9. $subtitle-color: $grey-dark !default
  10. $subtitle-size: $size-5 !default
  11. $subtitle-weight: $weight-normal !default
  12. $subtitle-line-height: 1.25 !default
  13. $subtitle-strong-color: $grey-darker !default
  14. $subtitle-strong-weight: $weight-semibold !default
  15. $subtitle-negative-margin: -1.25rem !default
  16. .title,
  17. .subtitle
  18. @extend %block
  19. word-break: break-word
  20. em,
  21. span
  22. font-weight: inherit
  23. sub
  24. font-size: $title-sub-size
  25. sup
  26. font-size: $title-sup-size
  27. .tag
  28. vertical-align: middle
  29. .title
  30. color: $title-color
  31. font-size: $title-size
  32. font-weight: $title-weight
  33. line-height: $title-line-height
  34. strong
  35. color: $title-strong-color
  36. font-weight: $title-strong-weight
  37. & + .highlight
  38. margin-top: -0.75rem
  39. &:not(.is-spaced) + .subtitle
  40. margin-top: $subtitle-negative-margin
  41. // Sizes
  42. @each $size in $sizes
  43. $i: index($sizes, $size)
  44. &.is-#{$i}
  45. font-size: $size
  46. .subtitle
  47. color: $subtitle-color
  48. font-size: $subtitle-size
  49. font-weight: $subtitle-weight
  50. line-height: $subtitle-line-height
  51. strong
  52. color: $subtitle-strong-color
  53. font-weight: $subtitle-strong-weight
  54. &:not(.is-spaced) + .title
  55. margin-top: $subtitle-negative-margin
  56. // Sizes
  57. @each $size in $sizes
  58. $i: index($sizes, $size)
  59. &.is-#{$i}
  60. font-size: $size