A bit of styling
This commit is contained in:
parent
befbf7c485
commit
2e08db40b6
@ -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);
|
||||
@ -285,3 +285,17 @@ dialog {
|
||||
max-width: 300px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
@ -40,6 +40,7 @@
|
||||
<input type="submit" value="Ajouter">
|
||||
</form>
|
||||
</div>
|
||||
<div id="table-container">
|
||||
<table id="books-table">
|
||||
<tr>
|
||||
<th>ISBN</th>
|
||||
@ -65,6 +66,7 @@
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
<br/>
|
||||
<a href="/export-csv" download="books.csv">Exporter en CSV</a>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user