|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="ja"> |
| 3 | +<head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, max-age=0" /> |
| 7 | + <meta http-equiv="Pragma" content="no-cache" /> |
| 8 | + <meta http-equiv="Expires" content="0" /> |
| 9 | + <title>xlsx2md</title> |
| 10 | + <style> |
| 11 | + :root { |
| 12 | + --bg: #f3efe6; |
| 13 | + --surface: #fffdf8; |
| 14 | + --text: #1f1d18; |
| 15 | + --muted: #6b655b; |
| 16 | + --primary: #8f3b1b; |
| 17 | + --on-primary: #fffaf6; |
| 18 | + --secondary-bg: #efe2d8; |
| 19 | + --secondary-text: #4f4037; |
| 20 | + --outline: #dfd2c4; |
| 21 | + } |
| 22 | + * { box-sizing: border-box; } |
| 23 | + body { |
| 24 | + margin: 0; |
| 25 | + font-family: "BIZ UDPGothic", "Noto Sans JP", "Hiragino Sans", "Segoe UI", sans-serif; |
| 26 | + background: |
| 27 | + radial-gradient(circle at top left, rgba(143, 59, 27, 0.10), transparent 28%), |
| 28 | + linear-gradient(180deg, #f7f2ea 0%, var(--bg) 100%); |
| 29 | + color: var(--text); |
| 30 | + min-height: 100vh; |
| 31 | + display: grid; |
| 32 | + place-items: center; |
| 33 | + padding: 24px; |
| 34 | + } |
| 35 | + .card { |
| 36 | + width: min(760px, 100%); |
| 37 | + background: var(--surface); |
| 38 | + border: 1px solid var(--outline); |
| 39 | + border-radius: 22px; |
| 40 | + padding: 30px; |
| 41 | + box-shadow: 0 16px 40px rgba(55, 39, 24, 0.10); |
| 42 | + } |
| 43 | + h1 { |
| 44 | + margin: 0 0 12px; |
| 45 | + font-size: clamp(2rem, 5vw, 2.8rem); |
| 46 | + line-height: 1.1; |
| 47 | + letter-spacing: -0.02em; |
| 48 | + } |
| 49 | + h2 { |
| 50 | + margin: 0 0 10px; |
| 51 | + font-size: 1.2rem; |
| 52 | + line-height: 1.25; |
| 53 | + } |
| 54 | + p { |
| 55 | + margin: 0 0 14px; |
| 56 | + color: var(--muted); |
| 57 | + line-height: 1.75; |
| 58 | + } |
| 59 | + ul { |
| 60 | + margin: 0 0 16px; |
| 61 | + padding-left: 1.2rem; |
| 62 | + color: var(--muted); |
| 63 | + line-height: 1.65; |
| 64 | + } |
| 65 | + .eyebrow { |
| 66 | + display: inline-block; |
| 67 | + margin-bottom: 12px; |
| 68 | + padding: 0.3rem 0.65rem; |
| 69 | + border-radius: 999px; |
| 70 | + background: #f4e5d9; |
| 71 | + color: #7b3d21; |
| 72 | + font-size: 0.82rem; |
| 73 | + font-weight: 700; |
| 74 | + letter-spacing: 0.04em; |
| 75 | + text-transform: uppercase; |
| 76 | + } |
| 77 | + .lead { |
| 78 | + font-size: 1.02rem; |
| 79 | + color: #4f4a40; |
| 80 | + } |
| 81 | + .link-row { |
| 82 | + display: flex; |
| 83 | + flex-wrap: wrap; |
| 84 | + gap: 10px; |
| 85 | + margin-top: 8px; |
| 86 | + } |
| 87 | + .link-btn, |
| 88 | + .link-btn-secondary { |
| 89 | + display: inline-block; |
| 90 | + text-decoration: none; |
| 91 | + padding: 0.72rem 1.2rem; |
| 92 | + border-radius: 999px; |
| 93 | + font-weight: 700; |
| 94 | + transition: transform 120ms ease, box-shadow 120ms ease; |
| 95 | + } |
| 96 | + .link-btn { |
| 97 | + background: var(--primary); |
| 98 | + color: var(--on-primary); |
| 99 | + box-shadow: 0 10px 24px rgba(143, 59, 27, 0.24); |
| 100 | + } |
| 101 | + .link-btn-secondary { |
| 102 | + background: var(--secondary-bg); |
| 103 | + color: var(--secondary-text); |
| 104 | + border: 1px solid #d8c2b4; |
| 105 | + } |
| 106 | + .link-btn:hover, |
| 107 | + .link-btn-secondary:hover { |
| 108 | + transform: translateY(-1px); |
| 109 | + } |
| 110 | + .divider { |
| 111 | + border: 0; |
| 112 | + border-top: 1px solid var(--outline); |
| 113 | + margin: 22px 0; |
| 114 | + } |
| 115 | + .sub { |
| 116 | + margin-top: 14px; |
| 117 | + font-size: 0.9rem; |
| 118 | + color: var(--muted); |
| 119 | + } |
| 120 | + .lang-block:last-child p:last-child { |
| 121 | + margin-bottom: 0; |
| 122 | + } |
| 123 | + </style> |
| 124 | +</head> |
| 125 | +<body> |
| 126 | + <main class="card"> |
| 127 | + <div class="eyebrow">Local Browser Tool</div> |
| 128 | + <h1>xlsx2md</h1> |
| 129 | + <p class="lead"> |
| 130 | + Excel (`.xlsx`) をローカルで読み込み、Markdown へ変換するブラウザベースのツールです。 |
| 131 | + </p> |
| 132 | + |
| 133 | + <section class="lang-block" aria-label="English"> |
| 134 | + <h2>English</h2> |
| 135 | + <p> |
| 136 | + xlsx2md is a browser-based converter that reads Excel (`.xlsx`) files locally and turns them into Markdown. |
| 137 | + </p> |
| 138 | + <ul> |
| 139 | + <li>Runs in the browser.</li> |
| 140 | + <li>Converts all sheets automatically.</li> |
| 141 | + <li>Supports display / raw / both output modes.</li> |
| 142 | + <li>Includes analysis-oriented output such as tables, formulas, charts, and shapes.</li> |
| 143 | + </ul> |
| 144 | + <div class="link-row"> |
| 145 | + <a class="link-btn" href="./xlsx2md.html?v=202603190000">Open xlsx2md</a> |
| 146 | + <a class="link-btn-secondary" href="https://github.com/igapyon/xlsx2md" target="_blank" rel="noopener noreferrer">GitHub</a> |
| 147 | + </div> |
| 148 | + </section> |
| 149 | + |
| 150 | + <hr class="divider" /> |
| 151 | + |
| 152 | + <section class="lang-block" aria-label="日本語"> |
| 153 | + <h2>日本語</h2> |
| 154 | + <p> |
| 155 | + xlsx2md は、Excel (`.xlsx`) をローカルで読み込み、Markdown へ変換するブラウザベースのツールです。 |
| 156 | + </p> |
| 157 | + <ul> |
| 158 | + <li>ブラウザ内で動作します。</li> |
| 159 | + <li>全シートを自動で変換します。</li> |
| 160 | + <li>`display` / `raw` / `both` の出力モードを持ちます。</li> |
| 161 | + <li>表、数式、グラフ、図形などの解析結果を Markdown に出力します。</li> |
| 162 | + </ul> |
| 163 | + <div class="link-row"> |
| 164 | + <a class="link-btn" href="./xlsx2md.html?v=202603190000">xlsx2md を開く</a> |
| 165 | + <a class="link-btn-secondary" href="https://github.com/igapyon/xlsx2md" target="_blank" rel="noopener noreferrer">GitHub</a> |
| 166 | + </div> |
| 167 | + </section> |
| 168 | + </main> |
| 169 | + |
| 170 | + <script> |
| 171 | + (() => { |
| 172 | + const selector = 'a[href^="./xlsx2md.html"]'; |
| 173 | + const buildVersionStamp = () => { |
| 174 | + const d = new Date(); |
| 175 | + return ( |
| 176 | + d.getFullYear().toString() + |
| 177 | + String(d.getMonth() + 1).padStart(2, "0") + |
| 178 | + String(d.getDate()).padStart(2, "0") + |
| 179 | + String(d.getHours()).padStart(2, "0") + |
| 180 | + String(d.getMinutes()).padStart(2, "0") |
| 181 | + ); |
| 182 | + }; |
| 183 | + const stampAndGo = (anchor) => { |
| 184 | + const u = new URL(anchor.getAttribute("href"), location.href); |
| 185 | + u.searchParams.set("v", buildVersionStamp()); |
| 186 | + anchor.setAttribute("href", u.pathname + u.search); |
| 187 | + }; |
| 188 | + document.addEventListener("click", (ev) => { |
| 189 | + const a = ev.target.closest(selector); |
| 190 | + if (!a) return; |
| 191 | + stampAndGo(a); |
| 192 | + }, true); |
| 193 | + document.addEventListener("auxclick", (ev) => { |
| 194 | + if (ev.button !== 1) return; |
| 195 | + const a = ev.target.closest(selector); |
| 196 | + if (!a) return; |
| 197 | + stampAndGo(a); |
| 198 | + }, true); |
| 199 | + })(); |
| 200 | + </script> |
| 201 | +</body> |
| 202 | +</html> |
0 commit comments