How do I apply styles to full screen mode only via the User Stylesheet?
Specifically, I would like to adjust the body
style during full screen mode to adjust margin-left
.
I would like to do this through the User Stylesheet so that changes are applied automatically and I don't have to edit them manually every time I open full screen view.
Currently, I can edit the body tag, but this is applied whether in full screen mode or not.
I feel like there should be some parent element for full screen view so a selector could be used such as fullscreen > body
.
Ideas?
Update: It looks like the preferences for full screen options, which are limited to max width and max text height, uses javascript to manage the styling.
Any ideas for injecting a parent element that wraps all CSS while in_fullscreen_mode = True
in documentview.py
?