forge
Clone
https://git.tahinli.com/Tahinli/forge.git
0 watching0 forksRustAGPL-3.07.1 MiB490f099Tahinli7 hours ago322 commits
| 1 | // The org pages: only what style/_min.scss does not already give them. |
| 2 | |
| 3 | // A member's avatar and name on one line inside a row. |
| 4 | .org-who { |
| 5 | display: inline-flex; |
| 6 | align-items: center; |
| 7 | gap: 8px; |
| 8 | min-width: 0; |
| 9 | } |
| 10 | |
| 11 | // The profile, home and signed-in lists: the page language only. |
| 12 | |
| 13 | // A topic head with a text action beside its title (the pins menu). |
| 14 | .topic-head { |
| 15 | display: flex; |
| 16 | flex-wrap: wrap; |
| 17 | align-items: baseline; |
| 18 | gap: 4px 16px; |
| 19 | |
| 20 | > h2 { |
| 21 | margin: 0; |
| 22 | font-size: 15px; |
| 23 | font-weight: 600; |
| 24 | line-height: 1.3; |
| 25 | color: var(--text); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | .profile-head { |
| 30 | display: flex; |
| 31 | flex-wrap: wrap; |
| 32 | align-items: center; |
| 33 | gap: 16px; |
| 34 | } |
| 35 | |
| 36 | .profile-id { |
| 37 | display: flex; |
| 38 | flex-direction: column; |
| 39 | gap: 4px; |
| 40 | min-width: 0; |
| 41 | |
| 42 | .acts { |
| 43 | margin-top: 6px; |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | .profile-about { |
| 48 | flex: 1 0 100%; |
| 49 | } |
| 50 | |
| 51 | .repo-listing { |
| 52 | display: flex; |
| 53 | flex-direction: column; |
| 54 | gap: 8px; |
| 55 | } |
| 56 | |
| 57 | .repo-list { |
| 58 | margin: 0; |
| 59 | padding: 0; |
| 60 | list-style: none; |
| 61 | } |
| 62 | |
| 63 | // The current sort is plain text among its links. |
| 64 | .sub .current { |
| 65 | color: var(--text); |
| 66 | } |
| 67 | |
| 68 | .plain-rows, |
| 69 | .repo-list { |
| 70 | > .line { |
| 71 | padding: 0; |
| 72 | border-radius: 0; |
| 73 | background: none; |
| 74 | box-shadow: none; |
| 75 | } |
| 76 | |
| 77 | .name { |
| 78 | min-width: 0; |
| 79 | overflow: hidden; |
| 80 | text-overflow: ellipsis; |
| 81 | white-space: nowrap; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | .org-members { |
| 86 | display: flex; |
| 87 | flex-wrap: wrap; |
| 88 | gap: 8px 20px; |
| 89 | margin: 0; |
| 90 | padding: 0; |
| 91 | list-style: none; |
| 92 | |
| 93 | a { |
| 94 | display: flex; |
| 95 | align-items: center; |
| 96 | gap: 8px; |
| 97 | color: var(--text); |
| 98 | text-decoration: none; |
| 99 | |
| 100 | &:hover span { |
| 101 | color: var(--accent-ink); |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | .pin-options { |
| 107 | display: flex; |
| 108 | flex-direction: column; |
| 109 | gap: 8px; |
| 110 | margin: 0; |
| 111 | padding: 0; |
| 112 | list-style: none; |
| 113 | } |
| 114 | |
| 115 | // The profile is one column on the read width: the old left pane (a boxed head at 300px) is gone. |
| 116 | @media (min-width: 900px) { |
| 117 | .profile-page { |
| 118 | min-height: 0; |
| 119 | padding-left: 0; |
| 120 | |
| 121 | > .profile-head { |
| 122 | position: static; |
| 123 | width: auto; |
| 124 | padding: 0; |
| 125 | background: none; |
| 126 | border: 0; |
| 127 | border-radius: 0; |
| 128 | } |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // Repo rows keep their name, badge and description on the left: the stars and the age follow |
| 133 | // the description, not the far end of the row. |
| 134 | .repo-list > .repo-item { |
| 135 | > .repo-desc { |
| 136 | flex: 0 1 auto; |
| 137 | } |
| 138 | |
| 139 | > .repo-stats { |
| 140 | margin-left: 0; |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | // The profile head: a compact avatar, and the about text with no box of its own. |
| 145 | .profile-head .profile-avatar { |
| 146 | width: 96px; |
| 147 | height: 96px; |
| 148 | } |
| 149 | |
| 150 | .profile-head .profile-about { |
| 151 | padding: 0; |
| 152 | background: none; |
| 153 | border: 0; |
| 154 | } |
| 155 | |
| 156 | // The pins menu opens from its link beside the title, to the right of it. |
| 157 | .topic-head .pins-menu > .pop-panel { |
| 158 | right: auto; |
| 159 | left: 0; |
| 160 | } |