Files
nhgooi.nl/public/css/style.css.old
Jorit Tijsen 55aa88c0f6 Test version
2024-03-05 17:22:55 +01:00

92 lines
1.8 KiB
CSS

.site_container {
max-width: 1440px;
margin: 0 auto;
}
.header {
height: 110px;
}
.header .logo {
margin-left: 135px;
}
.header .logo img {
height: 75px;
}
.menu_container {
height: 75px;
margin-bottom: 20px;
background-image: linear-gradient(to right, #0102b0, #4090e3);
}
.top_menu_container {
height: 50px;
}
.menu_container .menu {
list-style-type: none;
padding: 0;
margin: 0;
overflow: hidden;
position: relative;
z-index: 0;
}
.menu_container .menu li {
float: left;
}
.menu_container .menu li ul {
display: none;
}
.menu_container .menu li a {
display: block;
text-align: center;
padding: 5px 20px 5px 40px;
text-decoration: none;
font-size: 14px;
font-weight: bold;
background: white;
}
.menu_container .menu li.selected a,.menu_container .menu li:hover a {
color: white;
background: transparent;
position: relative;
}
.menu_container .menu li.selected a:before, .menu_container .menu li:hover a:before {
content: '';
display: block;
width: 33px;
height: 25px;
background-image: URL('/images/menu-corner-1.svg');
position: absolute;
top: 0;
left: 0;
z-index: 1;
}
.menu_container .menu li.selected a:after, .menu_container .menu li:hover a:after {
content: '';
display: block;
width: 10px;
height: 12px;
background-image: URL('/images/menu-corner-2.svg');
position: absolute;
bottom: 0;
right: -1px;
z-index: 1;
}
.menu_container .menu li:first-child {
width: 135px;
display: block;
background: white;
height: 25px;
}
div ul li:last-child {
margin-left: 10px;
}
div ul li:last-child:after {
content: '\a0';
z-index: -1;
background: white;
position: absolute;
top: 0;
width: 100%;
height: 100%;
margin-left: -10px;
}