Localbase / styles.css
Aleksmorshen's picture
Update styles.css
ed562c1 verified
raw
history blame
2.53 kB
body {
font-family: Arial, sans-serif;
background-color: #000;
color: #fff;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background-color: #111;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
border-radius: 10px;
}
h1, h2 {
text-align: center;
color: #fff;
}
form {
display: flex;
flex-direction: column;
gap: 10px;
margin-bottom: 20px;
}
input {
padding: 10px;
font-size: 16px;
border: 1px solid #444;
border-radius: 5px;
background-color: #222;
color: #fff;
}
button {
padding: 10px;
font-size: 16px;
background-color: #28a745;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: #218838;
}
.search-container {
margin-bottom: 20px;
}
#searchInput {
width: 100%;
padding: 10px;
font-size: 16px;
border: 1px solid #444;
border-radius: 5px;
background-color: #222;
color: #fff;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #444;
}
th {
background-color: #333;
color: #fff;
}
tr:hover {
background-color: #222;
cursor: pointer;
}
.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background-color: #222;
padding: 20px;
border-radius: 10px;
text-align: center;
width: 300px;
}
.modal-content h2 {
margin-top: 0;
}
.modal-content button {
display: block;
width: 100%;
margin: 10px 0;
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.modal-content button:hover {
opacity: 0.9;
}
.close {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
.cart {
margin-top: 30px;
padding: 20px;
background-color: #222;
border-radius: 10px;
}
.cart h2 {
margin-top: 0;
}
#sellCartBtn {
margin-top: 10px;
background-color: #28a745;
}
#sellCartBtn:hover {
background-color: #218838;
}
.stats {
margin-top: 30px;
padding: 20px;
background-color: #222;
border-radius: 10px;
}
.stats h2 {
margin-top: 0;
}
.stats p {
font-size: 18px;
margin: 10px 0;
}