matemat/static/css/matemat.css

52 lines
845 B
CSS
Raw Permalink Normal View History

.thumblist-item {
display: inline-block;
2020-02-03 20:44:58 +01:00
margin: 5px;
padding: 5px;
background: #f0f0f0;
text-decoration: none;
}
.thumblist-item a {
text-decoration: none;
}
.thumblist-item .imgcontainer {
2020-02-03 20:44:58 +01:00
width: 100px;
height: 100px;
position: relative;
}
.thumblist-item .imgcontainer img {
2020-02-03 20:44:58 +01:00
max-width: 100px;
max-height: 100px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.thumblist-title {
display: block;
font-weight: bolder;
}
2018-10-01 21:08:37 +02:00
2020-02-03 20:44:58 +01:00
.thumblist-stock {
position: absolute;
z-index: 10;
bottom: 0;
right: 0;
background: #f0f0f0;
padding: 10px;
}
2018-10-01 21:08:37 +02:00
@media print {
footer {
position: fixed;
bottom: 0;
font-size: 0.8em;
}
footer li {
display: inline-block;
margin-right: 40px;
}
}