QuestJS icon indicating copy to clipboard operation
QuestJS copied to clipboard

Mobile styles

Open mvultgmr opened this issue 5 years ago • 8 comments

Hi, Pix. I had some ideas for adding mobile breakpoints to style.css, so I forked the project and did some revisions. I'm new to GitHub so am not sure if this is the right way to do things, but here is a link to my version. Feel free to play with!

https://github.com/mvultgmr/QuestJS/commit/c4079a2ddd4664aa5661c353788babfae3e73252

mvultgmr avatar Oct 10 '20 11:10 mvultgmr

Just to let you know, I am thinking about this. I think it is important, I am not sure the best way to proceed. Part of that is that the author should have some choice about whether the side pane (and anything else, map?) disappears, depending on what the authors thinks is the primary way to play the game.

ThePix avatar Oct 15 '20 09:10 ThePix

Yeah, I wasn't sure immediately what to do with the side pane and map items. The solution usually is to move all that to a hamburger menu; perhaps something for you to think about. In the meantime, you might preserve this code as a starting point for authors who want to attempt it, either as commented-out code or within a help file.

I'm glad the project seems to be going well!

mvultgmr avatar Oct 15 '20 12:10 mvultgmr

I have made a small step, it that now features disappear if the width is narrow. https://github.com/ThePix/QuestJS/wiki/Responsive-Games

May need more consider, eg your hamburger idea; we will see how it goes.

ThePix avatar Nov 14 '20 11:11 ThePix

Great job. Mobile styling is a tedious bitch, but having these features will make things so much more accessible.

Also great job on the map function!

mvultgmr avatar Nov 14 '20 13:11 mvultgmr

I tried to check out the code by @mvultgmr, but the link was dead.

One of the things on my QuestJS to-do list is to add the hamburger-style menu for the panes when on mobile.

Also, I wanted to see if those mobile settings were better than my mobile settings (which are rudimentary, at best).

KVonGit avatar Dec 23 '20 21:12 KVonGit

Shit, sorrry, @KVonGit . I purged the repo once I thought Pix was done with it. But if you'd like to share your code, I'd be be happy to spitball it. :)

mvultgmr avatar Dec 23 '20 21:12 mvultgmr

Here is the mobile styling code that I wrote last October, FWIW. I believe a the developer has devised better options for mobile styling since then. style-mobile.txt

mvultgmr avatar Jun 18 '21 19:06 mvultgmr