[Addon] LZT Stats - Fullscreen modal

An addon for LZT Stats that makes a full-screen modal extension window

  1. // ==UserScript==
  2. // @name [Addon] LZT Stats - Fullscreen modal
  3. // @namespace lzt-stats-fullscreen-modal
  4. // @version 1.0
  5. // @description An addon for LZT Stats that makes a full-screen modal extension window
  6. // @author Toil
  7. // @license MIT
  8. // @match https://zelenka.guru/*
  9. // @match https://lolz.live/*
  10. // @match https://lolz.guru/*
  11. // @match https://lzt.market/*
  12. // @match https://lolz.market/*
  13. // @match https://zelenka.market/*
  14. // @icon https://www.google.com/s2/favicons?sz=64&domain=zelenka.guru
  15. // @supportURL https://zelenka.guru/toil/
  16. // @grant GM_addStyle
  17. // ==/UserScript==
  18.  
  19. (function() {
  20. 'use strict';
  21.  
  22. GM_addStyle(`
  23. @media screen and (min-width: 1150px) {
  24. #LZTStatsOverlay {
  25. max-width: 100% !important;
  26. }
  27.  
  28. .LZTStatsSection {
  29. display: flex;
  30. }
  31.  
  32. .LZTStatsSection .LZTStatsInfo {
  33. max-width: 50% !important;
  34. }
  35.  
  36. .LZTStatsSection canvas {
  37. margin-left: 15px !important;
  38. max-width: 50% !important;
  39. max-height: 100% !important;
  40. }
  41.  
  42. #LZTStatsChatSection,
  43. #LZTStatsSettingsSection {
  44. flex-direction: column !important;
  45. }
  46.  
  47. .LZTStatsSectionItem {
  48. max-width: 100% !important;
  49. }
  50. }
  51.  
  52. @media screen and (min-width: 1150px) and (max-width: 1362px) {
  53. .LZTStatsInfo .LZTStatsItem {
  54. width: 48% !important;
  55. }
  56. }
  57. `)
  58. })();