Fixed CSS references in template files.

This commit is contained in:
christophermullins 2025-05-31 04:18:15 -07:00
parent dcd60b567b
commit 0e1e254b58
4 changed files with 50 additions and 21 deletions

48
static/style.css Normal file
View File

@ -0,0 +1,48 @@
body {
font-family: Arial, sans-serif;
margin: 20px;
}
h1 {
color: #333;
}
/* Basic table styling */
table {
width: 100%;
border-collapse: collapse;
font-family: Arial, sans-serif;
}
/* Table header styling */
th {
background-color: #f2f2f2;
color: #333;
padding: 10px;
text-align: left;
border-bottom: 2px solid #ddd;
border-radius: 8px 8px 0 0; /* Rounded corners for the header */
}
/* Table row styling */
tr {
background-color: #fff;
transition: background-color 0.3s ease;
}
/* Hover effect on table rows */
tr:hover {
background-color: #f5f5f5;
}
/* Table cell styling */
td {
padding: 12px;
border-bottom: 1px solid #ddd;
border-radius: 0 0 8px 8px; /* Rounded corners for the cells */
}
/* Alternating row colors */
tr:nth-child(even) {
background-color: #f9f9f9;
}

View File

@ -6,7 +6,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Admin</title> <title>Admin</title>
<title>Music Album Catalog Admin Page</title> <title>Music Album Catalog Admin Page</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head> </head>
<body> <body>

View File

@ -5,7 +5,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Music Album Catalog</title> <title>Music Album Catalog</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head> </head>
<body> <body>
<h1>Albums</h1> <h1>Albums</h1>

View File

@ -1,19 +0,0 @@
body {
font-family: Arial, sans-serif;
margin: 20px;
}
h1 {
color: #333;
}
tr {
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
tr:first-child tr {
background-color: #D6EEEE;
}
tr:hover {background-color: #D6EEEE;}