[hg] galaxy 3584: Improve display of tables in pages; tables in ...
details: http://www.bx.psu.edu/hg/galaxy/rev/e34b76fcdb82 changeset: 3584:e34b76fcdb82 user: jeremy goecks <jeremy.goecks@emory.edu> date: Wed Mar 31 10:32:23 2010 -0400 description: Improve display of tables in pages; tables in pages now closely match tables in page editor. diffstat: templates/page/display.mako | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diffs (27 lines): diff -r 193e5f4e2444 -r e34b76fcdb82 templates/page/display.mako --- a/templates/page/display.mako Wed Mar 31 09:42:50 2010 -0400 +++ b/templates/page/display.mako Wed Mar 31 10:32:23 2010 -0400 @@ -230,6 +230,23 @@ .embedded-item h4 { margin: 0px; } + ## Format tables in pages so that they look like they do in the page editor. + .page-body table { + padding: 8px 5px 5px; + min-width: 500px; + border: none; + border-collapse: separate; + } + .page-body caption { + text-align: left; + background: #E4E4B0; + padding: 5px; + font-weight: bold; + } + .page-body td { + width: 25%; + padding: 0.2em 0.8em; + } </style> </%def>
participants (1)
-
Greg Von Kuster