GameHub/styly/Table.css

30 lines
525 B
CSS
Raw Permalink Normal View History

2024-05-15 20:20:13 +02:00
body {
2024-05-16 09:17:08 +02:00
background-image: url(https://images6.alphacoders.com/134/thumb-1920-1346530.jpeg)
2024-05-15 20:20:13 +02:00
}
h1 {
text-align: center;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
2024-05-16 09:35:31 +02:00
background-image: url(https://e1.pxfuel.com/desktop-wallpaper/415/290/desktop-wallpaper-magic-castle.jpg);
2024-05-15 20:20:13 +02:00
}
th, td {
padding: 8px;
border-bottom: 1px solid #ddd;
text-align: left;
}
th {
background-color: #007bff;
color: #fff;
}
tbody tr:nth-child(even) {
background-color: #f2f2f2;
}