brz9-cdn/byl/css/layout.css

153 lines
1.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.byl-root {
position: relative;
width: 100%;
min-height: 100vh;
max-width: 100vw;
overflow-x: hidden;
}
.byl-header {
width: 100%;
min-height: 20px;
}
.byl-flex {
display: flex;
}
.byl-bloc {
display: inline-block;
}
.byl-header-menu li {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
}
.byl-header .byl-logo{
padding-top: 5px;
padding-bottom: 5px;
height: 30px;
padding-left: 10px;
}
.byl-header ul li {
list-style: none;
padding-right: 20px;
}
.byl-footer {
position: absolute;
text-align: center;
width: 100%;
bottom: 0px;
}
.byl-footer * {
padding-top: 10px;
padding-bottom: 10px;
}
.byl-main {
display: flex;
height: auto;
}
.byl-80vw {
min-width: 80vw;
width: 80vw;
margin-left: auto;
margin-right: auto;
}
.byl-60vw {
min-width: 60vw;
width: 60vw;
margin-left: auto;
margin-right: auto;
}
.byl-50vw {
min-width: 50vw;
width: 50vw;
margin-left: auto;
margin-right: auto;
}
.byl-30vw {
min-width: 30vw;
width: 30vw;
margin-left: auto;
margin-right: auto;
}
.byl-20vw {
min-width: 20vw;
width: 20vw;
margin-right: auto;
}
.byl-10vw {
min-width: 10vw;
width: 10vw;
margin-left: auto;
margin-right: auto;
}
.byl-centered {
text-align: center;
}
.byl-container {
width: inherit;
position: relative;
}
.byl-left {
position: absolute;
left: 0px;
top: 0px;
}
.byl-right {
position: absolute;
right: 0px;
top: 0px;
}
.byl-mobile,
.byl-mobile * {
min-width: 0px;
width: 0px;
min-height: 0px;
height: 0px;
visibility: hidden;
}
@media only screen and (max-width: 64em) {
.byl-desk,
.byl-desk * {
min-width: 0px;
width: 0px;
min-height: 0px;
height: 0px;
visibility: hidden;
}
.byl-mobile,
.byl-mobile * {
min-width: revert;
width: revert;
min-height: revert;
height: revert;
visibility: revert;
}
}