You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
4.0 KiB

1 year ago
  1. .wp-block-table{
  2. overflow-x:auto;
  3. }
  4. .wp-block-table table{
  5. border-collapse:collapse;
  6. width:100%;
  7. }
  8. .wp-block-table thead{
  9. border-bottom:3px solid;
  10. }
  11. .wp-block-table tfoot{
  12. border-top:3px solid;
  13. }
  14. .wp-block-table td,.wp-block-table th{
  15. border:1px solid;
  16. padding:.5em;
  17. }
  18. .wp-block-table .has-fixed-layout{
  19. table-layout:fixed;
  20. width:100%;
  21. }
  22. .wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{
  23. word-break:break-word;
  24. }
  25. .wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{
  26. display:table;
  27. width:auto;
  28. }
  29. .wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{
  30. word-break:break-word;
  31. }
  32. .wp-block-table .has-subtle-light-gray-background-color{
  33. background-color:#f3f4f5;
  34. }
  35. .wp-block-table .has-subtle-pale-green-background-color{
  36. background-color:#e9fbe5;
  37. }
  38. .wp-block-table .has-subtle-pale-blue-background-color{
  39. background-color:#e7f5fe;
  40. }
  41. .wp-block-table .has-subtle-pale-pink-background-color{
  42. background-color:#fcf0ef;
  43. }
  44. .wp-block-table.is-style-stripes{
  45. background-color:transparent;
  46. border-bottom:1px solid #f0f0f0;
  47. border-collapse:inherit;
  48. border-spacing:0;
  49. }
  50. .wp-block-table.is-style-stripes tbody tr:nth-child(odd){
  51. background-color:#f0f0f0;
  52. }
  53. .wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){
  54. background-color:#f3f4f5;
  55. }
  56. .wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){
  57. background-color:#e9fbe5;
  58. }
  59. .wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){
  60. background-color:#e7f5fe;
  61. }
  62. .wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){
  63. background-color:#fcf0ef;
  64. }
  65. .wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{
  66. border-color:transparent;
  67. }
  68. .wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr,.wp-block-table .has-border-color>*{
  69. border-color:inherit;
  70. }
  71. .wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th,.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th{
  72. border-top-color:inherit;
  73. }
  74. .wp-block-table table[style*=border-top-color] tr:not(:first-child){
  75. border-top-color:currentColor;
  76. }
  77. .wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr,.wp-block-table table[style*=border-right-color]>*{
  78. border-left-color:inherit;
  79. }
  80. .wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th,.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th{
  81. border-bottom-color:inherit;
  82. }
  83. .wp-block-table table[style*=border-bottom-color] tr:not(:last-child){
  84. border-bottom-color:currentColor;
  85. }
  86. .wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr,.wp-block-table table[style*=border-left-color]>*{
  87. border-right-color:inherit;
  88. }
  89. .wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr,.wp-block-table table[style*=border-style]>*{
  90. border-style:inherit;
  91. }
  92. .wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr,.wp-block-table table[style*=border-width]>*{
  93. border-style:inherit;
  94. border-width:inherit;
  95. }