Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 3.07 KB | None | 0 0
  1.  
  2. table {
  3.   max-width: 100%;
  4.   border-collapse: collapse;
  5.   border-spacing: 0;
  6. }
  7. .table {
  8.   width: 95%;
  9.   margin-left:auto;
  10.   margin-right:auto;
  11.   margin-bottom: 18px;
  12. }
  13. .table th,
  14. .table td {
  15.   padding: 8px;
  16.   line-height: 18px;
  17.   text-align: left;
  18.   vertical-align: top;
  19.   border-top: 1px solid #ddd;
  20. }
  21. .table th {
  22.   font-weight: bold;
  23. }
  24. .table thead th {
  25.   vertical-align: bottom;
  26. }
  27. .table thead:first-child tr th,
  28. .table thead:first-child tr td {
  29.   border-top: 0;
  30. }
  31. .table tbody + tbody {
  32.   border-top: 2px solid #ddd;
  33. }
  34. .table-condensed th,
  35. .table-condensed td {
  36.   padding: 4px 5px;
  37. }
  38. .table-bordered {
  39.   border: 1px solid #ddd;
  40.   border-collapse: separate;
  41.   *border-collapse: collapsed;
  42.   -webkit-border-radius: 4px;
  43.   -moz-border-radius: 4px;
  44.   border-radius: 4px;
  45. }
  46. .table-bordered th + th,
  47. .table-bordered td + td,
  48. .table-bordered th + td,
  49. .table-bordered td + th {
  50.   border-left: 1px solid #ddd;
  51. }
  52. .table-bordered thead:first-child tr:first-child th,
  53. .table-bordered tbody:first-child tr:first-child th,
  54. .table-bordered tbody:first-child tr:first-child td {
  55.   border-top: 0;
  56. }
  57. .table-bordered thead:first-child tr:first-child th:first-child,
  58. .table-bordered tbody:first-child tr:first-child td:first-child {
  59.   -webkit-border-radius: 4px 0 0 0;
  60.   -moz-border-radius: 4px 0 0 0;
  61.   border-radius: 4px 0 0 0;
  62. }
  63. .table-bordered thead:first-child tr:first-child th:last-child,
  64. .table-bordered tbody:first-child tr:first-child td:last-child {
  65.   -webkit-border-radius: 0 4px 0 0;
  66.   -moz-border-radius: 0 4px 0 0;
  67.   border-radius: 0 4px 0 0;
  68. }
  69. .table-bordered thead:last-child tr:last-child th:first-child,
  70. .table-bordered tbody:last-child tr:last-child td:first-child {
  71.   -webkit-border-radius: 0 0 0 4px;
  72.   -moz-border-radius: 0 0 0 4px;
  73.   border-radius: 0 0 0 4px;
  74. }
  75. .table-bordered thead:last-child tr:last-child th:last-child,
  76. .table-bordered tbody:last-child tr:last-child td:last-child {
  77.   -webkit-border-radius: 0 0 4px 0;
  78.   -moz-border-radius: 0 0 4px 0;
  79.   border-radius: 0 0 4px 0;
  80. }
  81. .table-striped tbody tr:nth-child(odd) td,
  82. .table-striped tbody tr:nth-child(odd) th {
  83.   background-color: #f9f9f9;
  84. }
  85. .table tbody tr:hover td,
  86. .table tbody tr:hover th {
  87.   background-color: #f5f5f5;
  88. }
  89. table .span1 {
  90.   float: none;
  91.   width: 44px;
  92.   margin-left: 0;
  93. }
  94. table .span2 {
  95.   float: none;
  96.   width: 124px;
  97.   margin-left: 0;
  98. }
  99. table .span3 {
  100.   float: none;
  101.   width: 204px;
  102.   margin-left: 0;
  103. }
  104. table .span4 {
  105.   float: none;
  106.   width: 284px;
  107.   margin-left: 0;
  108. }
  109. table .span5 {
  110.   float: none;
  111.   width: 364px;
  112.   margin-left: 0;
  113. }
  114. table .span6 {
  115.   float: none;
  116.   width: 444px;
  117.   margin-left: 0;
  118. }
  119. table .span7 {
  120.   float: none;
  121.   width: 524px;
  122.   margin-left: 0;
  123. }
  124. table .span8 {
  125.   float: none;
  126.   width: 604px;
  127.   margin-left: 0;
  128. }
  129. table .span9 {
  130.   float: none;
  131.   width: 684px;
  132.   margin-left: 0;
  133. }
  134. table .span10 {
  135.   float: none;
  136.   width: 764px;
  137.   margin-left: 0;
  138. }
  139. table .span11 {
  140.   float: none;
  141.   width: 844px;
  142.   margin-left: 0;
  143. }
  144. table .span12 {
  145.   float: none;
  146.   width: 924px;
  147.   margin-left: 0;
  148. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement