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

257 lines
3.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 {
height: 100px;
width: 100vw;
}
body {
height: 100vh;
overflow: hidden;
}
section#logo {
position: relative;
left: 5px;
top: 5px;
}
section#lang {
position: relative;
text-align: right;
margin-top: -12px;
}
section#lang span.marker {
position: absolute;
height: 5px;
left: 0;
width: 0;
bottom: -8px;
transition: 0.5s;
}
section#lang span {
margin-right: 10px;
}
section#map-container {
position: fixed;
top: 40px;
width: 100vw;
}
#map {
height: 300px;
width: 100vw;
}
main {
position: fixed;
top: 340px;
bottom: 0px;
width: 100vw;
overflow-x: hidden;
}
div#list {
overflow-y: scroll;
height: 100%;
width: 100%;
padding-left: 10px;
padding-top: 10px
scrollbar-width: none;
overflow-x: hidden;
}
div#list::-webkit-scrollbar {
display: none;
}
.listchild {
height: 0%;
max-height: 0px;
overflow: hidden;
transition: height 0.3s;
}
.listchild.active {
height: 100%;
max-height: none;
overflow: hidden;
}
span.listname {
margin-top: 10px;
margin-bottom: 10px;
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: 20px;
position: relative;
}
section.lastlistitem aside {
float: left;
width: 50%;
}
section.lastlistitem aside h3 {
margin-top: 0px;
margin-bottom: 0px;
}
section.lastlistitem aside p {
padding-right: 20px;
}
section.lastlistitem img {
width: 100%;
height: 200px;
object-fit: cover;
margin-left: -10px;
}
section.lastlistitem:after {
content: "";
display: table;
clear: both;
}
section.lastlistitem aside span.info {
position: absolute;
bottom: 0px;
font-size: 30px;
font-weight: 600;
width: 32px;
height: 32px;
text-align: center;
border-radius: 100%;
background-color: var(--b9h-color-fg);
color: var(--b9h-color-bg);
}
div.sep {
background-color: var(--b9h-color-fg);
height:5px;
width: 100vw;
margin-left: -8px;
overflow-x: hidden;
content: "jsdflkj"
}
section.card {
position: fixed;
top: 110vh;
left: 0px;
right: 0px;
bottom: 0px;
background-color: var(--b9h-color-bg);
z-index: 1000;
transition: top 0.5s;
}
section.card nav {
margin-top: 60px;
display: flex;
flex-direction: row;
justify-content: space-around;
}
section.card nav span {
font-size: 30px;
}
section.card span.byl-icon-cross {
position: absolute;
right: 20px;
top: 20px;
font-size: 1.3rem;
}
section.tabroll {
margin-top: 20px;
height: 100vh;
display: flex;
flex-direction: row;
}
section.tabroll {
transform: translateX(-0vw);
transition: transform 0.5s;
}
section.tabroll section.singletab {
width: 100vw;
height: 100%;
}
nav.cardnav {
position: relative;
}
nav.cardnav span.marker {
position: absolute;
height: 5px;
left: 0px;
width: 0px;
background-color: var(--b9h-color-accent);
bottom: -20px;
transition: 0.5s;
}
/**Leaflet overwrite**/
div.leaflet-popup-tip {
background-color: var(--b9h-color-fg);
}
.leaflet-container div.leaflet-popup-content-wrapper {
border-radius: 0px;
color: var(--b9h-color-bg);
background-color: var(--b9h-color-fg);
font-family: Inter;
font-weight: 400;
font-size: 1rem;
text-align: center;
padding-top: 5px;
}
.leaflet-container a.leaflet-popup-close-button {
color: var(--b9h-color-bg);
}