diff --git a/static/style.css b/static/style.css index b1c8cae..ecf4826 100644 --- a/static/style.css +++ b/static/style.css @@ -4,7 +4,7 @@ /* Themes used: Catppuccin Latte & Moccha * https://github.com/catppuccin/catppuccin */ -/* Dark theme: Catpuccin Mocha */ +/* Dark theme: Catpuccin Mocha :root { --color-rosewater: #f5e0dc; --color-flamingo: #f2cdcd; @@ -34,10 +34,10 @@ --color-crust: #11111b; --color-action: #333d5d; --font-family: Iosevka Web; -} +}*/ /* Light theme: Catppuccin Latte */ -@media (prefers-color-scheme: light) { +/*@media (prefers-color-scheme: light) {*/ :root { --color-rosewater: #dc8a78; --color-flamingo: #dd7878; @@ -67,7 +67,7 @@ --color-crust: #dce0e8; --color-action: #cdd6f4; } -} +/*}*/ * { font-family: var(--font-family); @@ -284,4 +284,18 @@ dialog { #add-book { max-width: 300px; margin: auto; -} \ No newline at end of file +} + +table tr td { + border-right: 2px solid var(--color-crust); + padding: 0 10px; +} + +table tr td:last-of-type { + border: none; +} + +#table-container { + max-width: 100vw; + overflow-x: scroll; +} diff --git a/templates/index.html b/templates/index.html index 9d7a1ee..25ab85b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -40,31 +40,33 @@ -
ISBN | -Titre | -Auteur | -Date | -Éditeur | -Quantité | -Actions | -
---|---|---|---|---|---|---|
{{ book.isbn }} | -{{ book.title }} |
- {{ book.author }} |
- {{ book.publish_date }} |
- {{ book.publisher }} |
- {{ book.count }} |
- - - - | -
ISBN | +Titre | +Auteur | +Date | +Éditeur | +Quantité | +Actions | +
---|---|---|---|---|---|---|
{{ book.isbn }} | +{{ book.title }} |
+ {{ book.author }} |
+ {{ book.publish_date }} |
+ {{ book.publisher }} |
+ {{ book.count }} |
+ + + + | +