.profile-block-container { display: grid; grid-template-areas: "profile repos"; grid-template-columns: 260px 1fr; } .profile-block__left { grid-area: profile; max-width: 300px; } .profile-block__right { grid-area: repos; padding-left: 10px; padding-top: 10px; width: 100%; } .profile-avatar { height: 256px; width: 256px; border-radius: 100%; border: 2px solid #24292e; margin-top: 5px; overflow: hidden; cursor: pointer; img { height: 256px; width: 256px; object-fit: cover; } } .edit-profile-button { width: 256px; } .new-ssh-key-block { border-bottom: 1px solid $gray; padding-bottom: 10px; margin: 10px 0 10px 0; } .ssh-key { border: 1px solid $gray; border-radius: $small-radius; padding: 10px; margin-top: 10px; } .ssh-key-remove { margin-top: 10px; } .profile-activities { margin-top: 25px; } .activity { border: 1px solid $gray; border-radius: $small-radius; padding: 10px; margin-top: 10px; } .profile-repos-header { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; h2 { margin: 0; font-size: 18px; } } .profile-repos-all { font-size: 13px; } .profile-repos-empty { color: #586069; font-size: 14px; margin: 0; } .profile-repo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .profile-repo-card { border: 1px solid #dfdfdf; border-radius: $small-radius; padding: 12px; display: flex; flex-direction: column; min-height: 110px; } .profile-repo-card__header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; } .profile-repo-card__title { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .profile-repo-card__badge { font-size: 11px; border: 1px solid #dfdfdf; border-radius: 999px; padding: 1px 7px; color: #586069; &--private { color: #b08800; border-color: #f1d27c; background: #fff9e6; } } .profile-repo-card__desc { color: #586069; font-size: 13px; margin: 0 0 10px; flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .profile-repo-card__footer { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #586069; } .profile-repo-card__lang { display: inline-flex; align-items: center; gap: 5px; } .profile-repo-card__lang-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; } .profile-activity-heatmap { margin-top: 25px; border: 1px solid #dfdfdf; border-radius: $small-radius; padding: 14px 16px; } .profile-activity-heatmap__header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; h2 { margin: 0; font-size: 16px; font-weight: 600; } } .profile-activity-heatmap__range { color: #586069; font-size: 12px; } .profile-activity-heatmap__grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 11px); grid-auto-columns: 11px; gap: 2px; overflow-x: auto; } .profile-activity-heatmap__cell { width: 11px; height: 11px; border-radius: 2px; background: #ebedf0; &--empty { background: transparent; } &[data-level="1"] { background: #9be9a8; } &[data-level="2"] { background: #40c463; } &[data-level="3"] { background: #30a14e; } &[data-level="4"] { background: #216e39; } } .profile-activity-heatmap__legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 8px; font-size: 11px; color: #586069; }