aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layout
diff options
context:
space:
mode:
authorPim van den Berg2015-05-16 13:31:01 +0200
committerPim van den Berg2015-06-21 18:06:01 +0200
commite133f9ef74673615bec35cacbd6630cb90ed124f (patch)
tree028be9907cc56f0e2a644e31398b855fdd9dbaf6 /layout
parentinc/html: remove continue statements to prevent from incomplete html (diff)
downloadapt-panopticon_cgp-e133f9ef74673615bec35cacbd6630cb90ed124f.zip
apt-panopticon_cgp-e133f9ef74673615bec35cacbd6630cb90ed124f.tar.gz
apt-panopticon_cgp-e133f9ef74673615bec35cacbd6630cb90ed124f.tar.bz2
apt-panopticon_cgp-e133f9ef74673615bec35cacbd6630cb90ed124f.tar.xz
replace table on overview page by divs
This works better in a responsive design.
Diffstat (limited to 'layout')
-rw-r--r--layout/style.css27
1 files changed, 15 insertions, 12 deletions
diff --git a/layout/style.css b/layout/style.css
index 9bf4c7e..2df30cf 100644
--- a/layout/style.css
+++ b/layout/style.css
@@ -49,28 +49,31 @@ a:hover {
49 text-decoration: underline; 49 text-decoration: underline;
50} 50}
51 51
52table.summary th { 52.row {
53 width: 300px; 53 clear: left;
54 font-weight: normal; 54 padding: 4px;
55 text-align: left;
56} 55}
57 56
58table.summary tr.even { 57.row.even {
59/* background: #eeeeee; */ 58/* background: #eeeeee; */
60} 59}
61 60
62table.summary tr.odd { 61.row.odd {
63/* background: #cccccc; */ 62/* background: #cccccc; */
64} 63}
65 64
66table.summary td { 65.row label {
67 width: 50px; 66 float: left;
68 text-align: right; 67 width: 20em;
68}
69
70.row .field {
71 float: left;
72 width: 3.4em;
69} 73}
70 74
71table.summary td.wide { 75.row .field.wide {
72 width: 125px; 76 width: 8em;
73 text-align: right;
74} 77}
75 78
76img { 79img {