Inventory System
This commit is contained in:
55
Client/Gui/Inventory/inventory-style.css
Normal file
55
Client/Gui/Inventory/inventory-style.css
Normal file
@@ -0,0 +1,55 @@
|
||||
|
||||
|
||||
body {
|
||||
width: 50%;
|
||||
position: center;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.inventory-table {
|
||||
background-color: darkgray;
|
||||
position: absolute;
|
||||
padding: 2%;
|
||||
}
|
||||
|
||||
.inventory-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start; /* align items in Main Axis */
|
||||
align-items: flex-start; /* align items in Cross Axis */
|
||||
align-content: flex-start; /* Extra space in Cross Axis */
|
||||
}
|
||||
.inventory-item.axe1 {
|
||||
background-position: -170px -340px;
|
||||
}
|
||||
|
||||
.inventory-cell {
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
background-color: dimgray;
|
||||
border: solid;
|
||||
border-color: darkorange;
|
||||
border-width: 1px;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.inventory-slot {
|
||||
font-family: Pricedown;
|
||||
color: white;
|
||||
background-color: black;
|
||||
padding: 2px;
|
||||
font-size: 25px;
|
||||
vertical-align: top;
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
text-shadow: 2px 2px 3px orange;
|
||||
|
||||
}
|
||||
.inventory-item {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: red;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
|
||||
}
|
||||
Reference in New Issue
Block a user