_header.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .top {
  2. @include themify($themes) {
  3. background-color: themed('single-header-title-background-color');
  4. }
  5. }
  6. .header {
  7. @include flexbox();
  8. @include justify-content(center);
  9. @include align-items(center);
  10. @include flex-direction(column);
  11. &__wrapper {
  12. @include themify($themes) {
  13. border-bottom: 1px solid themed('border-line-color');
  14. }
  15. .title {
  16. font-size: 3rem;
  17. font-weight: 900;
  18. font-family: $title-font;
  19. line-height: 3rem;
  20. overflow-wrap: break-word;
  21. margin: 2rem 1.5rem;
  22. @include themify($themes) {
  23. color: themed("title-color");
  24. }
  25. }
  26. }
  27. }
  28. .blog-header {
  29. @include flexbox();
  30. @include justify-content(center);
  31. @include flex-direction(column);
  32. &__title {
  33. line-height: 1.1;
  34. font-weight: 900;
  35. font-family: $title-font;
  36. font-size: 3rem;
  37. line-height: 3rem;
  38. overflow-wrap: break-word;
  39. @include themify($themes) {
  40. color: themed("title-color");
  41. }
  42. }
  43. &__subtitle {
  44. line-height: 1.2;
  45. }
  46. &__align-left {
  47. @include align-items(flex-start);
  48. }
  49. &__align-center {
  50. @include align-items(center);
  51. }
  52. &__align-right {
  53. @include align-items(flex-end);
  54. }
  55. }