summaryrefslogtreecommitdiff
path: root/live/static/fork-awesome/src/doc/assets/less/site/bootstrap/jumbotron.less
blob: a04420b72857a7a2fb43f900e01e067e1a5dc7b1 (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
.jumbotron {
  background-color: lighten(@jumbotron-bg, 2%);
  border-top: 1px solid mix(@jumbotron-bg, @jumbotron-color, 90%);
  border-bottom: 1px solid @jumbotron-border;
  margin-bottom: 0;
  &, h1 { color: @jumbotron-color; }
  padding: 50px 0 40px;

  h1 {
    font-size: 80px;
    letter-spacing: -2px;
    line-height: 1;
    margin: 0 0 15px;
  }
  p {
    font-family: @font-family-alt;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: lighter;
  }

  .list-group-item {
    border-color: mix(@jumbotron-color, @fa-green, 15%);
    background: transparent;
  }

  .text-muted {
    color: mix(@jumbotron-color, @fa-green, 45%);
  }
}

.jumbotron-ad, .jumbotron-carousel {
  h1 {
    text-shadow: 4px 3px 0px @jumbotron-bg, 9px 8px 0px rgba(0,0,0,0.15); // double text shadow
  }
  p {
    color: mix(@jumbotron-color, @jumbotron-bg, 75%);
    text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  }
}

.jumbotron-icon {
  padding: 30px 0 25px;
  background-color: @gray-lighter;
  color: @gray-darker;
  &, h1 { text-shadow: 0 1px 0 #fff; }
  border-bottom-color: mix(@gray-light, @gray-lighter, 25%);
  border-top-color: mix(#fff, @gray-lighter, 50%);
  h1 {
    color: @gray-darker;
    margin-top: @buffer-lg;
    small {
      letter-spacing: normal;
      font-family: @font-family-sans-serif;
      font-size: @font-size-base;
      margin-left: 20px;
    }
  }

  .info-icons {
    font-size: @font-size-base;
  }
  .info-details {
    float: left;
    p {
      margin: 25px 0;
      font-weight: bold;
    }
    .dl-horizontal {
      dt { width: @component-offset-horizontal - 100; }
      dd { margin-left: @component-offset-horizontal - 85; }
    }
  }
  .fa-2 { font-size: 2em; }
  .fa-3 { font-size: 4em; }
  .fa-4 { font-size: 7em; }
  .fa-5 { font-size: 12em; }
  .fa-6 { font-size: 20em; }

  .fa-1, .fa-2, .fa-3, .fa-4, .fa-5, .fa-6 { margin-right: 1/14em; }
}

h1.info-class {
  font-size: 30px;
}