scandiweb-products/static/stylesheet.css

78 lines
969 B
CSS

body {
font-family: cursive;
}
#header {
display: flex;
justify-content: space-between;
border-bottom: 2px solid gray;
margin: 0 1em 2em;
}
#buttons {
display: flex;
margin: 0 1em;
}
.header-button {
align-self: center;
margin: 0 2em;
}
#buttons button {
font-family: cursive;
padding: .5em 1em;
font-size: 1rem;
background-color: white;
border: 2px solid black;
box-shadow: 2px 2px black;
}
#buttons button:hover {
background-color: #EEE;
cursor: pointer;
}
#products {
display: flex;
flex-wrap: wrap;
}
.product {
width: 150px;
height: 150px;
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
border: 2px solid black;
margin: 1em;
position: relative;
}
.delete-checkbox {
border: 1px solid black;
position: absolute;
top: 0px;
}
.hidden {
display: none;
}
#main {
margin: 2em;
}
.form-section {
margin: 2em;
}
td:nth-child(2) {
padding-left: 2em;
}
#productType {
margin-left: 2em;
}