|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <meta charset='utf-8'> |
| 5 | + <title>Contributors</title> |
| 6 | + <style> |
| 7 | + * { margin: 0; padding: 0; box-sizing: border-box; } |
| 8 | + body { |
| 9 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; |
| 10 | + background: linear-gradient(135deg, #0d1117 0%, #161b22 100%); |
| 11 | + color: #c9d1d9; |
| 12 | + min-height: 100vh; |
| 13 | + padding: 60px 24px; |
| 14 | + } |
| 15 | + .container { max-width: 1200px; margin: 0 auto; } |
| 16 | + |
| 17 | + /* Header */ |
| 18 | + header { margin-bottom: 60px; text-align: center; } |
| 19 | + h1 { |
| 20 | + font-size: 42px; |
| 21 | + font-weight: 700; |
| 22 | + margin-bottom: 8px; |
| 23 | + } |
| 24 | + h1 a { |
| 25 | + background: linear-gradient(135deg, #58a6ff 0%, #79c0ff 100%); |
| 26 | + -webkit-background-clip: text; |
| 27 | + -webkit-text-fill-color: transparent; |
| 28 | + background-clip: text; |
| 29 | + text-decoration: none; |
| 30 | + transition: all 0.3s; |
| 31 | + display: inline-block; |
| 32 | + } |
| 33 | + h1 a:hover { |
| 34 | + filter: brightness(1.2); |
| 35 | + text-shadow: 0 0 20px rgba(88, 166, 255, 0.5); |
| 36 | + } |
| 37 | + header p { font-size: 16px; color: #8b949e; margin: 8px 0; } |
| 38 | + header a { color: #58a6ff; text-decoration: none; transition: color 0.3s; } |
| 39 | + header a:hover { color: #79c0ff; } |
| 40 | + |
| 41 | + /* Sections */ |
| 42 | + .section { margin-bottom: 80px; } |
| 43 | + .section-head { |
| 44 | + display: flex; |
| 45 | + align-items: center; |
| 46 | + justify-content: space-between; |
| 47 | + gap: 12px; |
| 48 | + flex-wrap: wrap; |
| 49 | + margin-bottom: 20px; |
| 50 | + } |
| 51 | + .copy-btn { |
| 52 | + background: linear-gradient(135deg, #58a6ff, #79c0ff); |
| 53 | + color: #0d1117; |
| 54 | + border: none; |
| 55 | + border-radius: 10px; |
| 56 | + padding: 10px 14px; |
| 57 | + font-weight: 600; |
| 58 | + cursor: pointer; |
| 59 | + transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; |
| 60 | + box-shadow: 0 10px 20px rgba(88, 166, 255, 0.25); |
| 61 | + } |
| 62 | + .copy-btn:hover { |
| 63 | + filter: brightness(1.05); |
| 64 | + transform: translateY(-2px); |
| 65 | + box-shadow: 0 8px 12px rgba(88, 166, 255, 0.35); |
| 66 | + } |
| 67 | + .copy-btn:active { |
| 68 | + transform: translateY(0); |
| 69 | + box-shadow: 0 2px 4px rgba(88, 166, 255, 0.25); |
| 70 | + } |
| 71 | + |
| 72 | + /* Grid */ |
| 73 | + .grid { |
| 74 | + display: grid; |
| 75 | + grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); |
| 76 | + gap: 20px; |
| 77 | + } |
| 78 | + .item { |
| 79 | + display: flex; |
| 80 | + flex-direction: column; |
| 81 | + align-items: center; |
| 82 | + gap: 10px; |
| 83 | + padding: 12px; |
| 84 | + border-radius: 16px; |
| 85 | + text-decoration: none; |
| 86 | + color: inherit; |
| 87 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 88 | + background: rgba(22, 27, 34, 0.4); |
| 89 | + border: 1px solid rgba(48, 54, 61, 0.5); |
| 90 | + backdrop-filter: blur(10px); |
| 91 | + } |
| 92 | + .item:hover { |
| 93 | + background: rgba(88, 166, 255, 0.1); |
| 94 | + border-color: rgba(88, 166, 255, 0.6); |
| 95 | + transform: translateY(-8px); |
| 96 | + box-shadow: 0 12px 24px rgba(88, 166, 255, 0.15); |
| 97 | + } |
| 98 | + .item img { |
| 99 | + width: 72px; |
| 100 | + height: 72px; |
| 101 | + border-radius: 50%; |
| 102 | + object-fit: cover; |
| 103 | + border: 2px solid rgba(88, 166, 255, 0.2); |
| 104 | + transition: border-color 0.3s; |
| 105 | + } |
| 106 | + .item:hover img { border-color: rgba(88, 166, 255, 0.8); } |
| 107 | + .name { |
| 108 | + font-weight: 600; |
| 109 | + font-size: 14px; |
| 110 | + text-align: center; |
| 111 | + } |
| 112 | + .email { |
| 113 | + font-size: 11px; |
| 114 | + color: #8b949e; |
| 115 | + text-align: center; |
| 116 | + word-break: break-all; |
| 117 | + line-height: 1.3; |
| 118 | + } |
| 119 | + |
| 120 | + /* PNG Section */ |
| 121 | + .png-wrapper { |
| 122 | + background: rgba(22, 27, 34, 0.6); |
| 123 | + border: 1px solid rgba(88, 166, 255, 0.2); |
| 124 | + border-radius: 20px; |
| 125 | + padding: 40px; |
| 126 | + backdrop-filter: blur(10px); |
| 127 | + display: flex; |
| 128 | + flex-direction: column; |
| 129 | + align-items: center; |
| 130 | + text-align: center; |
| 131 | + } |
| 132 | + .png-wrapper .copy-btn { |
| 133 | + margin-bottom: 24px; |
| 134 | + } |
| 135 | + .png-wrapper img { |
| 136 | + max-width: 100%; |
| 137 | + height: auto; |
| 138 | + border-radius: 12px; |
| 139 | + box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); |
| 140 | + } |
| 141 | + |
| 142 | + /* Responsive */ |
| 143 | + @media (max-width: 768px) { |
| 144 | + h1 { font-size: 32px; } |
| 145 | + .section-title { font-size: 18px; } |
| 146 | + .grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 12px; } |
| 147 | + body { padding: 40px 16px; } |
| 148 | + .png-wrapper { padding: 24px; } |
| 149 | + } |
| 150 | + </style> |
| 151 | +</head> |
| 152 | +<body> |
| 153 | + <div class='container'> |
| 154 | + <header> |
| 155 | + <h1><a href='https://github.com/Sunrisepeak/thanks-contributors' target='_blank'>Thanks, Contributors!</a></h1> |
| 156 | + <p>一个自动统计组织或多个项目贡献者的开源工具</p> |
| 157 | + <p>Designed By <a href='https://github.com/Sunrisepeak' target='_blank'>Sunrisepeak</a></p> |
| 158 | + </header> |
| 159 | + |
| 160 | + <div class='section'> |
| 161 | + <div class='grid'> |
| 162 | + <a class='item' href='https://github.com/Sunrisepeak' target='_blank' title='Sunrisepeak'><img src='https://avatars.githubusercontent.com/u/38786181?v=4' alt='Sunrisepeak'><div class='name'>Sunrisepeak</div><div class='email'></div></a><a class='item' href='https://github.com/d2learn-org' target='_blank' title='d2learn-org'><img src='https://avatars.githubusercontent.com/u/248744407?v=4' alt='d2learn-org'><div class='name'>d2learn-org</div><div class='email'></div></a><a class='item' href='https://github.com/apps/github-actions' target='_blank' title='github-actions[bot]'><img src='https://avatars.githubusercontent.com/in/15368?v=4' alt='github-actions[bot]'><div class='name'>github-actions[bot]</div><div class='email'></div></a><a class='item' href='https://github.com/521xueweihan' target='_blank' title='521xueweihan'><img src='https://avatars.githubusercontent.com/u/8255800?v=4' alt='521xueweihan'><div class='name'>521xueweihan</div><div class='email'></div></a><a class='item' href='https://github.com/Ankali-Aylina' target='_blank' title='Ankali-Aylina'><img src='https://avatars.githubusercontent.com/u/109135335?v=4' alt='Ankali-Aylina'><div class='name'>Ankali-Aylina</div><div class='email'></div></a><a class='item' href='https://github.com/ExquisiteCore' target='_blank' title='ExquisiteCore'><img src='https://avatars.githubusercontent.com/u/59426890?v=4' alt='ExquisiteCore'><div class='name'>ExquisiteCore</div><div class='email'></div></a><a class='item' href='https://github.com/jwaiting' target='_blank' title='jwaiting'><img src='https://avatars.githubusercontent.com/u/39482149?v=4' alt='jwaiting'><div class='name'>jwaiting</div><div class='email'></div></a><a class='item' href='https://github.com/Mq-b' target='_blank' title='Mq-b'><img src='https://avatars.githubusercontent.com/u/97590219?v=4' alt='Mq-b'><div class='name'>Mq-b</div><div class='email'></div></a> |
| 163 | + </div> |
| 164 | + </div> |
| 165 | + |
| 166 | + <div class='section'> |
| 167 | + <div class='png-wrapper'> |
| 168 | + <button class='copy-btn' id='copy-png-link'>复制贡献者图片链接</button> |
| 169 | + <img src='./contributors.png' alt='Thanks, Contributors!' /> |
| 170 | + </div> |
| 171 | + </div> |
| 172 | + </div> |
| 173 | +</body> |
| 174 | +<script> |
| 175 | + (function() { |
| 176 | + const btn = document.getElementById('copy-png-link'); |
| 177 | + if (!btn) return; |
| 178 | + const url = new URL('./contributors.png', window.location.href).href; |
| 179 | + btn.addEventListener('click', async () => { |
| 180 | + try { |
| 181 | + await navigator.clipboard.writeText(url); |
| 182 | + const old = btn.textContent; |
| 183 | + btn.textContent = '已复制'; |
| 184 | + setTimeout(() => btn.textContent = old, 1500); |
| 185 | + } catch (e) { |
| 186 | + btn.textContent = url; |
| 187 | + } |
| 188 | + }); |
| 189 | + })(); |
| 190 | +</script> |
| 191 | +</html> |
0 commit comments