diff --git a/src/assets/js/site.js b/src/assets/js/site.js
index 1ac60858f..b94f6d024 100644
--- a/src/assets/js/site.js
+++ b/src/assets/js/site.js
@@ -3,26 +3,26 @@ $(function () {
var ads = [
{
- quote: "Take your icon game to the next level. Check out Fonticons, from the maker of Font Awesome.",
- class: "fonticons",
+ quote: "Take your icon game to the next level. Check out Fort Awesome, from the maker of Font Awesome.",
+ class: "fort-awesome",
url: "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=ad_1_next_level&utm_campaign=promo_4.4_update",
btn_text: "Gimme Some!"
},
{
- quote: "Make your icons load 10x faster! Check out Fonticons, from the maker of Font Awesome.",
- class: "fonticons",
+ quote: "Make your icons load 10x faster! Check out Fort Awesome, from the maker of Font Awesome.",
+ class: "fort-awesome",
url: "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=ad_3_faster_loading&utm_campaign=promo_4.4_update",
btn_text: "Gimme Some!"
},
{
- quote: "Looking for other great icon sets? Check out Fonticons, from the maker of Font Awesome.",
- class: "fonticons",
+ quote: "Looking for other great icon sets? Check out Fort Awesome, from the maker of Font Awesome.",
+ class: "fort-awesome",
url: "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=ad_4_more_icons&utm_campaign=promo_4.4_update",
btn_text: "Gimme Some!"
},
{
- quote: "Want to add your own icon? Check out Fonticons, from the maker of Font Awesome.",
- class: "fonticons",
+ quote: "Want to add your own icon? Check out Fort Awesome, from the maker of Font Awesome.",
+ class: "fort-awesome",
url: "https://fonticons.com/?utm_source=font_awesome_homepage&utm_medium=display&utm_content=ad_6_your_own_icon&utm_campaign=promo_4.4_update",
btn_text: "Gimme Some!"
},
@@ -54,7 +54,7 @@ $(function () {
}
];
- selectFonticonsAd();
+ selectAd();
// start the icon carousel
$('#icon-carousel').carousel({
@@ -64,7 +64,7 @@ $(function () {
$('[data-toggle="tooltip"]').tooltip();
$('[data-toggle="popover"]').popover();
- function selectFonticonsAd() {
+ function selectAd() {
random_number = Math.floor(Math.random() * ads.length);
random_ad = ads[random_number];
diff --git a/src/assets/less/site/banner-ad.less b/src/assets/less/site/banner-ad.less
index 5a4bb9db5..c967f8ccf 100644
--- a/src/assets/less/site/banner-ad.less
+++ b/src/assets/less/site/banner-ad.less
@@ -112,15 +112,16 @@
}
}
- &.fonticons {
- @fonticons-bg: #1c1e29;
- @fonticons-orange: desaturate(#ff7f3f, 5%);
- background-color: @fonticons-orange;
- border-bottom: solid 1px mix(@fonticons-bg, @fonticons-orange, 15%);
+ &.fort-awesome {
+ @fort-awesome-color: #1C1E29;
+ @fort-awesome-color-accent: #525879;
+ @fort-awesome-bg: mix(@fort-awesome-color-accent, @fort-awesome-color, 15%);
+ background-color: @fort-awesome-bg;
+ border-bottom: solid 1px mix(@fort-awesome-bg, #000, 15%);
.btn-primary {
@color: #fff;
- @background: mix(#fff,@fonticons-bg,10%);
- @border: @fonticons-bg;
+ @background: mix(#fff,@fort-awesome-bg,15%);
+ @border: darken(@fort-awesome-bg, 5%);
font-weight: bold;
color: @color;
background-color: @background;
@@ -135,7 +136,7 @@
&.active,
.open > &.dropdown-toggle {
color: #fff;
- background-color: darken(@border, 3%);
+ background-color: mix(@fort-awesome-color, @fort-awesome-color-accent, 30%);
border-color: darken(@border, 12%);
border-bottom-color: darken(@border, 18%);
}