[wp-meta] [Making WordPress.org] #2372: Improve table styling in handbooks

Making WordPress.org noreply at wordpress.org
Mon Jan 16 07:30:43 UTC 2017


#2372: Improve table styling in handbooks
----------------------------+------------------
 Reporter:  grapplerulrich  |       Owner:
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Handbooks       |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by dingo_bastard):

 I've seen that you've added `thead{background:#eee;}` to the mix, but
 since there is a 'Subject tags' sub header, it would be good that that is
 styled as well:

 {{{#!css
 table {
   /* tables still need 'cellspacing="0"' in the markup */
   border-collapse: separate;
   border-spacing: 0;
   border:1px solid #eee;
 }
 thead{
     background: #eee;
 }
 caption,
 th,
 td {
   font-weight: 400;
   text-align: left;
 }
 td{
   border-bottom:1px solid #eee;
   padding: 10px
 }
 td[colspan="2"] {
     background: #eee;
 }
 td:first-of-type{
   width: 30%;
   border-right: 1px solid #eee;
 }
 tr:last-of-type td{
   border-bottom: 0;
 }
 }}}

 Screenshot is attached below.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2372#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list