8
0

table.css 683 B

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