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

Making WordPress.org noreply at wordpress.org
Wed Jan 11 06:46:11 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 guess you've added the style I've pasted on the slack channel, just for
 the record I added:

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

 Based on the inspector fiddle.

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


More information about the wp-meta mailing list