2024-01-09 16:13:20 +01:00
|
|
|
@media screen {
|
|
|
|
.hide-content {
|
|
|
|
display: block;
|
|
|
|
width: 0px;
|
|
|
|
height:0px;
|
|
|
|
margin: 0;
|
|
|
|
padding:0;
|
|
|
|
overflow:hidden;
|
|
|
|
}
|
|
|
|
.custom-logo {
|
|
|
|
min-width: 11rem;
|
|
|
|
margin: 1rem;
|
|
|
|
}
|
|
|
|
.main-navigation,.secondary-navigation {
|
|
|
|
ul {
|
|
|
|
display: none;
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
|
2024-01-14 20:13:11 +01:00
|
|
|
ul.sub-menu {
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
&:hover > a,
|
|
|
|
&.focus > a {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 100%;
|
|
|
|
text-decoration: none;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-03-12 14:20:42 +01:00
|
|
|
.main-navigation {
|
|
|
|
&.toggled {
|
|
|
|
ul {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.main-navigation-content {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
padding: 4rem;
|
|
|
|
background-color: rgba(255,255,255,0.95);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
.menu-toggle {
|
|
|
|
position: relative;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
.current-menu-ancestor > a::after {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.current-menu-item > a::after {
|
|
|
|
display: inline-block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 2em;
|
|
|
|
height: 2px;
|
|
|
|
width: 100%;
|
|
|
|
background-color: $color__black;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
.secondary-navigation {
|
2024-01-14 20:13:11 +01:00
|
|
|
padding: 0 1em 1em 0;
|
2024-01-09 16:13:20 +01:00
|
|
|
ul {
|
|
|
|
display: inline-block;
|
|
|
|
li {
|
|
|
|
padding: 0.5em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
2024-01-14 20:13:11 +01:00
|
|
|
text-transform: uppercase;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.menu-item-has-children {
|
|
|
|
}
|
|
|
|
|
|
|
|
/* begin of menu-hidden */
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-secondary-navigation .show-mobile{
|
2024-01-09 16:13:20 +01:00
|
|
|
display:inherit;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle,
|
|
|
|
.toggled-menu {
|
2024-01-09 16:13:20 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle:checked+.toggled-menu{
|
2024-01-09 16:13:20 +01:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
left:0;
|
|
|
|
top:0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100vh;
|
|
|
|
margin-top: 0;
|
2024-01-14 20:13:11 +01:00
|
|
|
padding: 0 2rem;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-show {
|
2024-01-09 16:13:20 +01:00
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 1.8em;
|
|
|
|
height: 1.4em;
|
|
|
|
margin-right: 0.3em;
|
2024-01-14 20:13:11 +01:00
|
|
|
border-top: 0.3em solid $color__black;
|
|
|
|
border-bottom: 0.3em solid $color__black;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-show::before {
|
2024-01-09 16:13:20 +01:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 0.3em;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2024-01-14 20:13:11 +01:00
|
|
|
border-top: 0.3em solid $color__black;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-hide {
|
2024-01-09 16:13:20 +01:00
|
|
|
display: flex;
|
2024-01-14 20:13:11 +01:00
|
|
|
justify-content: end;
|
|
|
|
margin-right: -0.5em;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-hide::after{
|
2024-01-09 16:13:20 +01:00
|
|
|
content: "x";
|
|
|
|
padding: 0;
|
|
|
|
font-size: 3rem;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
/* end of menu hidden*/
|
|
|
|
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
|
|
|
@media screen and (max-width: 47.99em) {
|
|
|
|
.site-branding {
|
|
|
|
}
|
|
|
|
.main-navigation-content {
|
|
|
|
li {
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.secondary-navigation-content {
|
|
|
|
padding: 4rem 2rem;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 48em) {
|
|
|
|
.site-branding {
|
|
|
|
}
|
|
|
|
.custom-logo {
|
|
|
|
min-width: 11rem;
|
|
|
|
margin: 1rem 1rem 1rem 0;
|
|
|
|
}
|
|
|
|
.menu-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-navigation,.secondary-navigation {
|
|
|
|
ul {
|
|
|
|
display: flex;
|
2024-03-14 13:35:44 +01:00
|
|
|
flex-flow: row;
|
2024-03-12 14:20:42 +01:00
|
|
|
.menu-item-has-children > ul {
|
|
|
|
background-color: rgba(255,255,255,0.95);
|
|
|
|
}
|
|
|
|
.sub-menu {
|
2024-01-14 20:13:11 +01:00
|
|
|
float: left;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
left: -999em;
|
|
|
|
z-index: 99999;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
left: -999em;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
|
|
|
&:hover > ul,
|
|
|
|
&.focus > ul {
|
|
|
|
display: block;
|
|
|
|
left: 4em;
|
|
|
|
top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:hover > a,
|
|
|
|
.focus > a {
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover,
|
|
|
|
a.focus {
|
|
|
|
}
|
|
|
|
}
|
2024-03-12 14:20:42 +01:00
|
|
|
li {
|
2024-03-14 13:35:44 +01:00
|
|
|
padding: 0 1em;
|
|
|
|
order: 2;
|
|
|
|
&:hover > ul,
|
|
|
|
&.focus > ul {
|
2024-03-12 14:20:42 +01:00
|
|
|
left: auto;
|
|
|
|
}
|
2024-03-14 13:35:44 +01:00
|
|
|
&.lang-item {
|
|
|
|
order: 1;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.main-navigation {
|
|
|
|
padding-bottom: 1em;
|
|
|
|
ul {
|
|
|
|
justify-content: end;
|
2024-01-14 20:13:11 +01:00
|
|
|
ul.sub-menu {
|
|
|
|
flex-direction: column;
|
2024-03-12 14:20:42 +01:00
|
|
|
padding: 0.5rem;
|
2024-01-14 20:13:11 +01:00
|
|
|
li {
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-03-12 14:20:42 +01:00
|
|
|
.current-menu-ancestor > a::after,
|
|
|
|
.current-menu-item > a::after {
|
2024-01-14 20:13:11 +01:00
|
|
|
display: inline-block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
2024-03-12 14:20:42 +01:00
|
|
|
left: 1em;
|
|
|
|
bottom: -0.5em;
|
2024-01-14 20:13:11 +01:00
|
|
|
min-height: 2px;
|
2024-03-12 14:20:42 +01:00
|
|
|
height: 2px;
|
|
|
|
width: calc(100% - 2em);
|
|
|
|
background-color: $color__black;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.menu-item-has-children {
|
|
|
|
ul {
|
|
|
|
}
|
|
|
|
}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.secondary-navigation {
|
|
|
|
padding: 1.5em 0;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.menu-item-has-children {
|
2024-02-20 23:13:06 +01:00
|
|
|
padding-right: 0.5em;
|
2024-01-14 20:13:11 +01:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
top: 40%;
|
|
|
|
right: 0.3em;
|
|
|
|
width: 0.3em;
|
|
|
|
height: 0.3em;
|
|
|
|
border: 1px solid $color__black;
|
|
|
|
border-top: none;
|
|
|
|
border-left: none;
|
|
|
|
-moz-transform: rotate(45deg);
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
&:hover {
|
|
|
|
&::after {
|
|
|
|
//border-color: $color__grey-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/*
|
|
|
|
* css menu toggler
|
|
|
|
* */
|
|
|
|
.toggle-secondary-navigation .show-mobile,
|
|
|
|
.toggle-secondary-navigation .hide-not-mobile{
|
2024-01-09 16:13:20 +01:00
|
|
|
display: none;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggled-menu {
|
2024-01-09 16:13:20 +01:00
|
|
|
display: inherit;
|
|
|
|
}
|
2024-01-14 20:13:11 +01:00
|
|
|
/* end css menu toggler
|
2024-01-09 16:13:20 +01:00
|
|
|
* */
|
|
|
|
}
|
|
|
|
|
|
|
|
.comment-navigation,
|
|
|
|
.posts-navigation,
|
|
|
|
.post-navigation {
|
|
|
|
|
|
|
|
.site-main & {
|
|
|
|
margin: 0 0 1.5em;
|
2024-01-14 20:13:11 +01:00
|
|
|
align-self: end;
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.nav-links {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-previous {
|
|
|
|
flex: 1 0 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-next {
|
2024-01-14 20:13:11 +01:00
|
|
|
//text-align: end;
|
2024-01-09 16:13:20 +01:00
|
|
|
flex: 1 0 50%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 80em) {
|
|
|
|
.main-navigation,.secondary-navigation {
|
2024-01-14 20:13:11 +01:00
|
|
|
.toggle-sidebar-segona .show-mobile,
|
|
|
|
.toggle-sidebar-segona .hide-not-mobile{
|
2024-01-09 16:13:20 +01:00
|
|
|
display:none;
|
|
|
|
}
|
|
|
|
|
2024-03-12 14:20:42 +01:00
|
|
|
//a {
|
|
|
|
// padding: 0 1rem;
|
|
|
|
//}
|
2024-01-09 16:13:20 +01:00
|
|
|
}
|
|
|
|
.main-navigation {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|