Sarat Chandra
initial commit
ec14c0e
raw
history blame contribute delete
No virus
2.1 kB
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.container {
background-color: #ffffff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
width: 80%;
max-width: 1000px;
padding: 20px;
box-sizing: border-box;
}
.header {
text-align: center;
margin-bottom: 20px;
}
.search-section {
margin-bottom: 20px;
}
.search-section input[type="text"] {
width: calc(100% - 20px);
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 10px;
box-sizing: border-box;
box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.1);
border-color: chocolate;
}
.buttons {
display: flex;
justify-content: center;
}
.search-btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
background-color: #007bff;
color: white;
cursor: pointer;
margin-right: 20px;
}
.search-btn:active {
background-color: #0056b3;
}
.reset-btn {
padding: 10px 20px;
border: none;
border-radius: 4px;
background-color: #dc3545;
color: white;
cursor: pointer;
}
.reset-btn:active {
background-color: #b21f2d;
}
.content {
display: flex;
justify-content: space-between;
}
.cards {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
width: 70%;
}
.card {
background-color: #f9f9f9;
border-radius: 8px;
padding: 20px;
text-align: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.card img {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 4px;
}
.searches {
width: 25%;
padding-left: 20px;
border-left: 2px solid #f0f0f0;
overflow-y: auto;
max-height: 400px; /* Adjust this height as needed */
}
.searches h3 {
margin-top: 0;
}
.search-item {
background-color: #e9e9e9;
padding: 10px;
border-radius: 4px;
margin-bottom: 10px;
display: flex;
align-items: center;
}
.search-item input[type="checkbox"] {
margin-right: 10px;
}