Merge lp:~widelands-dev/widelands-website/css-table into lp:widelands-website

Proposed by GunChleoc on 2014-11-18
Status: Merged
Merged at revision: 374
Proposed branch: lp:~widelands-dev/widelands-website/css-table
Merge into: lp:widelands-website
Diff against target: 33 lines (+26/-0)
1 file modified
media/css/wiki.css (+26/-0)
To merge this branch: bzr merge lp:~widelands-dev/widelands-website/css-table
Reviewer Review Type Date Requested Status
SirVer 2014-11-18 Approve on 2014-11-19
Review via email: mp+242062@code.launchpad.net

Description of the change

Improved table layout and header margins - patch by kaputtnik.

https://wl.widelands.org/forum/topic/1581/

To post a comment you must log in.
375. By GunChleoc on 2014-11-18

Added margin-top for Wiki headers.

TiborB (tiborb95) wrote :

There is no way to test it, correct?

GunChleoc (gunchleoc) wrote :

kaputtnik managed to create screenshots. He mentioned a sandbox - I guess we have to RTFM to find out how the testing works.

SirVer (sirver) wrote :

Merged and deployed.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'media/css/wiki.css'
2--- media/css/wiki.css 2012-09-10 10:13:04 +0000
3+++ media/css/wiki.css 2014-11-18 15:57:25 +0000
4@@ -70,3 +70,29 @@
5 width: 98%;
6 height: 100px;
7 }
8+
9+/***********/
10+/* Headers */
11+/***********/
12+h1, h2, h3, h4, h5, h6 {
13+ margin-top: 0.5em;
14+}
15+
16+/**********/
17+/* Tables */
18+/**********/
19+
20+table {
21+ border-collapse: collapse;
22+}
23+
24+td{
25+ background-image: url('../img/black20.png');
26+ border: 1px solid black;
27+}
28+
29+th {
30+ background-image: url('../img/wood.png');
31+ border: 1px solid #000;
32+ padding: 0px 5px;
33+}

Subscribers

People subscribed via source and target branches