147 lines
No EOL
2.2 KiB
CSS
147 lines
No EOL
2.2 KiB
CSS
|
|
|
|
|
|
.menu_bar {
|
|
display:none;
|
|
text-align :right ;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
header a:visited {
|
|
color: #414042;
|
|
}
|
|
|
|
header a:hover {
|
|
color: #0055aa;
|
|
}
|
|
|
|
header nav {
|
|
background:#E6E7E8;
|
|
|
|
|
|
|
|
}
|
|
|
|
header nav ul {
|
|
list-style:none;
|
|
padding:0;
|
|
margin:0;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
header ul + li {
|
|
margin-top: 0px;
|
|
}
|
|
|
|
|
|
|
|
header ul {
|
|
margin-top: 0px;
|
|
margin-bottom: 0px;
|
|
|
|
}
|
|
header nav ul li {
|
|
display:inline-block;
|
|
position: relative;
|
|
font-family: Arial, sans-serif;
|
|
font-size: 11pt;
|
|
font-weight :bold;
|
|
}
|
|
|
|
header nav ul li:hover {
|
|
color:red;
|
|
}
|
|
|
|
header nav ul li a {
|
|
color:#414042;
|
|
display:block;
|
|
text-decoration:none;
|
|
padding: 20px;
|
|
|
|
|
|
}
|
|
header nav ul li a:hover {
|
|
color:#0055aa;
|
|
}
|
|
header nav ul li a span {
|
|
margin-right:0px;
|
|
}
|
|
|
|
header nav ul li:hover .children {
|
|
display:block;
|
|
}
|
|
|
|
header nav ul li .children {
|
|
display: none;
|
|
background:#E6E7E8;
|
|
position: absolute;
|
|
width: 100%;
|
|
z-index:1000;
|
|
}
|
|
|
|
header nav ul li .children li {
|
|
display:block;
|
|
overflow: hidden;
|
|
border-bottom: 1px solid rgba(255,255,255,.5);
|
|
}
|
|
|
|
header nav ul li .children li a {
|
|
display: block;
|
|
}
|
|
|
|
header nav ul li .children li a span {
|
|
float: right;
|
|
position: relative;
|
|
top:3px;
|
|
margin-right:0;
|
|
margin-left:0px;
|
|
}
|
|
|
|
header nav ul li .caret {
|
|
position: relative;
|
|
top:3px;
|
|
margin-left:0px;
|
|
margin-right:0px;
|
|
}
|
|
.show-menu {
|
|
font-family: Arial, sans-serif;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
background: #0055aa;
|
|
text-align: center;
|
|
padding: 10px 0;
|
|
display: none;
|
|
}
|
|
|
|
input[type=checkbox]{
|
|
display: none;
|
|
}
|
|
input[type=checkbox]:checked ~ #menuprincipal{
|
|
display: block;
|
|
}
|
|
@media screen and (max-width: 800px) {
|
|
nav ul {
|
|
position: static;
|
|
display: none;
|
|
margin :0 50px 0 0;
|
|
align-items :center ;
|
|
}
|
|
/*Create vertical spacing*/
|
|
nav li {
|
|
margin-bottom: 1px;
|
|
padding: 0 0 0 0;
|
|
}
|
|
/*Make all menu links full width*/
|
|
nav ul li, li a {
|
|
width: 100%;
|
|
text-align: left;
|
|
}
|
|
.show-menu {
|
|
display:block;
|
|
}
|
|
} |