aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/layout/page-header.module.scss
blob: 1a90fe59f0cf760f5513636ef73d6fbfd0f89461 (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
26
27
28
29
30
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Sp
@use "../../../styles/abstracts/functions" as fun;
@use "../../../styles/abstracts/placeholders";

.wrapper {
  @extend %grid;

  &::before,
  &::after {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
    border-top: fun.convert-px(3) solid var(--color-border-light);
    border-bottom: fun.convert-px(3) solid var(--color-border-light);
  }

  &::before {
    grid-column: 1;
    justify-self: start;
    border-right: fun.convert-px(3) solid var(--color-border-light);
  }

  &::after {
    grid-column: 3;
    justify-self: end;
    border-left: fun.convert-px(3) solid var(--color-border-light);
  }
}

.body {
  grid-column: 2;
  display: flex;
  flex-flow: column wrap;
  row-gap: var(--spacing-sm);
}

.title {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  position: relative;

  &::before,
  &::after {
    content: "";
    width: 100%;
    height: fun.convert-px(4);
    background: radial-gradient(
      ellipse at center,
      var(--color-primary-light),
      var(--color-primary-dark)
    );
  }
}

.meta {
  font-size: var(--font-size-sm);
}

.intro {
  > *:last-child {
    margin-bottom: 0;
  }
}