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

_featurettes.scss « scss « assets « docs - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba0c7343886dd0951e59fd10e7ff02a64b1c6ab4 (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
.bd-featurette {
  padding-top: 3rem;
  padding-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
  // text-align: center;
  background-color: #fff;
  border-top: 1px solid #eee;

  .highlight {
    text-align: left;
  }

  @include media-breakpoint-up(md) {
    .col-sm-6:first-child {
      padding-right: ($grid-gutter-width * 1.5);
    };
    .col-sm-6:last-child {
      padding-left: ($grid-gutter-width * 1.5);
    }
  }
}

.bd-featurette-title {
  margin-bottom: .5rem;
  font-size: 2rem;
  font-weight: normal;
  color: #333;

  + .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
}
.half-rule {
  width: 6rem;
  margin: 2.5rem 0;
}
.bd-featurette h4 {
  margin-top: 1rem;
  margin-bottom: .5rem;
  font-weight: normal;
  color: #333;
}
.bd-featurette-img {
  display: block;
  margin-bottom: 1.25rem;
  color: #333;
}
.bd-featurette-img:hover {
  color: $brand-primary;
  text-decoration: none;
}
.bd-featurette-img img {
  display: block;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .bd-featurette .img-responsive {
    margin-top: 2rem;
  }
}
@media (min-width: 768px) {
  .bd-featurette {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .bd-featurette-title {
    font-size: 2.5rem;
  }
  .bd-featurette .lead {
    max-width: 80%;
    // margin-right: auto;
    // margin-left: auto;
  }
  .bd-featurette .img-responsive {
    margin-top: 0;
  }
}