cityuni-webserver/base.css
Captain ALM 0212c870c4
All checks were successful
continuous-integration/drone/push Build is passing
.
2022-07-26 15:06:26 +01:00

139 lines
2.3 KiB
CSS

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
main{
padding-top: 90px;
padding-left: 6px;
}
.no-dec{
text-decoration: none;
}
.no-lst-style{
list-style: none;
}
.header{
position: fixed;
top: 0;
width: 100%;
}
.home-button{
display: inline-block;
font-size: 60px;
padding: 7px 10px 6px;
}
.nav{
width: 100%;
height: 100%;
overflow: hidden;
max-height: 0;
}
.nav-menu{
display: none;
}
.menu a{
display: block;
padding: 32px 30px;
}
.hmb{
cursor: pointer;
float: right;
background-color: transparent;
padding: 40px 20px;
}
.hmb-line{
display: block;
height: 2px;
position: relative;
width: 24px;
}
.hmb-line::before, .hmb-line::after{
content: '';
display: block;
height: 100%;
position: absolute;
transition: all .1s ease-out;
width: 100%;
}
.hmb-line::before{
top: 5px;
}
.hmb-line::after{
top: -5px;
}
.nav-menu:checked ~ nav{
max-height: 100%;
}
.nav-menu:checked ~ .hmb .hmb-line{
background: transparent;
}
.nav-menu:checked ~ .hmb .hmb-line::before{
transform: rotate(-45deg);
top:0;
}
.nav-menu:checked ~ .hmb .hmb-line::after{
transform: rotate(45deg);
top:0;
}
.main-table{
display: table;
width: 100%;
}
.main-table > div{
display: table-row;
background-color: transparent;
}
.main-table > div > div{
display: table-cell;
margin: 3px 0;
border-style: solid;
border-width: 1px;
vertical-align: middle;
}
.item-table{
display: table;
width: 100%;
background-color: transparent;
}
.item-table > div{
display: table-row;
background-color: transparent;
}
.item-table-full, .item-table-half, .item-table-480{
display: table-cell;
border-style: solid;
border-width: 1px;
background-color: transparent;
vertical-align: top;
}
.item-table-full{
width: 100%;
}
.item-table-half{
width: 50%;
}
@media (min-width: 480px){
.nav{
max-height: none;
top: 0;
position: relative;
float: right;
width: fit-content;
}
.menu li{
float: left;
}
.menu a:hover{
background-color: transparent;
}
.hmb{
display: none;
}
.main-table > div > div{
margin: 5px;
}
.item-table-480{
width: 480px;
}
}