.repository { /* Since we have no footer bar, reduce padding */ padding-bottom: 15px; } .repository .repo-header { padding: 0.5rem 0; } .repository .header-grid > * { padding-top: 1rem; padding-bottom: 0.5rem; } .repository .header-grid { align-items: flex-end; align-items: last baseline; } .repository .mega-octicon { margin-right: 0.5rem; } .repository .header-grid .fork-flag { margin-left: 0; } /* These rules are copied here to pull them out of their nesting. */ .repo-description { display: flex; justify-content: space-between; align-items: center; } #repo-desc { font-size: 1.2em; } /* Undo gitea's repurposing of left/right for attached objects (e.g. buttons) */ .ui.left.attached, .ui.right.attached, .ui.left.action { float: unset; } .message.clone-menu { text-align: left; } kbd { } .clone-grid { margin-top: 0.5em; display: grid; grid-template-columns: 0fr 1fr; grid-column-gap: 1em; align-items: center; text-align: right; } /* cancel some semantic-ui styles (maybe we should not be using this class..) */ .ui.sub.header { text-transform: unset; vertical-align: baseline; } .ui.attached.header .right { margin-top: unset; } #repo-files-table { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; } .ui.top.attached.header { margin-top: 2em; margin-bottom: -1px; background: #F9FAFB; } /* Show a hint of hidden content under a closed folder */ details:not([open]) > summary.ui.top.attached.header { background: linear-gradient(#f9fafb 80%, #ddd 84%, #f9fafb 88%, #ddd 92%, #f9fafb 96%, #ddd); padding-bottom: 1.5rem; } .ui.left.attached.button { margin-right: 1px; }