0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-30 12:24:19 +01:00
Bootstrap/docs/assets/scss/_ads.scss
2016-09-05 22:41:10 -07:00

70 lines
1.0 KiB
SCSS

// scss-lint:disable ImportantRule, IdSelector
//
// Carbon ads
//
#carbonads {
display: block;
padding: 15px 15px 15px 160px;
margin: 50px -15px 0;
overflow: hidden;
font-size: 13px;
line-height: 1.5;
text-align: left;
border: solid #866ab3;
border-width: 1px 0 0;
a {
color: #fff;
text-decoration: none;
}
@include media-breakpoint-up(sm) {
max-width: 330px;
margin: 50px auto 0;
border-width: 1px;
border-radius: 4px;
}
@include media-breakpoint-up(lg) {
position: absolute;
top: 0;
right: 15px;
margin-top: 0;
.bd-masthead & {
position: static;
}
}
}
.carbon-img {
float: left;
margin-left: -145px;
}
.carbon-poweredby {
display: block;
color: #cdbfe3 !important;
}
.bd-content {
#carbonads {
position: static;
max-width: 400px;
margin: 2rem 0;
line-height: 1.4;
background-color: #f5f5f5;
border: 0;
a {
color: #333;
}
.carbon-poweredby {
color: #777 !important;
}
}
}