Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_page-header.scss « scss « assets « docs - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 66f825766900a89086b9b77f4a3b48f6bbfb1bf8 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.bd-pageheader {
  padding: 2rem .75rem;
  margin-bottom: 1.5rem;
  color: $bd-purple-light;
  text-align: center;
  background-color: $bd-purple;

  .container {
    position: relative;
  }

  h1 {
    font-size: 3rem;
    font-weight: normal;
    color: #fff;
  }

  p {
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  @include media-breakpoint-up(sm) {
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin-bottom: 3rem;
    text-align: left;

    .carbonad {
      margin: 2rem 0 0 !important;
    }
  }

  @include media-breakpoint-up(md) {
    h1 {
      font-size: 4rem;
    }
  }

  @include media-breakpoint-up(lg) {
    h1,
    p {
      margin-right: 380px;
    }

    .carbonad {
      position: absolute;
      top: 0;
      right: .75rem; // offset from the .container's padding
      margin: 0 !important;
    }
  }
}