Skip to content

Commit 55f158f

Browse files
committed
feat: フッターを追加し、スタイルを整備
1 parent a9d3068 commit 55f158f

2 files changed

Lines changed: 44 additions & 0 deletions

File tree

public/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,18 @@ <h2>このツールでできること</h2>
115115
</p>
116116
</section>
117117
</main>
118+
<footer class="site-footer">
119+
<div class="footer-inner">
120+
<a
121+
href="https://github.com/big-mon/amazon-link-cleaner-cloudflare"
122+
target="_blank"
123+
rel="noopener noreferrer"
124+
>
125+
GitHub
126+
</a>
127+
<span>© 2026 Amazon Link Cleaner</span>
128+
</div>
129+
</footer>
118130

119131
<script src="./main.js" defer></script>
120132
</body>

public/styles.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,33 @@ button#submit-btn:disabled {
223223
box-shadow: none;
224224
}
225225

226+
.site-footer {
227+
margin-top: 20px;
228+
padding: 24px;
229+
border-top: 1px solid var(--stroke);
230+
color: var(--muted);
231+
}
232+
233+
.footer-inner {
234+
max-width: 960px;
235+
margin: 0 auto;
236+
display: flex;
237+
align-items: center;
238+
justify-content: space-between;
239+
gap: 16px;
240+
font-size: 0.9rem;
241+
}
242+
243+
.site-footer a {
244+
color: var(--ink);
245+
font-weight: 600;
246+
text-decoration: none;
247+
}
248+
249+
.site-footer a:hover {
250+
color: var(--accent);
251+
}
252+
226253
@media (max-width: 720px) {
227254
.input-row {
228255
grid-template-columns: 1fr;
@@ -236,4 +263,9 @@ button#submit-btn:disabled {
236263
flex-direction: column;
237264
align-items: flex-start;
238265
}
266+
267+
.footer-inner {
268+
flex-direction: column;
269+
align-items: flex-start;
270+
}
239271
}

0 commit comments

Comments
 (0)