aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles.ts
AgeCommit message (Collapse)Author
2020-05-10styles: Hide the white border that appears around creditsTeddy Wing
A white border appears around the frame while the credits are in minimised mode. This is visible on the top and left sides of the frame. Since we automatically click on the video, the white border only appears for a second or less, but it's still visually jarring, all the more because it shifts the position of the video. Remove the white border, ensuring it never appears.
2020-05-09styles: Set !importantTeddy Wing
The age advisory ratings weren't properly hidden. Probably due to CSS specificity. Add `!important` to ensure that the elements we want to hide are always hidden.
2020-05-09Add documentation commentsTeddy Wing
2020-05-09styles: Make the styles() function the default exportTeddy Wing
2020-05-08Add license (GNU GPLv3+)Teddy Wing
2020-05-08styles: Combine all our rules into oneTeddy Wing
Since we set `visibility: hidden` for all elements, combine them all into a single CSS rule.
2020-05-08styles: Hide skip buttonsTeddy Wing
2020-05-08Use `const` variable declarations where possibleTeddy Wing
2020-05-08styles: Hide the "Watch Credits" buttonTeddy Wing
This button appears now when the credits of TV series start playing.
2020-05-06styles: Fix `stylesheet` is `null` errorTeddy Wing
I had initialised the `stylesheet` variable before the element existed in the DOM.
2020-05-05Extract credits handling and CSS styles to separate modulesTeddy Wing
Start to establish a bit of separation and organisation.