mirror of
https://github.com/mdbootstrap/mdb-ui-kit.git
synced 2025-07-10 16:22:31 +03:00
restored ads and moved custom css to bmd folder
This commit is contained in:
parent
f8a840a19a
commit
404bfeed0a
|
@ -1,8 +1,5 @@
|
||||||
<!-- I don't know the proper id for the carbon ads
|
<div class="carbonad">
|
||||||
<div id="carbonads-container">
|
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=fezvrastagithubiobootstrapmateri" id="_carbonads_js"></script>
|
||||||
<div class="carbonad">
|
<div id="fakecb">Seems like you are using AdBlock to hide banners... Carbon ADS are quite nice and don't take much space, you may consider disabling it on this website.<br>This is the only AD on the entire website.<br><br>Thanks!
|
||||||
<div id="azcarbon"></div>
|
|
||||||
<script>var z = document.createElement("script"); z.async = true; z.src = "http://engine.carbonads.com/z/32341/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
-->
|
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
padding: 3rem ($grid-gutter-width / 2) 2rem;
|
padding: 3rem ($grid-gutter-width / 2) 2rem;
|
||||||
color: $bd-purple-light;
|
color: $bd-purple-light;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-image: linear-gradient(rgba(0, 0, 255, 0.2), rgba(0, 0, 255, 0.4)), url(../assets/img/bg.jpg);
|
background-image: linear-gradient(rgba(0, 0, 255, 0.2), rgba(0, 0, 255, 0.4)), url("../assets/img/bg.jpg");
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
.bd-booticon {
|
.bd-booticon {
|
||||||
margin: 0 auto 2rem;
|
margin: 0 auto 2rem;
|
||||||
color: #ffffff;
|
color: #fff;
|
||||||
border-color: #ffffff;
|
border-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
|
|
75
docs/assets/scss/bmd/_ads.scss
Normal file
75
docs/assets/scss/bmd/_ads.scss
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
.carbonad {
|
||||||
|
background: none !important;
|
||||||
|
}
|
||||||
|
.carbonad div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbonad div:nth-child(2) {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbonad {
|
||||||
|
width: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
padding: 1.25rem !important;
|
||||||
|
margin: 2rem ($grid-gutter-width * -1) -2rem !important;
|
||||||
|
overflow: hidden; // clearfix
|
||||||
|
font-family: inherit !important;
|
||||||
|
font-size: .8rem !important;
|
||||||
|
line-height: 1rem !important;
|
||||||
|
color: $bd-purple-light !important;
|
||||||
|
text-align: left;
|
||||||
|
background: darken($bd-purple, 10%) !important;
|
||||||
|
border: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-img {
|
||||||
|
margin: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-img img {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-text,
|
||||||
|
.carbon-poweredby {
|
||||||
|
display: block !important;
|
||||||
|
float: none !important;
|
||||||
|
width: auto !important;
|
||||||
|
height: auto !important;
|
||||||
|
margin-left: 145px !important;
|
||||||
|
font-family: inherit !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-text {
|
||||||
|
padding-top: 0 !important;
|
||||||
|
margin-bottom: .5em !important;
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-poweredby {
|
||||||
|
color: inherit !important;
|
||||||
|
text-align: left !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.carbon-text,
|
||||||
|
.carbon-poweredby {
|
||||||
|
&:hover {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media-breakpoint-up(sm) {
|
||||||
|
.carbonad {
|
||||||
|
width: 330px !important;
|
||||||
|
padding: 1rem !important;
|
||||||
|
margin-right: auto !important;
|
||||||
|
margin-left: auto !important;
|
||||||
|
border-radius: .25rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@include media-breakpoint-up(md) {
|
||||||
|
|
||||||
|
}
|
4
docs/assets/scss/bmd/_masthead.scss
Normal file
4
docs/assets/scss/bmd/_masthead.scss
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
.bs-masthead {
|
||||||
|
background-image: linear-gradient(rgba(0, 0, 255, 0.2), rgba(0, 0, 255, 0.4)), url("../assets/img/bg.jpg");
|
||||||
|
background-size: cover;
|
||||||
|
}
|
|
@ -93,3 +93,5 @@ $bd-info: $brand-info; // #5bc0de;
|
||||||
@import 'bmd/clipboard-js';
|
@import 'bmd/clipboard-js';
|
||||||
@import 'bmd/sidebar';
|
@import 'bmd/sidebar';
|
||||||
@import 'bmd/drawer';
|
@import 'bmd/drawer';
|
||||||
|
@import 'bmd/masthead';
|
||||||
|
@import 'bmd/ads';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user