my-gitea-templates/public/ custom-style.css
78 lines
1.4 KiB

  1. .repository {
  2. /* Since we have no footer bar, reduce padding */
  3. padding-bottom: 15px;
  4. }
  5. .repository .repo-header {
  6. padding: 0.5rem 0;
  7. }
  8. .repository .header-grid > * {
  9. padding-top: 1rem;
  10. padding-bottom: 0.5rem;
  11. }
  12. .repository .header-grid {
  13. align-items: flex-end;
  14. align-items: last baseline;
  15. }
  16. .repository .mega-octicon {
  17. margin-right: 0.5rem;
  18. }
  19. .repository .header-grid .fork-flag {
  20. margin-left: 0;
  21. }
  22. /* These rules are copied here to pull them out of their nesting. */
  23. .repo-description {
  24. display: flex;
  25. justify-content: space-between;
  26. align-items: center;
  27. }
  28. #repo-desc {
  29. font-size: 1.2em;
  30. }
  31. /* Undo gitea's repurposing of left/right for attached objects (e.g. buttons) */
  32. .ui.left.attached, .ui.right.attached, .ui.left.action {
  33. float: unset;
  34. }
  35. .message.clone-menu {
  36. text-align: left;
  37. }
  38. kbd {
  39. }
  40. .clone-grid {
  41. margin-top: 0.5em;
  42. display: grid;
  43. grid-template-columns: 0fr 1fr;
  44. grid-column-gap: 1em;
  45. align-items: center;
  46. text-align: right;
  47. }
  48. /* cancel some semantic-ui styles (maybe we should not be using this class..) */
  49. .ui.sub.header {
  50. text-transform: unset;
  51. vertical-align: baseline;
  52. }
  53. .ui.attached.header .right {
  54. margin-top: unset;
  55. }
  56. #repo-files-table {
  57. margin-top: 0;
  58. border-top-left-radius: 0;
  59. border-top-right-radius: 0;
  60. }
  61. .ui.top.attached.header {
  62. margin-top: 2em;
  63. margin-bottom: -1px;
  64. background: #F9FAFB;
  65. }
  66. .ui.left.attached.button {
  67. margin-right: 1px;
  68. }