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

_masthead.scss « scss « assets « docs - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a73f54716b8852f2a7f82a9a8243c52917b4969e (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.bd-masthead {
  position: relative;
  padding: 3rem ($grid-gutter-width / 2) 2rem;
  color: $bd-purple-light;
  text-align: center;
  background: -webkit-linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));
  background:         linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));

  .bd-booticon {
    margin: 0 auto 2rem;
    color: $bd-purple-light;
    border-color: $bd-purple-light;
  }

  h1 {
    font-weight: 300;
    line-height: 1;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    color: #fff;
  }

  .version {
    margin-top: -1rem;
    margin-bottom: 2rem;
  }

  .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: $bd-yellow;
    border-color: $bd-yellow;

    &:hover {
      color: $bd-graphite;
      background-color: $bd-yellow;
      border-color: $bd-yellow;
    }
  }

  .carbonad {
    margin-bottom: -2rem !important;
  }

  @include media-breakpoint-up(sm) {
    padding-top: 8rem;
    padding-bottom: 2rem;

    .btn {
      width: auto;
    }

    .carbonad {
      margin-bottom: 0 !important;
    }
  }

  @include media-breakpoint-up(md) {
    padding-bottom: 4rem;

    .bd-header {
      margin-bottom: 4rem;
    }

    h1 {
      font-size: 4rem;
    }

    .lead {
      font-size: 1.5rem;
    }

    .carbonad {
      margin-top: 3rem !important;
    }
  }

  @include media-breakpoint-up(lg) {
    .lead {
      width: 85%;
      font-size: 2rem;
    }
  }
}