ed.brz9.dev/proj/map/asset/css/style.css

138 lines
1.8 KiB
CSS

@import url("https://file.brz9.dev/web/css/normalize.css");
@import url("./color.css");
@import url("./map.css");
@import url("./font.css");
header {
}
body {
height: 100vh;
overflow: hidden;
}
section#logo {
position: fixed;
left: 5px;
top: 5px;
}
section#lang {
position: fixed;
right: 5px;
top: 5px;
}
section#map-container {
position: fixed;
top: 40px;
width: 100vw;
}
#map {
height: 300px;
width: 100vw;
}
main {
position: fixed;
top: 340px;
bottom: 0px;
width: 100vw;
}
div#list {
overflow-y: scroll;
height: 100%;
width: 100%;
padding-left: 10px;
padding-top: 10px
scrollbar-width: none;
}
div#list::-webkit-scrollbar {
display: none;
}
.marker {
position: absolute;
height: 5px;
left: 0;
width: 0;
bottom: -10px;
transition: 0.5s;
}
.listchild {
height: 0%;
max-height: 0px;
overflow: hidden;
transition: height 0.3s;
}
.listchild.active {
height: 100%;
max-height: none;
overflow: hidden;
}
span.listname {
display: inline-block;
}
span.listname h3 {
margin: 0px;
float: left;
}
span.listname span.listicon {
margin: 5px;
float: left;
transform: rotate(0deg);
transition: transform 0.3s;
}
span.listname.active span.listicon {
float: left;
transform: rotate(-180deg);
transition: transform 0.3s;
}
section.listchild {
display: block;
padding-right: 10px;
}
main section.void {
height: 100vh;
}
section.lastlistitem {
width: 100vw;
margin-bottom: 10px;
}
section.lastlistitem aside {
float: left;
width: 50%;
}
section.lastlistitem aside h3 {
margin-top: 0px;
margin-bottom: 0px;
}
section.lastlistitem img {
width: 100%;
height: 200px;
object-fit: cover;
margin-left: -10px;
}
section.lastlistitem:after {
content: "";
display: table;
clear: both;
}