diff --git a/static/style.css b/static/style.css new file mode 100644 index 0000000..200d29f --- /dev/null +++ b/static/style.css @@ -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; +} diff --git a/templates/admin.html b/templates/admin.html index 1d2b133..c53a52e 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -6,7 +6,7 @@ Admin Music Album Catalog Admin Page - + diff --git a/templates/index.html b/templates/index.html index 021dd4a..b8dda0a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@ Music Album Catalog - +

Albums

diff --git a/templates/style.css b/templates/style.css deleted file mode 100644 index 2d43dca..0000000 --- a/templates/style.css +++ /dev/null @@ -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;} \ No newline at end of file