Topic: Table style
kaputtnik Topic Opener |
Posted at: 2014-11-17, 19:53
I would suggest to make the tables more readable. Now they look like:
Edited: 2015-07-16, 08:33
Top Quote |
Tibor |
Posted at: 2014-11-17, 20:07
looks good to me Top Quote |
GunChleoc |
Posted at: 2014-11-17, 22:07
thumbs up It might also be good to have lines around the table cells. Edited: 2014-11-17, 22:08
Busy indexing nil values Top Quote |
kaputtnik Topic Opener |
Posted at: 2014-11-17, 22:32
Thats a matter of taste In my mind lines around the cells are too many lines. I tried a border around the table, but i think its to much too. The style for "th" are only tested on the fly in the sandbox. Maybe this should be limited by another class or something else to prevend sideeffects to other website styles. Top Quote |
GunChleoc |
Posted at: 2014-11-18, 07:53
Table cells could look like in forum threads, with black lines and a darker background. Busy indexing nil values Top Quote |
kaputtnik Topic Opener |
Posted at: 2014-11-18, 09:21
OK, this would look like this: stylecode:
box-shadow is now skipped. The background image for tablecells (td) is the same as the brighter one in the forum. Top Quote |
GunChleoc |
Posted at: 2014-11-18, 12:29
Looks good Just one tiny nit: The rounded table header corners don't look good with the lines. I'd set border-radius = 0px for the th. I have implemented this and made a merge request https://code.launchpad.net/~widelands-dev/widelands-website/css-table/+merge/242062 Edited: 2014-11-18, 13:10
Busy indexing nil values Top Quote |
kaputtnik Topic Opener |
Posted at: 2014-11-18, 15:10
Thanks I didn't noticed that there is a file wiki.css... It would be great if you could also change the value of "margin-top" as described in my first post. This could also be added in wiki.css:
This adds various distances (depending on the font-height of the header) to preceding contents. With "margin-top: 0px;" (as now in base.css) the headers are very close to preceding content. Top Quote |
GunChleoc |
Posted at: 2014-11-18, 16:58
Done Busy indexing nil values Top Quote |
GunChleoc |
Posted at: 2014-11-19, 11:20
This change has now gone live, thanks for the patch It might take a while until your browsers pick up the changed css. You can try to force it to update (e.g. CTRL+F5 in Firefox). Busy indexing nil values Top Quote |