136 lines
2.5 KiB
CSS
136 lines
2.5 KiB
CSS
/* General Reset and Basic Styles */
|
|
* {
|
|
box-sizing: border-box;
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
background: #1a1a1a;
|
|
color: #f0e6d2;
|
|
font-family: 'Trebuchet MS', sans-serif;
|
|
}
|
|
|
|
/* Container Styling */
|
|
.container {
|
|
max-width: 700px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
image-rendering: crisp-edges;
|
|
background: #3a3a3a;
|
|
border-image: url('border.png');
|
|
border-image-slice: 12;
|
|
border-image-outset: 6px;
|
|
border-image-repeat: repeat;
|
|
border-width: 12px;
|
|
border-style: solid;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
/* Titles and Headers */
|
|
h1 {
|
|
color: #d4af37;
|
|
font-size: 2em;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
border-bottom: 2px solid #7f5f35;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
h2 {
|
|
color: #c89b3c;
|
|
font-size: 1.5em;
|
|
border-bottom: 1px solid #7f5f35;
|
|
padding-bottom: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* Labels and Inputs */
|
|
label {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-top: 15px;
|
|
color: #e0d6ba;
|
|
}
|
|
|
|
input[type="text"], input[type="number"], textarea {
|
|
width: 100%;
|
|
padding: 8px;
|
|
margin-top: 5px;
|
|
background-color: #2a2a2a;
|
|
border: 2px solid #7f5f35;
|
|
border-radius: 5px;
|
|
color: #f0e6d2;
|
|
}
|
|
|
|
/* Button Styles */
|
|
button {
|
|
margin-top: 5px;
|
|
padding: 10px 20px;
|
|
background-color: #c89b3c;
|
|
color: #1a1a1a;
|
|
font-weight: bold;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #a07929;
|
|
}
|
|
|
|
.delete-button {
|
|
padding: 5px 10px;
|
|
background-color: #e74c3c;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.delete-button:hover {
|
|
background-color: #c0392b;
|
|
}
|
|
|
|
/* List Styles */
|
|
ul {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
margin-top: 10px;
|
|
background: #2f2f2f;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
border: 2px solid #7f5f35;
|
|
}
|
|
|
|
li {
|
|
padding: 8px;
|
|
border-bottom: 1px solid #444;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
li:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Inventory Counter Style */
|
|
li input[type="number"] {
|
|
width: 60px;
|
|
text-align: center;
|
|
background-color: #1a1a1a;
|
|
border: 1px solid #7f5f35;
|
|
color: #f0e6d2;
|
|
}
|
|
|
|
/* Status Message */
|
|
#statusMessage {
|
|
color: #c89b3c;
|
|
font-weight: bold;
|
|
margin-top: 15px;
|
|
text-align: center;
|
|
}
|