VirtualCast Header Improvement

Reduces the page header height and unfixed.

  1. /* ==UserStyle==
  2. @name VirtualCast Header Improvement
  3. @name:ja VirtualCast ヘッダを改善
  4. @description Reduces the page header height and unfixed.
  5. @description:ja ページヘッダの高さを小さくします。
  6. @namespace https://greasyfork.org/users/137
  7. @version 1.1.1
  8. @license MPL-2.0
  9. @contributionURL https://www.amazon.co.jp/registry/wishlist/E7PJ5C3K7AM2
  10. @compatible Edge Firefoxを推奨 / Firefox is recommended
  11. @compatible Firefox
  12. @compatible Opera Firefoxを推奨 / Firefox is recommended
  13. @compatible Chrome Firefoxを推奨 / Firefox is recommended
  14. @author 100の人
  15. @homepageURL https://greasyfork.org/scripts/416618
  16. ==/UserStyle== */
  17.  
  18. @namespace url(http://www.w3.org/1999/xhtml);
  19.  
  20. @-moz-document url-prefix("https://virtualcast.jp/") {
  21. #main-header nav {
  22. position: absolute;
  23. bottom: 0.1em;
  24. }
  25.  
  26. #main-header .navbar-nav {
  27. margin-top: unset;
  28. }
  29.  
  30. #main-header .navbar-nav .nav-item {
  31. z-index: 1;
  32. }
  33. }
  34.  
  35. @-moz-document url-prefix("https://wiki.virtualcast.jp/wiki/") {
  36. body {
  37. --header-height: 3em;
  38. }
  39.  
  40. .header {
  41. height: unset;
  42. }
  43.  
  44. .header .logo {
  45. height: 30px;
  46. }
  47. }