0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-05 17:24:20 +01:00
Bootstrap/docs/assets/scss/_ads.scss

70 lines
1.0 KiB
SCSS
Raw Normal View History

// scss-lint:disable ImportantRule, IdSelector
2016-02-06 21:28:18 +01:00
//
// 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;
}
2016-09-06 07:41:10 +02:00
.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;
}
}
}