aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/layout/section.module.scss
blob: 012493a7d8c4aeb0ec36b938b3022c8d4a00df1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@use "@styles/abstracts/functions" as fun;
@use "@styles/abstracts/placeholders";

.wrapper {
  @extend %grid;

  padding: var(--spacing-md) 0;

  &--borders {
    border-bottom: fun.convert-px(1) solid var(--color-border);
  }

  &--dark {
    background: var(--color-bg-secondary);
  }

  &--light {
    background: var(--color-bg);
  }
}

.body,
.title {
  grid-column: 2;
}