#10 Started on creating front end pages for the admin
This commit is contained in:
50
static/css/admin.css
Normal file
50
static/css/admin.css
Normal 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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user