mirror of
https://github.com/hanzo-apps/hanzo.io.git
synced 2026-10-30 19:15:19 +00:00
83 lines
1.2 KiB
CSS
83 lines
1.2 KiB
CSS
.list {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
min-height: 600px;
|
|
box-sizing: border-box;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.list .info {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.list .info ul {
|
|
list-style-type: none;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
}
|
|
|
|
.list .info ul li {
|
|
float: left;
|
|
display: table;
|
|
}
|
|
|
|
.list .info ul li * {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.list.bottom .image {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.list.bottom .info {
|
|
display: block;
|
|
position: absolute;
|
|
bottom: 0;
|
|
margin-bottom: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
.list.right, .list.left {
|
|
padding: 0px;
|
|
}
|
|
|
|
.list.left .image, .list.left .info {
|
|
float: right;
|
|
min-height: 600px;
|
|
}
|
|
.list.right .image, .list.right .info {
|
|
float: left;
|
|
min-height: 600px;
|
|
}
|
|
|
|
.list.right .image, .list.left .image {
|
|
width: 45%;
|
|
height: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.list.left .info, .list.right .info {
|
|
width: 55%;
|
|
height: 100%;
|
|
padding: 40px;
|
|
text-align: left;
|
|
max-width: 600px;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.list.right .image, .list.left .image, .list.right .info, .list.left .info {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.list.left .info, .list.right .info {
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
|