闭社主体 forked from https://github.com/tootsuite/mastodon
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.

65 lines
1011 B

  1. .table {
  2. width: 100%;
  3. max-width: 100%;
  4. border-spacing: 0;
  5. border-collapse: collapse;
  6. margin-bottom: 20px;
  7. th, td {
  8. padding: 8px;
  9. line-height: 18px;
  10. vertical-align: top;
  11. border-top: 1px solid $color1;
  12. text-align: left;
  13. }
  14. & > thead > tr > th {
  15. vertical-align: bottom;
  16. border-bottom: 2px solid $color1;
  17. border-top: 0;
  18. font-weight: 500;
  19. }
  20. & > tbody > tr > th {
  21. font-weight: 500;
  22. }
  23. & > tbody > tr:nth-child(odd) > td, & > tbody > tr:nth-child(odd) > th {
  24. background: $color1;
  25. }
  26. a {
  27. color: $color4;
  28. text-decoration: underline;
  29. &:hover {
  30. text-decoration: none;
  31. }
  32. }
  33. strong {
  34. font-weight: 500;
  35. }
  36. }
  37. samp {
  38. font-family: 'Roboto Mono', monospace;
  39. }
  40. a.table-action-link {
  41. text-decoration: none;
  42. display: inline-block;
  43. margin-right: 5px;
  44. padding: 0 10px;
  45. color: rgba($color5, 0.7);
  46. font-weight: 500;
  47. &:hover {
  48. color: $color5;
  49. }
  50. i.fa {
  51. font-weight: 400;
  52. margin-right: 5px;
  53. }
  54. }