@@ -9,6 +9,7 @@ const siteCSS = `:root { |
| 9 |
--muted: #656d76; |
9 |
--muted: #656d76; |
| 10 |
--blue: #0969da; |
10 |
--blue: #0969da; |
| 11 |
--green: #1f883d; |
11 |
--green: #1f883d; |
|
|
12 |
--green-hover: #1a7f37; |
| 12 |
--nav: #25292e; |
13 |
--nav: #25292e; |
| 13 |
--shadow: 0 1px 0 rgba(31,35,40,.04); |
14 |
--shadow: 0 1px 0 rgba(31,35,40,.04); |
| 14 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
15 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
@@ -16,10 +17,13 @@ const siteCSS = `:root { |
| 16 |
background: var(--bg); |
17 |
background: var(--bg); |
| 17 |
} |
18 |
} |
| 18 |
* { box-sizing: border-box; } |
19 |
* { box-sizing: border-box; } |
|
|
20 |
[hidden] { display: none !important; } |
| 19 |
body { margin: 0; min-width: 320px; background: var(--bg); font-size: 14px; line-height: 1.5; } |
21 |
body { margin: 0; min-width: 320px; background: var(--bg); font-size: 14px; line-height: 1.5; } |
| 20 |
a { color: var(--blue); text-decoration: none; } |
22 |
a { color: var(--blue); text-decoration: none; } |
| 21 |
a:hover { text-decoration: underline; } |
23 |
a:hover { text-decoration: underline; } |
| 22 |
button { font: inherit; } |
24 |
button, input { font: inherit; } |
|
|
25 |
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; vertical-align: text-bottom; } |
|
|
26 |
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } |
| 23 |
.topbar { height: 64px; padding: 0 28px; display: flex; align-items: center; gap: 18px; background: var(--nav); color: white; } |
27 |
.topbar { height: 64px; padding: 0 28px; display: flex; align-items: center; gap: 18px; background: var(--nav); color: white; } |
| 24 |
.brand { display: inline-flex; align-items: center; gap: 9px; color: white; font-size: 16px; font-weight: 650; letter-spacing: -.2px; } |
28 |
.brand { display: inline-flex; align-items: center; gap: 9px; color: white; font-size: 16px; font-weight: 650; letter-spacing: -.2px; } |
| 25 |
.brand:hover { text-decoration: none; } |
29 |
.brand:hover { text-decoration: none; } |
@@ -28,7 +32,8 @@ button { font: inherit; } |
| 28 |
.top-link { margin-left: auto; color: white; font-weight: 600; } |
32 |
.top-link { margin-left: auto; color: white; font-weight: 600; } |
| 29 |
.repo-head { background: var(--canvas); border-bottom: 1px solid var(--border); padding: 22px 32px 0; } |
33 |
.repo-head { background: var(--canvas); border-bottom: 1px solid var(--border); padding: 22px 32px 0; } |
| 30 |
.repo-title { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 7px; font-size: 20px; } |
34 |
.repo-title { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 7px; font-size: 20px; } |
| 31 |
.repo-icon { color: var(--muted); font-size: 20px; margin-right: 2px; } |
35 |
.repo-icon { color: var(--muted); display: inline-flex; margin-right: 2px; } |
|
|
36 |
.repo-icon .icon { width: 20px; height: 20px; } |
| 32 |
.repo-name { font-weight: 650; } |
37 |
.repo-name { font-weight: 650; } |
| 33 |
.slash { color: var(--muted); } |
38 |
.slash { color: var(--muted); } |
| 34 |
.visibility { color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; margin-left: 5px; } |
39 |
.visibility { color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; margin-left: 5px; } |
@@ -37,32 +42,49 @@ button { font: inherit; } |
| 37 |
.tab:hover { text-decoration: none; background: rgba(175,184,193,.16); border-radius: 6px 6px 0 0; } |
42 |
.tab:hover { text-decoration: none; background: rgba(175,184,193,.16); border-radius: 6px 6px 0 0; } |
| 38 |
.tab.active { font-weight: 650; } |
43 |
.tab.active { font-weight: 650; } |
| 39 |
.tab.active:after { content: ""; height: 2px; background: #fd8c73; position: absolute; left: 8px; right: 8px; bottom: -1px; } |
44 |
.tab.active:after { content: ""; height: 2px; background: #fd8c73; position: absolute; left: 8px; right: 8px; bottom: -1px; } |
|
|
45 |
.counter { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(175,184,193,.25); color: var(--text); font-size: 12px; font-weight: 600; } |
| 40 |
.content-shell { max-width: 1280px; margin: 24px auto 64px; padding: 0 24px; } |
46 |
.content-shell { max-width: 1280px; margin: 24px auto 64px; padding: 0 24px; } |
| 41 |
.repo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; } |
47 |
.repo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; } |
| 42 |
.primary { min-width: 0; } |
48 |
.primary { min-width: 0; } |
| 43 |
.full-width { width: 100%; } |
49 |
.full-width { width: 100%; } |
| 44 |
.toolbar { min-height: 38px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; } |
50 |
.toolbar { min-height: 38px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; } |
| 45 |
.branch-button, .clone-button, .blob-actions a, .blob-actions button { min-height: 32px; border: 1px solid rgba(31,35,40,.15); border-radius: 6px; background: #f6f8fa; box-shadow: var(--shadow); color: var(--text); display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; font-weight: 600; font-size: 13px; } |
51 |
.branch-button, .clone-button, .blob-actions a, .blob-actions button { min-height: 32px; border: 1px solid rgba(31,35,40,.15); border-radius: 6px; background: #f6f8fa; box-shadow: var(--shadow); color: var(--text); display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; font-weight: 600; font-size: 13px; } |
| 46 |
.branch-icon { font-size: 17px; line-height: 1; } |
52 |
.branch-button .icon-chevron { width: 12px; margin-left: 3px; color: var(--muted); } |
| 47 |
.chevron { color: var(--muted); margin-left: 4px; } |
53 |
.clone-menu { position: relative; margin-left: auto; } |
| 48 |
.clone-button { margin-left: auto; background: var(--green); border-color: rgba(31,35,40,.15); color: white; cursor: pointer; } |
54 |
.clone-button { background: var(--green); border-color: rgba(31,35,40,.15); color: white; cursor: pointer; } |
|
|
55 |
.clone-button:hover { background: var(--green-hover); } |
|
|
56 |
.clone-button .icon-chevron { width: 12px; } |
|
|
57 |
.clone-popover { position: absolute; z-index: 10; top: calc(100% + 7px); right: 0; width: 380px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; background: white; box-shadow: 0 8px 24px rgba(140,149,159,.35); } |
|
|
58 |
.clone-popover:before { content: ""; position: absolute; top: -6px; right: 22px; width: 10px; height: 10px; transform: rotate(45deg); border-left: 1px solid var(--border); border-top: 1px solid var(--border); background: white; } |
|
|
59 |
.clone-popover h3 { margin: 0; font-size: 14px; } |
|
|
60 |
.clone-popover p { margin: 3px 0 12px; color: var(--muted); font-size: 12px; } |
|
|
61 |
.clone-input-group { display: flex; } |
|
|
62 |
.clone-input-group input { min-width: 0; flex: 1; height: 34px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px 0 0 6px; color: var(--text); background: var(--canvas); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; } |
|
|
63 |
.clone-input-group button { width: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-left: 0; border-radius: 0 6px 6px 0; color: var(--text); background: var(--canvas); cursor: pointer; } |
|
|
64 |
.clone-input-group button:hover { background: #eef1f4; } |
|
|
65 |
.clone-popover > code { display: block; margin-top: 12px; padding: 9px 10px; overflow: hidden; border-radius: 6px; color: var(--muted); background: var(--canvas); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; } |
| 49 |
.toolbar-path { border-bottom: 1px solid var(--border-muted); padding-bottom: 14px; } |
66 |
.toolbar-path { border-bottom: 1px solid var(--border-muted); padding-bottom: 14px; } |
| 50 |
.breadcrumbs { min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; overflow: hidden; } |
67 |
.breadcrumbs { min-width: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; overflow: hidden; } |
| 51 |
.breadcrumbs a { color: var(--text); white-space: nowrap; } |
68 |
.breadcrumbs a { color: var(--text); white-space: nowrap; } |
| 52 |
.breadcrumbs a:last-child { font-weight: 650; } |
69 |
.breadcrumbs a:last-child { font-weight: 650; } |
| 53 |
.breadcrumbs span { color: var(--muted); } |
70 |
.breadcrumbs span { color: var(--muted); } |
| 54 |
.tree-card, .readme-card, .blob-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--bg); } |
71 |
.tree-card, .readme-card, .blob-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--bg); } |
| 55 |
.commit-row { min-height: 54px; display: grid; grid-template-columns: 32px auto minmax(80px, 1fr) auto auto; align-items: center; gap: 9px; padding: 9px 16px; background: #f6f8fa; border-bottom: 1px solid var(--border); } |
72 |
.commit-row { min-height: 54px; display: grid; grid-template-columns: 32px minmax(120px,1fr) auto auto auto; align-items: center; gap: 9px; padding: 9px 14px; background: var(--canvas); border-bottom: 1px solid var(--border); } |
| 56 |
.avatar { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg,#8250df,#0969da); font-size: 10px; font-weight: 700; } |
73 |
.avatar { width: 28px; height: 28px; display: block; border-radius: 50%; object-fit: cover; background: #eaeef2; } |
| 57 |
.commit-message { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
74 |
.latest-commit { min-width: 0; display: flex; align-items: baseline; gap: 9px; } |
|
|
75 |
.latest-commit strong { flex: none; } |
|
|
76 |
.commit-message { min-width: 0; overflow: hidden; color: var(--text); text-overflow: ellipsis; white-space: nowrap; } |
| 58 |
.commit-hash, .commit-row time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; } |
77 |
.commit-hash, .commit-row time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; } |
| 59 |
.commit-row time { font-family: inherit; white-space: nowrap; } |
78 |
.commit-row time { font-family: inherit; white-space: nowrap; } |
|
|
79 |
.commit-count-link { min-height: 30px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-left: 1px solid var(--border-muted); color: var(--text); white-space: nowrap; } |
|
|
80 |
.commit-count-link:hover { color: var(--blue); text-decoration: none; } |
| 60 |
.tree-rows { width: 100%; } |
81 |
.tree-rows { width: 100%; } |
| 61 |
.tree-row { min-height: 42px; display: grid; grid-template-columns: 24px minmax(180px, 2fr) minmax(120px, 3fr) 75px; align-items: center; gap: 8px; padding: 6px 16px; color: var(--text); border-top: 1px solid var(--border-muted); } |
82 |
.tree-row { min-height: 42px; display: grid; grid-template-columns: 24px minmax(180px, 2fr) minmax(120px, 3fr) 75px; align-items: center; gap: 8px; padding: 6px 16px; color: var(--text); border-top: 1px solid var(--border-muted); } |
| 62 |
.tree-row:first-child { border-top: 0; } |
83 |
.tree-row:first-child { border-top: 0; } |
| 63 |
.tree-row:hover { background: #f6f8fa; text-decoration: none; } |
84 |
.tree-row:hover { background: var(--canvas); text-decoration: none; } |
| 64 |
.file-icon { color: var(--muted); font-size: 16px; } |
85 |
.file-icon { display: inline-flex; color: #59636e; } |
| 65 |
.file-icon.folder { color: #54aeff; } |
86 |
.file-icon.folder { color: #54aeff; } |
|
|
87 |
.file-icon .icon { width: 17px; height: 17px; stroke-width: 1.25; } |
| 66 |
.file-name { color: var(--blue); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
88 |
.file-name { color: var(--blue); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 67 |
.row-message { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
89 |
.row-message { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| 68 |
.file-size { color: var(--muted); text-align: right; font-size: 12px; white-space: nowrap; } |
90 |
.file-size { color: var(--muted); text-align: right; font-size: 12px; white-space: nowrap; } |
@@ -83,13 +105,28 @@ button { font: inherit; } |
| 83 |
.markdown-body pre code { padding: 0; background: transparent; } |
105 |
.markdown-body pre code { padding: 0; background: transparent; } |
| 84 |
.markdown-body blockquote { margin-left: 0; padding-left: 1em; color: var(--muted); border-left: .25em solid var(--border); } |
106 |
.markdown-body blockquote { margin-left: 0; padding-left: 1em; color: var(--muted); border-left: .25em solid var(--border); } |
| 85 |
.sidebar { padding-top: 48px; } |
107 |
.sidebar { padding-top: 48px; } |
| 86 |
.sidebar h2 { font-size: 16px; margin: 0 0 10px; } |
108 |
.sidebar-section { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--border-muted); } |
| 87 |
.sidebar h3 { font-size: 13px; margin: 0 0 8px; } |
109 |
.sidebar-section:last-child { border-bottom: 0; } |
| 88 |
.sidebar p { color: var(--muted); margin: 0; } |
110 |
.sidebar h2 { margin: 0 0 10px; font-size: 16px; } |
| 89 |
.sidebar-rule { height: 1px; background: var(--border-muted); margin: 20px 0; } |
111 |
.section-title { display: flex; align-items: center; justify-content: space-between; } |
| 90 |
.clone-url { display: block; max-width: 100%; padding: 8px 10px; border-radius: 6px; background: var(--canvas); overflow: hidden; text-overflow: ellipsis; font-size: 11px; white-space: nowrap; } |
112 |
.section-title > span:first-child { display: inline-flex; align-items: center; gap: 7px; } |
| 91 |
.stat { display: flex; gap: 6px; padding: 3px 0; } |
113 |
.about-description { margin: 0 0 12px; color: var(--text); font-size: 16px; line-height: 1.45; } |
| 92 |
.stat span { color: var(--muted); } |
114 |
.about-description.muted { color: var(--muted); } |
|
|
115 |
.about-link { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 4px 0; color: var(--blue); font-weight: 600; } |
|
|
116 |
.about-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
|
|
117 |
.contributors-list { display: flex; flex-direction: column; gap: 8px; } |
|
|
118 |
.contributor { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 8px; } |
|
|
119 |
.contributor-avatar { width: 32px; height: 32px; } |
|
|
120 |
.contributor-name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; } |
|
|
121 |
.contributor-count { color: var(--muted); font-size: 12px; } |
|
|
122 |
.language-bar { height: 10px; display: flex; overflow: hidden; margin: 12px 0 13px; border-radius: 999px; background: #eaeef2; } |
|
|
123 |
.language-segment { width: var(--language-width); min-width: 2px; background: var(--language-color); } |
|
|
124 |
.language-segment + .language-segment { border-left: 2px solid white; } |
|
|
125 |
.language-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 12px; padding: 0; margin: 0; list-style: none; } |
|
|
126 |
.language-list li { min-width: 0; display: grid; grid-template-columns: 10px minmax(0,1fr) auto; align-items: center; gap: 6px; font-size: 12px; } |
|
|
127 |
.language-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
|
|
128 |
.language-list li > span:last-child { color: var(--muted); } |
|
|
129 |
.language-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--language-color); } |
| 93 |
.blob-card { border-radius: 6px; } |
130 |
.blob-card { border-radius: 6px; } |
| 94 |
.blob-heading { min-height: 54px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; background: var(--canvas); border-bottom: 1px solid var(--border); } |
131 |
.blob-heading { min-height: 54px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; background: var(--canvas); border-bottom: 1px solid var(--border); } |
| 95 |
.blob-heading > div:first-child { min-width: 0; display: flex; flex-direction: column; } |
132 |
.blob-heading > div:first-child { min-width: 0; display: flex; flex-direction: column; } |
@@ -97,6 +134,7 @@ button { font: inherit; } |
| 97 |
.blob-heading span { color: var(--muted); font-size: 12px; } |
134 |
.blob-heading span { color: var(--muted); font-size: 12px; } |
| 98 |
.blob-actions { margin-left: auto; display: flex; gap: 6px; } |
135 |
.blob-actions { margin-left: auto; display: flex; gap: 6px; } |
| 99 |
.blob-actions a, .blob-actions button { min-height: 28px; padding: 3px 10px; cursor: pointer; } |
136 |
.blob-actions a, .blob-actions button { min-height: 28px; padding: 3px 10px; cursor: pointer; } |
|
|
137 |
.blob-actions button .icon { width: 14px; height: 14px; } |
| 100 |
.code-view { overflow: auto; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; } |
138 |
.code-view { overflow: auto; font: 12px/1.5 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace; } |
| 101 |
.code-view .chroma { margin: 0; padding: 0; background: white; } |
139 |
.code-view .chroma { margin: 0; padding: 0; background: white; } |
| 102 |
.code-view .chroma table { width: 100%; border-spacing: 0; } |
140 |
.code-view .chroma table { width: 100%; border-spacing: 0; } |
@@ -106,18 +144,55 @@ button { font: inherit; } |
| 106 |
.image-preview { padding: 32px; display: grid; place-items: center; min-height: 260px; background: repeating-conic-gradient(#f6f8fa 0 25%, #fff 0 50%) 50%/20px 20px; } |
144 |
.image-preview { padding: 32px; display: grid; place-items: center; min-height: 260px; background: repeating-conic-gradient(#f6f8fa 0 25%, #fff 0 50%) 50%/20px 20px; } |
| 107 |
.image-preview img { max-width: 100%; max-height: 70vh; } |
145 |
.image-preview img { max-width: 100%; max-height: 70vh; } |
| 108 |
.binary-notice { padding: 70px 20px; display: flex; flex-direction: column; align-items: center; color: var(--muted); } |
146 |
.binary-notice { padding: 70px 20px; display: flex; flex-direction: column; align-items: center; color: var(--muted); } |
| 109 |
.binary-notice > span { font-size: 44px; } |
147 |
.binary-notice > span .icon { width: 44px; height: 44px; } |
| 110 |
.binary-notice strong { color: var(--text); font-size: 16px; } |
148 |
.binary-notice strong { color: var(--text); font-size: 16px; } |
| 111 |
.binary-notice p { margin: 5px 0 14px; } |
149 |
.binary-notice p { margin: 5px 0 14px; } |
|
|
150 |
.history-toolbar { justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--border-muted); } |
|
|
151 |
.history-total { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); } |
|
|
152 |
.history-heading { margin: 22px 0 24px; } |
|
|
153 |
.history-heading h1 { margin: 0; font-size: 24px; } |
|
|
154 |
.history-heading p { margin: 4px 0 0; color: var(--muted); } |
|
|
155 |
.commit-group { margin: 0 0 28px; } |
|
|
156 |
.commit-group > h2 { margin: 0 0 9px; font-size: 15px; font-weight: 600; } |
|
|
157 |
.commit-list { overflow: hidden; border: 1px solid var(--border); border-radius: 7px; } |
|
|
158 |
.commit-list-row { min-height: 67px; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px 14px; border-top: 1px solid var(--border-muted); } |
|
|
159 |
.commit-list-row:first-child { border-top: 0; } |
|
|
160 |
.commit-list-row:target { background: #fff8c5; } |
|
|
161 |
.commit-list-row:hover { background: var(--canvas); } |
|
|
162 |
.commit-list-row:target:hover { background: #fff8c5; } |
|
|
163 |
.commit-list-row .commit-avatar { width: 34px; height: 34px; } |
|
|
164 |
.commit-list-body { min-width: 0; display: flex; flex-direction: column; } |
|
|
165 |
.commit-list-message { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
|
|
166 |
.commit-list-body > span { color: var(--muted); font-size: 12px; } |
|
|
167 |
.commit-list-body > span strong { color: var(--text); } |
|
|
168 |
.commit-sha { padding: 4px 8px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: var(--canvas); font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; } |
|
|
169 |
.commit-sha:hover { color: var(--blue); text-decoration: none; } |
| 112 |
footer { min-height: 90px; max-width: 1232px; margin: 0 auto; border-top: 1px solid var(--border-muted); color: var(--muted); display: flex; justify-content: center; gap: 28px; align-items: center; font-size: 12px; } |
170 |
footer { min-height: 90px; max-width: 1232px; margin: 0 auto; border-top: 1px solid var(--border-muted); color: var(--muted); display: flex; justify-content: center; gap: 28px; align-items: center; font-size: 12px; } |
| 113 |
@media (max-width: 800px) { |
171 |
@media (max-width: 900px) { |
| 114 |
.topbar { padding: 0 16px; }.top-search,.top-link { display: none; } |
172 |
.repo-grid { grid-template-columns: 1fr; } |
|
|
173 |
.sidebar { padding-top: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; } |
|
|
174 |
.about-section { grid-column: 1 / -1; } |
|
|
175 |
.commit-row { grid-template-columns: 32px minmax(0,1fr) auto; } |
|
|
176 |
.commit-hash, .commit-row time { display: none; } |
|
|
177 |
} |
|
|
178 |
@media (max-width: 650px) { |
|
|
179 |
.topbar { padding: 0 16px; } |
|
|
180 |
.top-search, .top-link { display: none; } |
| 115 |
.repo-head { padding-left: 16px; padding-right: 16px; } |
181 |
.repo-head { padding-left: 16px; padding-right: 16px; } |
|
|
182 |
.repo-title { font-size: 17px; } |
| 116 |
.content-shell { padding: 0 12px; margin-top: 16px; } |
183 |
.content-shell { padding: 0 12px; margin-top: 16px; } |
| 117 |
.repo-grid { grid-template-columns: 1fr; }.sidebar { padding-top: 0; } |
184 |
.sidebar { display: block; } |
| 118 |
.commit-row { grid-template-columns: 32px auto 1fr; }.commit-hash,.commit-row time { display: none; } |
185 |
.commit-row { grid-template-columns: 32px minmax(0,1fr) auto; } |
| 119 |
.tree-row { grid-template-columns: 22px minmax(100px,1fr) 70px; }.row-message { display: none; } |
186 |
.commit-count-link { border-left: 0; padding-right: 0; } |
|
|
187 |
.commit-count-link strong { display: none; } |
|
|
188 |
.latest-commit strong { display: none; } |
|
|
189 |
.tree-row { grid-template-columns: 22px minmax(100px,1fr) 70px; } |
|
|
190 |
.row-message { display: none; } |
| 120 |
.markdown-body { padding: 22px 18px; } |
191 |
.markdown-body { padding: 22px 18px; } |
| 121 |
.toolbar-path { align-items: flex-start; flex-direction: column; } |
192 |
.toolbar-path { align-items: flex-start; flex-direction: column; } |
|
|
193 |
.clone-popover { position: fixed; top: 74px; left: 12px; right: 12px; width: auto; } |
|
|
194 |
.clone-popover:before { display: none; } |
|
|
195 |
.commit-list-row { grid-template-columns: 34px minmax(0,1fr); } |
|
|
196 |
.commit-sha { display: none; } |
| 122 |
footer { flex-direction: column; gap: 4px; } |
197 |
footer { flex-direction: column; gap: 4px; } |
| 123 |
}` |
198 |
}` |