.repository { /* Since we have no footer bar, reduce padding */ padding-bottom: 15px; } .repository .repo-header { padding: 0.5rem 0; justify-content: flex-start; align-items: flex-end; align-items: last baseline; } .repository .repo-header > * { padding: 1rem 1rem 0.5rem 1rem; } .repository .repo-header .fork-flag { margin-left: 0; } .repo-title .svg[class*=octicon] { vertical-align: baseline; } /* 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; } details > summary.ui.top.attached.header::marker { font-size: 1.2em; } /* 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; } details:not([open]) > summary.ui.top.attached.header:hover { /* background: linear-gradient(#f9fafb 75%, #ddd 80%, #f9fafb 85%, #ddd 90%, #f9fafb 95%, #ddd); */ /* padding-bottom: 1.75rem; */ background: linear-gradient(#f9fafb 80%, #ccc 84%, #f9fafb 88%, #ccc 92%, #f9fafb 96%, #ccc); } .ui.left.attached.button { margin-right: 1px; } .ui.labeled.button > .label { padding: .78571429em 1.5em .78571429em; /* same padding as the button */ }