Guest User

usercontent.css

a guest
Oct 22nd, 2026
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. @-moz-document url("about:home"), url("about:newtab") {
  2. /* 1. Makes the entire new tab background transparent */
  3. body, #root, #root > div, .outer-wrapper {
  4. background: transparent !important;
  5. background-color: transparent !important;
  6. }
  7.  
  8. /* 2. Completely hides the default Firefox logo and branding text */
  9. .logo-and-wordmark-wrapper, .logo-and-wordmark, .logo, .wordmark {
  10. display: none !important;
  11. }
  12.  
  13. /* 3. Sets up the search container and pushes it down to its original spot */
  14. .search-wrapper {
  15. position: relative !important;
  16. margin-top: 160px !important; /* Pushes the search bar down to where it originally lived */
  17. }
  18.  
  19. /* 4. Injects the star right above the search bar, perfectly centered */
  20. .search-wrapper::before {
  21. content: "";
  22. position: absolute;
  23. left: 50%;
  24. transform: translateX(-50%);
  25. top: -120px; /* hovers perfectly right above the search input field */
  26. width: 100px;
  27. height: 100px;
  28. background: url("./my-logo.gif") no-repeat center/contain !important;
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment