about.scss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. $maximum-width: 1235px;
  2. $fluid-breakpoint: $maximum-width + 20px;
  3. .container {
  4. box-sizing: border-box;
  5. max-width: $maximum-width;
  6. margin: 0 auto;
  7. position: relative;
  8. @media screen and (max-width: $fluid-breakpoint) {
  9. width: 100%;
  10. padding: 0 10px;
  11. }
  12. }
  13. .brand {
  14. position: relative;
  15. text-decoration: none;
  16. }
  17. .rules-list {
  18. font-size: 15px;
  19. line-height: 22px;
  20. color: $primary-text-color;
  21. counter-reset: list-counter;
  22. li {
  23. position: relative;
  24. border-bottom: 1px solid lighten($ui-base-color, 8%);
  25. padding: 1em 1.75em;
  26. padding-left: 3em;
  27. font-weight: 500;
  28. counter-increment: list-counter;
  29. &::before {
  30. content: counter(list-counter);
  31. position: absolute;
  32. left: 0;
  33. top: 50%;
  34. transform: translateY(-50%);
  35. background: $highlight-text-color;
  36. color: $ui-base-color;
  37. border-radius: 50%;
  38. width: 4ch;
  39. height: 4ch;
  40. font-weight: 500;
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. }
  45. &:last-child {
  46. border-bottom: 0;
  47. }
  48. }
  49. }