msjanny

save one click with this trick THEY don't want you to know!

Nov 15th, 2018
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.98 KB | None | 0 0
  1. /*
  2. go into stylus > create new style.
  3. if you're on chrome, you need to paste this into "import" from Mozilla Format.
  4. */
  5.  
  6. @-moz-document url-prefix("http://www.furvilla.com/career/blacksmith/") {
  7. /*let's you continue scrapping without closing the modal*/
  8. .modal-open .btn[data-url*="scrap/"] {
  9.     position: fixed;
  10.     z-index: 9999;
  11.     top: 0;
  12.     right: calc(50% - 443px);
  13.     height: 100%;
  14.     line-height: 100vh;
  15. }
  16.  
  17. /*let's you continue scrapping without closing the modal*/
  18. .widget-content {
  19.     z-index: initial;
  20. }
  21.  
  22. /*positions button on smaller screens*/
  23. @media screen and (max-width: 900px) {
  24.     .modal-open .btn[data-url*="scrap/"] {
  25.         top: 30px;
  26.         height: 170px;
  27.         line-height: 170px;
  28.         right: 0;
  29.         left: 0;
  30.         width: 500px;
  31.         margin: 0 auto;
  32.     }
  33. }
  34.  
  35. /*positions button on even smaller screens*/
  36. @media screen and (max-width: 500px) {
  37.     .modal-open .btn[data-url*="scrap/"] {
  38.         width: 100%;
  39.     }
  40. }
  41. }
Advertisement
Add Comment
Please, Sign In to add comment