2022-02-18 08:14:34 +01:00
|
|
|
.navbar {
|
2023-12-15 08:29:55 +01:00
|
|
|
min-height: 3.5rem;
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--navbar-color);
|
|
|
|
box-shadow: rgba(216, 222, 233, 0.15) 0px 5px 10px 0px;
|
2022-02-18 08:14:34 +01:00
|
|
|
color: rgba(0,0,0,.7);
|
|
|
|
position: fixed;
|
2024-01-13 18:30:45 +01:00
|
|
|
z-index: 1;
|
2022-02-18 08:14:34 +01:00
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-18 08:14:34 +01:00
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2023-12-15 08:29:55 +01:00
|
|
|
&.container {
|
|
|
|
max-width: 1330px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2022-02-18 08:14:34 +01:00
|
|
|
.navbar-brand {
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
min-height: 3.25rem;
|
|
|
|
|
|
|
|
.navbar-item {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2022-03-01 16:09:46 +01:00
|
|
|
|
|
|
|
img {
|
2022-03-02 16:50:25 +01:00
|
|
|
max-height: 32px;
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
word-break: break-word;
|
2022-03-01 16:09:46 +01:00
|
|
|
color: var(--font-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
font-size: 2rem;
|
|
|
|
line-height: 1.125;
|
|
|
|
margin-left: .5rem !important;
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-burger {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
|
|
|
appearance: none;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
height: 3.25rem;
|
|
|
|
position: relative;
|
|
|
|
width: 3.25rem;
|
|
|
|
margin-left: auto;
|
2022-08-29 07:40:14 +02:00
|
|
|
color: var(--font-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
background-color: currentColor;
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
left: calc(50% - 8px);
|
|
|
|
position: absolute;
|
|
|
|
transform-origin: center;
|
|
|
|
transition-duration: 86ms;
|
|
|
|
transition-property: background-color,opacity,transform;
|
|
|
|
transition-timing-function: ease-out;
|
|
|
|
width: 16px;
|
|
|
|
|
|
|
|
&:nth-child(1) {
|
|
|
|
top: calc(50% - 6px);
|
|
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
|
|
top: calc(50% - 1px);
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
top: calc(50% + 4px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
span {
|
|
|
|
&:nth-child(1) {
|
|
|
|
transform: translateY(5px) rotate(45deg);
|
|
|
|
}
|
|
|
|
&:nth-child(2) {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
&:nth-child(3) {
|
|
|
|
transform: translateY(-5px) rotate(-45deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-item {
|
|
|
|
line-height: 1.5;
|
2024-06-19 10:36:41 +02:00
|
|
|
padding: .5rem;
|
2022-02-18 08:14:34 +01:00
|
|
|
position: relative;
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
2022-03-01 16:09:46 +01:00
|
|
|
color: var(--font-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
display: block;
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-18 08:14:34 +01:00
|
|
|
|
|
|
|
&.has-dropdown {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
display: flex;
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
.navbar-dropdown {
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--default-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
border-bottom-right-radius: 6px;
|
2022-03-01 16:09:46 +01:00
|
|
|
border-top: 2px solid var(--default-hl-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
box-shadow: 0 8px 8px rgba(10,10,10,.1);
|
|
|
|
display: none;
|
|
|
|
font-size: .875rem;
|
2024-06-19 10:36:41 +02:00
|
|
|
min-width: 280px;
|
2022-02-18 08:14:34 +01:00
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2022-04-10 15:21:15 +02:00
|
|
|
background-color: var(--default-color);
|
|
|
|
|
2022-02-18 08:14:34 +01:00
|
|
|
.navbar-link {
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--default-hl-color);
|
2024-02-01 08:25:09 +01:00
|
|
|
color: var(--hover-font-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-link {
|
2022-03-01 16:09:46 +01:00
|
|
|
color: var(--font-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
display: block;
|
|
|
|
line-height: 1.5;
|
|
|
|
padding: .5rem .75rem;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-right: 2.5em;
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-18 08:14:34 +01:00
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-02-01 08:25:09 +01:00
|
|
|
|
|
|
|
&::after {
|
|
|
|
border: 3px solid transparent;
|
|
|
|
border-radius: 2px;
|
|
|
|
border-right: 0;
|
|
|
|
border-top: 0;
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
|
|
|
height: .625em;
|
|
|
|
pointer-events: none;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
transform-origin: center;
|
|
|
|
width: .625em;
|
|
|
|
border-color: var(--secondary-color);
|
|
|
|
margin-top: -0.375em;
|
|
|
|
right: 1.125em;
|
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
border-color: var(--font-color);
|
|
|
|
}
|
|
|
|
}
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
align-items: center;
|
|
|
|
display: inline-flex;
|
|
|
|
justify-content: center;
|
|
|
|
height: 1.5rem;
|
|
|
|
width: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-menu {
|
|
|
|
display: none;
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--default-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
box-shadow: 0 8px 16px rgba(10,10,10,.1);
|
|
|
|
padding: .5rem 0;
|
2022-03-01 16:09:46 +01:00
|
|
|
@include transition() {}
|
2022-02-18 08:14:34 +01:00
|
|
|
|
|
|
|
@include respond-to("medium") {
|
|
|
|
max-height: calc(100vh - 3.25rem);
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 0;
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
background-color: initial;
|
|
|
|
box-shadow: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include respond-to("medium-up") {
|
|
|
|
.navbar-start {
|
|
|
|
justify-content: flex-start;
|
|
|
|
margin-right: auto;
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.navbar-item {
|
|
|
|
color: rgba(0,0,0,.7);
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-end {
|
|
|
|
justify-content: flex-end;
|
|
|
|
margin-left: auto;
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.navbar-dropdown {
|
|
|
|
font-size: .875rem;
|
|
|
|
padding-bottom: .5rem;
|
|
|
|
padding-top: .5rem;
|
|
|
|
|
2022-04-10 15:21:15 +02:00
|
|
|
hr {
|
|
|
|
background-color: var(--font-color);
|
|
|
|
border: none;
|
|
|
|
height: 2px;
|
2024-02-01 08:25:09 +01:00
|
|
|
margin: .5rem 0 0 1.5rem;
|
2022-04-10 15:21:15 +02:00
|
|
|
}
|
|
|
|
|
2022-02-18 08:14:34 +01:00
|
|
|
@include respond-to("medium-up") {
|
2022-03-01 16:09:46 +01:00
|
|
|
background-color: var(--default-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
border-bottom-left-radius: 6px;
|
|
|
|
border-bottom-right-radius: 6px;
|
2022-03-01 16:09:46 +01:00
|
|
|
border-top: 2px solid var(--default-hl-color);
|
2022-02-18 08:14:34 +01:00
|
|
|
box-shadow: 0 8px 8px rgba(10,10,10,.1);
|
|
|
|
display: none;
|
|
|
|
font-size: .875rem;
|
2024-02-01 08:25:09 +01:00
|
|
|
right: 0;
|
2022-02-18 08:14:34 +01:00
|
|
|
min-width: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
|
2024-02-01 08:25:09 +01:00
|
|
|
hr {
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
}
|
|
|
|
|
2024-06-19 10:36:41 +02:00
|
|
|
// .navbar-item {
|
|
|
|
// white-space: nowrap;
|
|
|
|
// padding-block: .375rem;
|
|
|
|
// }
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
height: auto;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.buttons {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
2022-02-23 14:13:19 +01:00
|
|
|
.button {
|
|
|
|
margin-right: 0.75rem;
|
|
|
|
}
|
|
|
|
|
2022-02-18 08:14:34 +01:00
|
|
|
&:last-child {
|
|
|
|
margin-bottom: -0.5rem;
|
|
|
|
}
|
|
|
|
}
|
2022-03-01 16:09:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[data-theme="dark"] {
|
|
|
|
.navbar {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2024-06-19 10:36:41 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
ul {
|
|
|
|
padding-inline: 16px;
|
|
|
|
}
|
2022-02-18 08:14:34 +01:00
|
|
|
}
|