summaryrefslogtreecommitdiff
path: root/src/components/ContentHeader.module.scss
blob: be1697b058709fac10e8d529755f68c0abef1a60 (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
31
32
33
34
@use '~/styles/utils/custom-media' as *;

.root {
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 15px;

  @media (max-width: 768px) {
    min-height: 48px;
    height: auto;
    padding: 5px 15px;
    flex-wrap: wrap;
  }

  @media (--breakpoint-not-small) {
    padding: 0 40px;
  }
}

.h1 {
  white-space: nowrap;
  font-size: 1.7em;

  @media (max-width: 768px) {
    font-size: 1.4em;
  }

  @media (--breakpoint-not-small) {
    font-size: 2em;
  }
  text-align: left;
  margin: 0;
}