// Contribution heatmap: it is one topic in the sheet, so it drops its own card. Its heading is the // sheet's topic heading and its numbers are the page's text size. .sheet .heat { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; } .sheet .heat-head { margin-bottom: 16px; } .sheet .heat h2 { margin: 0; color: var(--muted); font-family: var(--font); font-size: 13px; font-weight: 600; line-height: 20px; } .sheet .heat-stat b { font-size: 15px; font-weight: 600; line-height: 20px; letter-spacing: 0; } .sheet .heat-stat span { font-size: 13px; } // Repo names in rows are the page's text face, semibold, never the code face. .repo-item .repo-name { font-family: var(--font); font-size: 15px; font-weight: 600; } // A list that is the whole sheet keeps the rows inset like the tools row above them. .sheet > .repo-list > .repo-item { padding-left: 18px; padding-right: 18px; } // The sort row reads as one line of tools: its hint, then each choice. .sheet-tools .sort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; } // A line of text under the tools row is a hint for the list, aligned with its rows. .sheet-tools + p { margin: 0; padding: 12px 18px 0; color: var(--muted); font-size: 14px; line-height: 20px; } // Notifications: a row is one flex line, the link takes the room and the tool sits at its right. // The icon is a dot, not a ring. .notif-row { display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; border-bottom: 1px solid var(--border); &:last-child { border-bottom: 0; } > .line { flex: 0 1 auto; min-width: 0; border-bottom: 0; } > .acts { flex: 0 0 auto; margin: 0; width: auto; } .notif-icon { border: 0; } } .sheet .sec > h2 a { color: inherit; text-decoration: none; } // Organization settings: the form's submit sits under its fields, in the same column as the controls. #org-settings-form > button[type="submit"] { margin-left: calc(var(--label-w, 130px) + 16px); } // A notification is one line: its title whole, then the detail cut to the room left, then Mark read. .notif-row > .line { display: flex; align-items: center; flex-wrap: nowrap; > .name { flex: none; min-width: 0; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } > .val { flex: 0 100 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .sheet > .sec > .notif-row { margin: 0 -18px; padding: 0 10px 0 0; > .line { padding-left: 18px; padding-right: 0; } } // A phone stacks a notification: its line across the row, then Mark read under it on the same edge. @media (max-width: 700px) { .notif-row { flex-direction: column; align-items: stretch; gap: 0; > .line { width: 100%; > .name { flex: 0 1 auto; max-width: none; } } > .acts { align-self: flex-start; margin: -8px 0 6px 8px; } } }