cityuni-webserver/base.css

199 lines
3.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;
}
.header{
position: fixed;
top: 0;
width: 100%;
}
.home-button{
display: inline-block;
2022-07-27 00:53:56 +01:00
width: 82px;
height: 82px;
2022-07-27 00:44:43 +01:00
overflow: hidden;
}
.home-button > div{
font-size: 60px;
2022-07-27 00:53:56 +01:00
padding: 10px;
vertical-align: top;
text-align: center;
}
.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 22:13:09 +01:00
.main-box{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
-webkit-align-content: center;
align-content: center;
width: 100%;
}
.main-box > div{
margin: 3px 0;
padding: 2px;
box-sizing: content-box;
}
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 21:23:15 +01:00
.item-table > div > div > div{
padding: 2px;
}
2022-07-26 21:11:53 +01:00
.item-table-caption{
2022-07-26 22:13:09 +01:00
display: table-caption !important;
2022-07-26 21:11:53 +01:00
caption-side: bottom;
}
2022-07-26 21:15:37 +01:00
.item-table-full, .item-table-360, .item-table-caption{
2022-07-26 13:39:26 +01:00
border-style: solid;
border-width: 1px;
background-color: transparent;
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 17:35:13 +01:00
vertical-align: top;
2022-07-26 13:39:26 +01:00
width: 100%;
}
2022-07-26 17:35:13 +01:00
.item-table-360{
2022-07-26 17:29:22 +01:00
display: none;
}
2022-07-26 19:49:32 +01:00
.image-box{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-orient: horizontal;
-moz-box-orient: horizontal;
-webkit-box-direction: normal;
-moz-box-direction: normal;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
-webkit-flex-wrap: wrap;
flex-wrap: wrap;
2022-07-26 20:45:37 +01:00
-webkit-justify-content: center;
justify-content: center;
}
.image-box > a{
2022-07-26 21:11:53 +01:00
border-style: solid;
border-width: 1px;
2022-07-26 20:45:37 +01:00
margin: 2px;
2022-07-26 18:00:40 +01:00
}
2022-07-26 23:51:27 +01:00
@media (min-width: 540px){
2022-07-26 22:13:09 +01:00
.main-box > div{
margin: 5px;
}
2022-07-26 17:35:13 +01:00
.item-table-360{
2022-07-26 17:29:22 +01:00
display: table-cell;
2022-07-26 17:35:13 +01:00
vertical-align: middle;
width: 360px;
2022-07-26 23:51:27 +01:00
overflow: hidden;
2022-07-26 17:29:22 +01:00
}
2022-07-26 20:45:37 +01:00
.image-box > a{
2022-07-26 21:11:53 +01:00
border-width: 4px;
2022-07-26 20:45:37 +01:00
margin: 10px;
}
2022-07-26 13:39:26 +01:00
}
2022-07-26 23:51:27 +01:00
@media (min-width: 640px){
.nav{
max-height: none;
top: 0;
position: relative;
float: right;
2022-07-26 21:11:53 +01:00
width: auto;
}
.menu li{
float: left;
}
.menu a:hover{
background-color: transparent;
}
.hmb{
display: none;
}
}