Added "Simple Elements" directory under Overlays with simple party browser source options#5
Added "Simple Elements" directory under Overlays with simple party browser source options#5BeatnikAU wants to merge 2 commits intoReadek:mainfrom
Conversation
|
Cool idea! Some observations as of now:
#botPokes {
height: 260px;
flex-wrap: wrap;
}This will make it work like a 3x3 layout when the browser width is at like 1000px, for example (someone else asked about this a while ago). Of course a fixed layout like 1x6 would need some more css rules. As for badges, I think I'll need to do some work for non-standard badges (gen2, gen7, gen9) before this can happen, as of right now the scripts can really only do standard 8 badges without modifications. |
|
Thanks for the suggestion and code. I've changed it to a single html and css file with flex-wrap and checked this displays correctly in all widths in OBS. I've amended the readme in Overlays/Simple Elements to reflect this as well. Let me know if you wanted anything added to the main readme if you're happy with this. |
|
Tested it again! I'm sure this will be useful for some people.
As for battle overlay breaking the overlay, I think a quicker solution could be for the html to load a custom Everything good for the README as long as the battle overlay issue gets fixed after so we don't have to warn about it. |
I created a new directory under Overlays called "Simple Elements" with html files for separate layouts of the pokemon party by itself. I created the 3x2 layout to add to my existing stream layout and thought it might be useful for others, so created alternate layouts as well. I chose the directory name as something agnostic rather than "Party" so that it could be expanded on with other elements to add to your stream individually.
All I've done to create these is make a copy of the "X and Y" directory, strip the other elements out of the html and css files, then duplicate, rename, and adjust the remaining css for the desired layout. I haven't made any changes to existing files outside of this new directory.
I only know basic web development and I'm pretty rusty, so feel free to suggest better ways to code this or make changes yourself.
I'd love to add the same for badges, but I haven't been able to figure out how the badges work since I'm working through USUM and the badge layout is so different.