_ads.scss 1.29 KB
Newer Older
1
2
3
4
5
6
7
8
//
// Carbon ads
//

.carbonad {
  width: auto !important;
  height: auto !important;
  padding: 1.25rem !important;
9
  margin: 2rem -1.5rem -2rem !important;
10
  overflow: hidden; // clearfix
11
  font-size: .8rem !important;
12
  font-family: inherit !important;
13
  line-height: 1rem !important;
Mark Otto's avatar
Mark Otto committed
14
  color: $bd-purple-light !important;
15
  text-align: left;
Mark Otto's avatar
Mark Otto committed
16
  background: darken($bd-purple, 10%) !important;
17
18
  border: 0 !important;
}
19

Mark Otto's avatar
Mark Otto committed
20
21
22
23
.bd-masthead .carbonad {
  background: $bd-graphite !important;
}

24
25
26
.carbonad-img {
  margin: 0 !important;
}
27

28
29
30
31
32
33
34
.carbonad-text,
.carbonad-tag {
  display: block !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin-left: 145px !important;
Mark Otto's avatar
Mark Otto committed
35
  font-family: inherit !important;
36
}
37

38
39
40
.carbonad-text {
  padding-top: 0 !important;
}
41

42
43
44
45
.carbonad-tag {
  color: inherit !important;
  text-align: left !important;
}
46

47
48
.carbonad-text a,
.carbonad-tag a {
Mark Otto's avatar
Mark Otto committed
49
  color: #fff !important;
50
51

  &:hover {
Mark Otto's avatar
Mark Otto committed
52
    color: #fff !important;
53
54
  }
}
55

56
57
58
59
60
61
62
63
.carbonad #azcarbon > img {
  display: none; // hide what I assume are tracking images
}

@include media-breakpoint-up(sm) {
  .carbonad {
    width: 330px !important;
    padding: 1rem !important;
64
65
66
    margin-right: auto !important;
    margin-left: auto !important;
    border-radius: .25rem;
67
68
  }
}
69
70
71
72

@include media-breakpoint-up(md) {

}