Pin Comments Form to window

Pin the Fimfiction comments form to the bottom of the window

  1. /* ==UserStyle==
  2. @name Pin Comments Form to window
  3. @author @YR Foxtaur
  4. @description Pin the Fimfiction comments form to the bottom of the window
  5. @version 1.1
  6. @namespace https://greasyfork.org/en/users/703495
  7. @license CC-BY 4.0
  8. ==/UserStyle== */
  9. @-moz-document domain("fimfiction.net"){
  10. /*pin rule*/
  11. #add_comment_box
  12. {
  13. position: sticky !important;
  14. left: 0;
  15. right: 0;
  16. bottom: 0;
  17. z-index: 5;
  18. margin-bottom: 0 !important;
  19. }
  20.  
  21. /*autoscroll kill*/
  22. #new_comment
  23. {
  24. position: fixed !important;
  25. top: 0 !important;
  26. right: 0;
  27. }
  28.  
  29. /*[[compactify]]*/
  30. /*Collapse Rules*/
  31. #add_comment_box #comment_comment
  32. {
  33. display: none !important;
  34. }
  35.  
  36. #add_comment_box:hover #comment_comment
  37. {
  38. display: block !important;
  39. }
  40. }