Skip to content

Commit

Permalink
Merge pull request intel-analytics#14 from AndyLuo1029/remove_ads
Browse files Browse the repository at this point in the history
Ads: Weaken the display effect.
  • Loading branch information
shane-huang authored Oct 10, 2022
2 parents c4eb35a + ee6d19e commit 38aa2f6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/readthedocs/source/_static/js/custom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
$(document).ready(function(){
// $('.btn.dropdown-toggle.nav-item').text('Libraries'); // change text for dropdown menu in header from More to Libraries
$('.navbar-end-item.navbar-end__search-button-container').remove(); // remove search button from top bar manually
$('#ethical-ad-placement').css({ //weanken the display effect of ads div
"transform":"scale(0.3)", // make it smaller
"position":"absolute", // modify its position
"top":"-75px",
"left":"-110px",
"opacity":"0.7" // modify its opacity
});
$('#ethical-ad-placement').parent().css({
"position":"relative", // modify ads position
"height":"60px" // give it a default height to prevent wrong display
})
})

0 comments on commit 38aa2f6

Please sign in to comment.