81 lines
1.2 KiB
CSS
81 lines
1.2 KiB
CSS
/* toy-shelf {
|
|
width: 400px;
|
|
height: 150px;
|
|
display: inline-block;
|
|
background-color: chartreuse;
|
|
} */
|
|
|
|
body {
|
|
background: url(../images/d7YslGq.gif);
|
|
line-height: 1.6;
|
|
font-size: 16px;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
header {
|
|
}
|
|
|
|
h1,h2,h3 {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.container {
|
|
background-color: white;
|
|
width: 85%;
|
|
height: 100vh;
|
|
padding: 20px 50px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-flow: row wrap-reverse;
|
|
}
|
|
|
|
.sidebar {
|
|
flex: 3 1 20%;
|
|
border: 1px solid black;
|
|
padding: 20px 40px;
|
|
}
|
|
|
|
.storefront {
|
|
flex: 1 3 fit-content;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.shelf-group {
|
|
display: inline-block;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
shop-counter {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
toy-shelf ul {
|
|
position: absolute;
|
|
z-index: 3;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
toy-shelf li {
|
|
display: inline-block;
|
|
width: 70px;
|
|
height: 70px;
|
|
margin: 5px 8px;
|
|
padding: 5px;
|
|
background-color: black;
|
|
color: red;
|
|
font-size: 10px;
|
|
vertical-align: bottom;
|
|
position: relative;
|
|
top: 5px;
|
|
left: 2px;
|
|
text-align: center;
|
|
}
|