#10 Started on creating front end pages for the admin

This commit is contained in:
2024-02-13 10:04:59 +00:00
parent 7f77dcdd02
commit b6721cc777
4 changed files with 98 additions and 4 deletions

50
static/css/admin.css Normal file
View File

@ -0,0 +1,50 @@
/* Resetting default table styles */
table {
border-collapse: collapse;
width: 100%;
margin-bottom: 20px;
}
/* Styling table headers */
th {
background-color: #f2f2f2;
color: #333;
font-weight: bold;
padding: 10px;
text-align: left;
}
/* Styling table rows */
tr:nth-child(even) {
background-color: #f9f9f9;
}
tr:hover {
background-color: #f2f2f2;
}
/* Styling table data cells */
td {
padding: 10px;
}
/* Add a border to the bottom of the header row */
th {
border-bottom: 2px solid #ddd;
}
/* Add a border to all other rows and cells */
tr:not(:first-child) {
border-top: 1px solid #ddd;
}
td {
border-bottom: 1px solid #ddd;
}
/* Responsive table */
@media (max-width: 768px) {
table {
overflow-x: auto;
}
}