mirror of
https://github.com/skidoodle/iphistory.git
synced 2025-02-15 08:29:16 +01:00
122 lines
2.2 KiB
CSS
122 lines
2.2 KiB
CSS
body {
|
|
font-family: Arial, sans-serif;
|
|
background-color: #222;
|
|
color: #fff;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
h1 {
|
|
text-align: center;
|
|
margin: 20px 0;
|
|
}
|
|
h1 a {
|
|
color: #007bff;
|
|
text-decoration: none;
|
|
}
|
|
h1 a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.controls {
|
|
width: 90%;
|
|
max-width: 800px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 20px 0;
|
|
}
|
|
.export, .search-bar {
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
border: 1px solid #444;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.export {
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
text-align: center;
|
|
border: none;
|
|
}
|
|
.export:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
.search-bar {
|
|
flex-grow: 1;
|
|
margin-left: 20px;
|
|
background-color: #333;
|
|
color: #fff;
|
|
border-color: #444;
|
|
}
|
|
.search-bar:focus {
|
|
outline: none;
|
|
border-color: #007bff;
|
|
}
|
|
table {
|
|
width: 90%;
|
|
max-width: 800px;
|
|
border-collapse: collapse;
|
|
margin: 0 auto 20px;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
|
background-color: #333;
|
|
}
|
|
th, td {
|
|
border: 1px solid #444;
|
|
padding: 12px;
|
|
text-align: left;
|
|
}
|
|
th {
|
|
cursor: pointer;
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
border: none;
|
|
}
|
|
th.sort-asc::after {
|
|
content: " (newest first)";
|
|
color: #fff;
|
|
}
|
|
th.sort-desc::after {
|
|
content: " (oldest first)";
|
|
color: #fff;
|
|
}
|
|
tbody tr:nth-child(even) {
|
|
background-color: #444;
|
|
}
|
|
.pagination {
|
|
margin: 20px;
|
|
}
|
|
.pagination button {
|
|
background-color: #007bff;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
cursor: pointer;
|
|
border-radius: 5px;
|
|
margin: 0 5px;
|
|
}
|
|
.pagination button:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
.pagination button:disabled {
|
|
background-color: #555;
|
|
cursor: not-allowed;
|
|
}
|
|
@media (max-width: 600px) {
|
|
th, td {
|
|
padding: 8px;
|
|
}
|
|
.export, .pagination button {
|
|
padding: 8px 12px;
|
|
}
|
|
.search-bar {
|
|
margin-left: 10px;
|
|
padding: 8px;
|
|
font-size: 14px;
|
|
}
|
|
}
|