97 lines
1.6 KiB
CSS
97 lines
1.6 KiB
CSS
/* toy-shelf {
|
|
width: 400px;
|
|
height: 150px;
|
|
display: inline-block;
|
|
background-color: chartreuse;
|
|
} */
|
|
@import url(https://fonts.bunny.net/css?family=georama:400|bangers:400);
|
|
|
|
body {
|
|
background: url(../images/d7YslGq.gif);
|
|
line-height: 1.6;
|
|
font-size: 16px;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Georama', sans-serif;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
color: white;
|
|
font-family: 'Bangers', display;
|
|
}
|
|
|
|
h1,h2,h3 {
|
|
line-height: 1.2;
|
|
font-family: 'Bangers', display;
|
|
}
|
|
|
|
.container {
|
|
width: 85%;
|
|
min-height: 100vh;
|
|
padding: 20px 50px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-flow: row wrap-reverse;
|
|
align-items: center;
|
|
background-color: white;
|
|
padding: 20px 50px;
|
|
}
|
|
|
|
.sidebar {
|
|
flex: 3 1 20%;
|
|
border: 1px solid black;
|
|
padding: 20px 30px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.storefront {
|
|
flex: 1 3 fit-content;
|
|
margin: 0 auto;
|
|
min-height: 720px;
|
|
padding: 30px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
color: white;
|
|
}
|