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

_masthead.scss « scss « assets « 4.3 « docs « static « site - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8ac39b7704a854639e19e81e67ddef0a65066cec (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
// stylelint-disable declaration-no-important

.bd-masthead {
  position: relative;
  padding: 3rem ($grid-gutter-width / 2);
  background-image: linear-gradient(45deg, #fafafa, #f5f5f5);

  h1 {
    @include font-size(4rem);
    line-height: 1;
  }

  p:not(.lead) {
    color: $gray-700;
  }

  .btn {
    padding: .8rem 2rem;
    font-weight: 600;
    @include font-size(1.25rem);
  }

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

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

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

  @include media-breakpoint-up(md) {
    .carbonad {
      margin-top: 3rem !important;
    }
  }
}

.lead-lg {
  @include font-size(1.5rem);
}

.home-icon {
  width: 6rem;
  height: 6rem;
  padding: 1.5rem;
  color: #fff;
  text-shadow: 0 -.125rem 0 rgba(0, 0, 0, .1);
  @include border-radius(25%);
  box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15);

  &-purple {
    background-image: linear-gradient(180deg, $pink, $purple);
  }

  &-blue {
    background-image: linear-gradient(180deg, $teal, $blue);
  }

  &-yellow {
    background-image: linear-gradient(180deg, $yellow, $orange);
  }
}

@include media-breakpoint-up(md) {
  .mw-md-75 { max-width: 75%; }
}

.half-rule {
  width: 6rem;
  margin: 2rem 0;
}

.masthead-followup {
  .bd-clipboard { display: none; }

  .highlight {
    // padding: .5rem 0;
    // background-color: transparent;
  }
}