static/style.css — Styles

Minimal CSS for the bookmarks page, add form, and delete buttons.

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: system-ui, sans-serif; max-width: 640px; margin: 0 auto; padding: 2rem; color: #333; }
nav { margin-bottom: 2rem; }
nav a { font-size: 1.25rem; font-weight: bold; text-decoration: none; color: #111; }
h1 { margin-bottom: 1rem; }
ul { list-style: none; }
li { display: flex; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid #eee; }
li a { color: #0066cc; text-decoration: none; }
li a:hover { text-decoration: underline; }
small { color: #888; margin-left: 0.5rem; }
footer { margin-top: 2rem; color: #aaa; font-size: 0.85rem; }
.add-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.add-form input { flex: 1; padding: 0.4rem 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9rem; }
.add-form button { padding: 0.4rem 1rem; background: #0066cc; color: #fff; border: none; border-radius: 4px; cursor: pointer; }
.delete-form { margin-left: auto; }
.delete-btn { background: none; border: none; color: #c00; cursor: pointer; font-size: 1rem; padding: 0 0.4rem; }

💻 Run locally

Copy the code above and run it on your machine

© 2026 ByteLearn.dev. Free courses for developers. · Privacy