8
0

table.css 713 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. .ck-content .table {
  6. /* Give the table widget some air and center it horizontally */
  7. margin: 1em auto;
  8. display: table;
  9. & table {
  10. /* The table cells should have slight borders */
  11. border-collapse: collapse;
  12. border-spacing: 0;
  13. /* The outer border of the table should be slightly darker than the inner lines.
  14. Also see https://github.com/ckeditor/ckeditor5-table/issues/50. */
  15. border: 1px double hsl(0, 0%, 70%);
  16. & td,
  17. & th {
  18. min-width: 2em;
  19. padding: .4em;
  20. border-color: hsl(0, 0%, 85%);
  21. }
  22. & th {
  23. font-weight: bold;
  24. background: hsl(0, 0%, 98%);
  25. }
  26. }
  27. }