diff --git a/view/static/main.css b/view/static/main.css index e69de29..a508865 100644 --- a/view/static/main.css +++ b/view/static/main.css @@ -0,0 +1,91 @@ +:root { + --border-color: hsl(0 0% 90%); + --accent-color: red; +} + +html { + box-sizing: border-box; + font-family: system-ui; +} + +*, +*::before, +*::after { + box-sizing: inherit; +} + +* { + margin: 0; +} + +body { + line-height: 1.5; +} + +img, +picture, +video, +canvas, +svg { + display: block; + max-width: 100%; +} + +input, +button, +textarea, +select { + font: inherit; +} + +p, +h1, +h2, +h3, +h4, +h5, +h6 { + overflow-wrap: break-word; +} + +body { + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: stretch; +} + +.footer { + margin-top: auto; + padding: 1.5rem 0; + margin-top: 1.5rem; + border-top: 1px solid var(--border-color); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 0 2rem; +} + +table, +th, +tr, +td { + text-align: inherit; +} + +.pagination { + list-style-type: none; + padding: 0; + display: flex; +} + +.page-link { + display: block; + padding: 0.5em 1em; +} + +.page-item.active { + background-color: var(--accent-color); +} diff --git a/view/templates/base.html b/view/templates/base.html index 23bb11c..b3977e5 100644 --- a/view/templates/base.html +++ b/view/templates/base.html @@ -19,7 +19,16 @@ >
- {% block body %}{% endblock %} +