cityuni-webserver/base.css

238 lines
4.4 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;
}
2022-07-27 12:11:34 +01:00
.content > p{
2022-07-27 17:34:49 +01:00
word-break: break-word;
-ms-word-wrap: break-word;
word-wrap: break-word;
2022-07-27 12:11:34 +01:00
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.header{
position: fixed;
top: 0;
width: 100%;
}
2022-07-27 11:53:55 +01:00
.home-button, .sort-button{
display: inline-block;
2022-07-27 11:53:55 +01:00
width: 64px;
2022-07-27 00:53:56 +01:00
height: 82px;
2022-07-27 00:44:43 +01:00
overflow: hidden;
2022-07-27 11:53:55 +01:00
text-align: center;
2022-07-27 00:44:43 +01:00
}
2022-07-27 12:11:34 +01:00
.sort-button{
cursor: pointer;
}
2022-07-27 11:53:55 +01:00
.home-button > div, .sort-button > div{
2022-07-27 00:55:38 +01:00
display: inline;
font-size: 60px;
2022-07-27 11:53:55 +01:00
padding: 10px;
2022-07-27 01:03:12 +01:00
vertical-align: middle;
}
.nav{
width: 100%;
height: 100%;
overflow: hidden;
max-height: 0;
}
2022-07-28 00:32:38 +01:00
.so-pane{
display: none;
overflow: hidden;
position: fixed;
max-height: 0;
}
2022-07-28 01:01:53 +01:00
.so-pane > *{
2022-07-28 01:08:25 +01:00
vertical-align: middle;
2022-07-28 01:01:53 +01:00
font-size: 16px;
2022-07-28 00:48:24 +01:00
text-align: left;
2022-07-28 01:08:25 +01:00
padding: 0 2px;
2022-07-28 00:32:38 +01:00
}
2022-07-28 01:01:53 +01:00
.so-pane > label{
2022-07-28 00:48:24 +01:00
background-color: transparent;
}
2022-07-28 00:32:38 +01:00
.nav-menu, .sort-menu, .data-hold{
display: none;
}
.menu a{
display: block;
2022-07-27 13:59:31 +01:00
padding: 32px 18px;
}
.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-28 00:32:38 +01:00
.sort-menu:checked ~ .so-pane{
display: block;
box-sizing: content-box;
position: fixed;
top: 85px;
2022-07-28 01:01:53 +01:00
max-height: 24px;
2022-07-28 01:08:25 +01:00
width: 400px;
2022-07-28 01:01:53 +01:00
height: 24px;
2022-07-28 00:32:38 +01:00
padding: 4px;
text-align: center;
border-style: solid;
2022-07-28 00:48:24 +01:00
border-width: 2px;
2022-07-28 00:32:38 +01:00
}
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%;
}
2022-07-27 11:53:55 +01:00
.main-box > div, footer > p{
2022-07-26 22:13:09 +01:00
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-28 00:32:38 +01:00
@media (min-width: 560px){
2022-07-27 11:53:55 +01:00
.main-box > div, footer > p{
2022-07-26 22:13:09 +01:00
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;
}
}