63 lines
1.1 KiB
CSS
63 lines
1.1 KiB
CSS
body {
|
|
font-family: sans-serif;
|
|
margin: 20px;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
padding: 15px;
|
|
text-align: center;
|
|
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.card img {
|
|
width: 64px;
|
|
height: 64px;
|
|
object-fit: contain;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
.card.add-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 2px dashed #aaa;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.plus-icon {
|
|
font-size: 2em;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
.modal.hidden { display: none; }
|
|
.modal {
|
|
position: fixed; top: 0; left: 0; right: 0; bottom: 0;
|
|
background: rgba(0,0,0,0.5);
|
|
display: flex; align-items: center; justify-content: center;
|
|
}
|
|
.modal-content {
|
|
background: #fff; padding: 20px; border-radius: 8px;
|
|
width: 300px;
|
|
}
|
|
.actions { margin-top: 10px; display: flex; gap: 10px; }
|