widelands / widelands-website

The widelands website is a bunch of applications for the django web framework. It is developed in the open here.
https://www.widelands.org/
GNU General Public License v2.0
15 stars 10 forks source link

website responsive template #181

Open gunchleoc opened 5 years ago

gunchleoc commented 5 years ago

Hello,

make the website responsive (working well also with smartphone and tablets).

thanks


Imported from Launchpad using lp2gh.

gunchleoc commented 5 years ago

(by sirver) could you help with that? We have not much frontend knowlege in our portfolio right now.

gunchleoc commented 5 years ago

(by raymondv) I do not have spare-time to doing this.

You can make an announcement on the website searching for help making the website responsive?

gunchleoc commented 5 years ago

(by franku) I was thinking a long time about that, but i haven't a smartphone or tablet, so i haven't experience with such mediums and also couldn't test the results...

gunchleoc commented 5 years ago

(by gunchleoc) I think this is important because so many people surf with smartphones these days. I personally don't use the things though, so I don't know what's important except for big buttons to push for navigation.

gunchleoc commented 5 years ago

(by trimardio) Kaputtnik, you should know there is now a function in chrome that allow to see your website in different format:

ctrl + shift + m

I saw there is already a branch being worked on for more responsiveness, but I would have done it a bit differently:

use of media query (notably for the menu) use of flex and % rather than em

gunchleoc commented 5 years ago

(by franku) Most browsers have functionality to show a website in different formats. At least Firefox and Opera :-)

Trimardio, i would be glad if you can help with this. When i had started the branch i had only an idea on how to do a responsive layout, so the branch was only some sort of playground. In the meantime i managed to get my own homepage responsive, but the widelands homepage is much bigger, and i think some of the css needs a general overhaul by a specialist. E.g using of html5 tags "header", "nav", "article", "section", "aside".

Using media queries is definitely right. About % vs. em i don't know. I think for stuff which depends on the font size, using em is the right decision.

Currently i'am working on a new implementation of the search, and i don't know when i will find the time to work on a responsive layout.

gunchleoc commented 5 years ago

(by trimardio) I agree with all your point, but why the need for betters tags? Those are good for referencing from search engine or readability for some special device (like kindles or screen for blinds), aren't they? I didn't know they had influence on the layout actually...

And should I create a new branch or start from yours?

gunchleoc commented 5 years ago

(by franku) Isn't creating a barrier-free website a good goal?

Anyway i think using those tags could also be used to get a clean html structure to get better readability. E.g.:

instead of