table.css 663 B

1234567891011121314151617181920212223242526272829303132
  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. &:not(:hover) {
  13. outline: 1px solid hsl(0, 0%, 70%);
  14. outline-offset: -1px;
  15. }
  16. & td,
  17. & th {
  18. min-width: 2em;
  19. padding: .4em;
  20. text-align: center;
  21. border-color: hsl(0, 0%, 85%);
  22. }
  23. & th {
  24. font-weight: bold;
  25. background: hsl(0, 0%, 98%);
  26. }
  27. }