logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

tables.scss (1330B)


  1. .table {
  2. width: 100%;
  3. max-width: 100%;
  4. border-spacing: 0;
  5. border-collapse: collapse;
  6. th,
  7. td {
  8. padding: 8px;
  9. line-height: 18px;
  10. vertical-align: top;
  11. border-top: 1px solid $ui-base-color;
  12. text-align: left;
  13. }
  14. & > thead > tr > th {
  15. vertical-align: bottom;
  16. border-bottom: 2px solid $ui-base-color;
  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,
  24. & > tbody > tr:nth-child(odd) > th {
  25. background: $ui-base-color;
  26. }
  27. a {
  28. color: $ui-highlight-color;
  29. text-decoration: underline;
  30. &:hover {
  31. text-decoration: none;
  32. }
  33. }
  34. strong {
  35. font-weight: 500;
  36. @each $lang in $cjk-langs {
  37. &:lang(#{$lang}) {
  38. font-weight: 700;
  39. }
  40. }
  41. }
  42. &.inline-table > tbody > tr:nth-child(odd) > td,
  43. &.inline-table > tbody > tr:nth-child(odd) > th {
  44. background: transparent;
  45. }
  46. }
  47. .table-wrapper {
  48. overflow: auto;
  49. margin-bottom: 20px;
  50. }
  51. samp {
  52. font-family: monospace;
  53. }
  54. a.table-action-link {
  55. text-decoration: none;
  56. display: inline-block;
  57. margin-right: 5px;
  58. padding: 0 10px;
  59. color: rgba($primary-text-color, 0.7);
  60. font-weight: 500;
  61. &:hover {
  62. color: $primary-text-color;
  63. }
  64. i.fa {
  65. font-weight: 400;
  66. margin-right: 5px;
  67. }
  68. }