shelf-scanner / styles.css
Ransted's picture
alls
c43d2a6
:body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: #f5f5f5;
color: #333;
}
header {
background: #2c3e50;
color: #fff;
padding: 1rem;
text-align: center;
}
main {
padding: 2rem;
}
.section {
display: none;
flex-direction: column;
gap: 1rem;
}
.flex-center {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
button {
padding: 0.5rem 1rem;
font-size: 1rem;
margin: 0.5rem;
cursor: pointer;
background: #2980b9;
color: white;
border: none;
border-radius: 5px;
transition: 0.2s;
}
button:hover {
background: #3498db;
}
.book-details {
display: flex;
gap: 1rem;
margin-top: 1rem;
}
.book-details img {
width: 200px;
height: 300px;
object-fit: cover;
border: 1px solid #ccc;
}
.book-info {
max-width: 600px;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
}
th, td {
border: 1px solid #ccc;
padding: 0.5rem;
text-align: left;
}
th {
background: #ecf0f1;
}
.shop-link {
color: #2980b9;
text-decoration: none;
}
.shop-link:hover {
text-decoration: underline;
}
#recommendations-list p {
background: #ecf0f1;
padding: 0.5rem;
border-radius: 5px;
}