forked from intel-analytics/ipex-llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request intel-analytics#14 from AndyLuo1029/remove_ads
Ads: Weaken the display effect.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
}) | ||
}) |