template/slt1/css/desktop.css

128 lines
1.6 KiB
CSS

#topmenu a {
color: inherit;
}
#topmenu {
background-color: black;
color: white;
font-weight: bold;
text-align: center;
position: fixed;
width: 100vw;
display: block;
}
#topmenu > .nav {
display: flex;
flex-flow: row nowrap;
justify-content: space-around;
padding: 0px;
margin: 0px;
position: relative;
align-items: center;
height: 40px;
}
#topmenu > .nav > li {
padding: 10px;
display: inline-block;
text-align: left;
}
#topmenu > .nav > li:hover {
background-color: white;
color: black;
}
#topmenu > .nav > li > .nav-child {
position: absolute;
display: none;
z-index: 10;
background-color: white;
margin: 10px 20px 10px 0px;
border: none;
padding: 0px;
}
#topmenu > .nav > li:hover > .nav-child {
display: block;
box-shadow: 3px 5px 5px 2px rgba(0,0,0,0.5);
}
#topmenu > .nav > li > .nav-child > li {
display: block;
padding: 10px;
}
#topmenu > .nav > li > .nav-child > li:hover {
background-color: gray;
}
#page {
padding-top: 35px;
}
/*
* Header line positioning
*/
#slideshow {
display: inline-block;
}
/*
* Content positioning
*/
#content {
display: flex;
}
#left_menu {
flex: 1 1 20%;
margin: 15px 0px 15px 5px;
display: block;
}
#main_column {
flex: 1 1 60%;
display: flex;
flex-flow: column nowrap;
}
#main_content{
flex: 1 1 100%;
}
#footline {
flex: none;
}
#right_column {
flex: 1 1 15%;
margin: 15px 5px 15px 0px;
display: block;
}
/*
* Footer positioning
*/
#mobile_menu {
display: none;
}
/*
* Debug
*/
/*#right_column,#left_menu,#main_content,#footline {
background-color: rgba(0,0,0,0.1);
}*/