Mercurial > dottes
diff web/css/dottes.css @ 224:db569ede2165
Give in to my inner OCD and make the tune list a DIV with CSS, not a table.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 22 Feb 2013 23:20:06 +0000 |
parents | 8e6105d2bf59 |
children | 129f92df03b5 |
line wrap: on
line diff
--- a/web/css/dottes.css Fri Feb 22 01:09:37 2013 +0000 +++ b/web/css/dottes.css Fri Feb 22 23:20:06 2013 +0000 @@ -126,17 +126,7 @@ { font-size: 20px; position: relative; - top: 10px; -} - -table.dottes-tune-table -{ - margin: 10px; -} - -table.dottes-tune-table td -{ - vertical-align: middle; + top: 12px; } ul.tune-type-list @@ -168,3 +158,26 @@ display: inline; margin: 10px; } + +div.dottes-tune-list +{ + display: table; + margin: 10px; +} + +div.dottes-tune-list-item +{ + display: table-row; +} + +div.dottes-tune-list-item-link +{ + display: table-cell; + vertical-align: middle; +} + +div.dottes-tune-list-item-image +{ + display: table-cell; + vertical-align: middle; +}