template/slt/css/mobile.css

262 lines
2.9 KiB
CSS

body {
margin: 0px;
min-height: 100.1vh;
display: flex;
flex-direction: column;
align-items: center;
/* padding: 0px 20px 10px 20px;*/
padding: 0px;
}
#page-div
{
width: 100%;
}
#page {
/*box-shadow: 30vw 0px 5vw -10vw green inset;*/
flex: 1 0 auto;
display: flex;
flex-direction: column;
width: 100%;
min-height: 100vh;
}
#page-bg
{
display: none;
}
/*
* Menu configuration
*/
.nav,
.nav-child
{
padding: 0px;
}
.nav > li,
.nav-child > li
{
display: block;
}
.nav
{
font-size: inherit;
}
.nav-child
{
font-size: small;
}
.nav > li > .nav-child, .nav-child > li > .nav-child {
padding-left: 5px;
margin-left: 5px;
/* border-left: solid gray 1px;*/ /*TODO*/
}
/*
* Topmenu positioning and styling
*/
#topmenu {
display: none;
}
/*
* Header line positioning
*/
#header {
flex: 0 0 auto;
display: flex;
flex-flow: row nowrap;
justify-content: space-between;
}
#header > div {
margin: 20px;
align-items: center;
}
#slideshow {
flex: 1;
}
#slideshow {
display: none;
}
/*
* Content positioning
*/
#content {
flex: 1 0 auto;
}
#left_menu {
display: none;
}
#main_column {
margin: 15px;
}
#right_column {
display: none;
}
#footline {
margin-top: 10px;
}
/*
* Footer positioning
*/
#impressum
{
flex: 0 0 auto;
text-align: right;
margin-top: 30px;
padding: 5px;
}
#impressum .nav
{
margin-bottom: 0px;
background-color: inherit;
display: inline-block;
}
#impressum .nav > li
{
display: inline-block;
}
#impressum a
{
text-decoration: underline;
padding: 10px;
}
#footer {
flex: 0 0 auto;
background-color: black;
color: white;
text-align: center;
padding: 5px;
}
#footer > .customimpressum {
float: left;
}
#footer > .customdatenschutz {
float: right;
}
#footer a
{
color: inherit;
text-decoration: underline;
}
#footer a:hover,
#footer a:focus
{
color: black;
background-color: white;
text-decoration: underline;
}
/*
* Mobile menu positioning
*/
#mobile_menu, #content {
margin: 0px 15px 0px 15px;
}
#mobile_menu {
margin-top: 10px;
display: none;
}
#mobile_menu.visible
{
display: block;
}
#mobile_menu li > a {
margin: 5px 0px 5px 0px;
padding: 2px 5px;
display: block;
flex: 0;
}
#mobile_menu .nav {
padding: 0px;
border: none;
margin-left: 0px;
}
#mobile_menu li {
margin-left: 5px;
margin-right: 5px;
}
#mobile_menu .nav-child > li {
margin: 0px;
}
#mobile_menu li > ul.nav {
margin-left: -5px;
margin-right: -5px;
}
#mobile_menu li ul {
border: none;
}
#mobile_menu a {
font-size: initial;
margin-right: 0px;
padding-right: 0px;
}
#mobile_menu_switch
{
flex: 0 0 auto;
text-align: right;
}
#btn_mobile_menu
{
padding: 10px 30px 0px 0px;
width: 40px;
box-sizing: initial;
}
a.facebook img
{
display: none;
}
/*
* Debug
*/
/*#right_column,#left_menu,#main_content,#footline {
background-color: rgba(0,0,0,0.1);
}*/