cityuni-webserver/base.css

158 lines
2.6 KiB
CSS
Raw Normal View History

*{
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;
}
2022-07-26 17:05:24 +01:00
.centered{
text-align: center;
}
.padded-2px{
padding: 2px;
}
.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;
}
2022-07-26 13:39:26 +01:00
.main-table{
display: table;
2022-07-26 16:58:24 +01:00
width: 100%;
2022-07-26 16:41:11 +01:00
box-sizing: content-box;
2022-07-26 13:39:26 +01:00
}
.main-table > div{
display: table-row;
background-color: transparent;
2022-07-26 16:41:11 +01:00
box-sizing: inherit;
2022-07-26 13:39:26 +01:00
}
.main-table > div > div{
display: table-cell;
border-style: solid;
border-width: 1px;
2022-07-26 15:02:07 +01:00
vertical-align: middle;
2022-07-26 16:41:11 +01:00
box-sizing: inherit;
}
.main-table > div > div > div{
margin: 3px 0;
2022-07-26 16:58:24 +01:00
padding: 2px;
2022-07-26 16:41:11 +01:00
box-sizing: inherit;
2022-07-26 13:39:26 +01:00
}
.item-table{
display: table;
2022-07-26 16:58:24 +01:00
width: 100%;
2022-07-26 16:41:11 +01:00
box-sizing: content-box;
2022-07-26 13:39:26 +01:00
background-color: transparent;
}
.item-table > div{
display: table-row;
background-color: transparent;
2022-07-26 16:41:11 +01:00
box-sizing: inherit;
}
2022-07-26 17:29:22 +01:00
.item-table-full, .item-table-240{
2022-07-26 13:39:26 +01:00
border-style: solid;
border-width: 1px;
background-color: transparent;
2022-07-26 14:59:09 +01:00
vertical-align: top;
2022-07-26 16:41:11 +01:00
box-sizing: inherit;
2022-07-26 13:39:26 +01:00
}
.item-table-full{
2022-07-26 17:29:22 +01:00
display: table-cell;
2022-07-26 13:39:26 +01:00
width: 100%;
}
2022-07-26 15:11:19 +01:00
.item-table-240{
2022-07-26 17:29:22 +01:00
display: none;
}
@media (min-width: 320px){
.main-table > div > div > div{
margin: 5px;
}
.item-table-240{
display: table-cell;
width: 240px;
}
2022-07-26 13:39:26 +01:00
}
@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;
}
}