mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
106 lines
1.6 KiB
CSS
106 lines
1.6 KiB
CSS
.menu {
|
|
width: 100%;
|
|
}
|
|
|
|
.menu > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-top: calc(var(--spacer) / 2);
|
|
padding-bottom: calc(var(--spacer) / 2);
|
|
}
|
|
|
|
.logoUnit {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logoUnit svg {
|
|
fill: var(--color-primary);
|
|
width: 4rem;
|
|
height: 4rem;
|
|
margin-left: -0.5rem;
|
|
}
|
|
|
|
.logoUnit path {
|
|
fill: var(--brand-black);
|
|
}
|
|
|
|
.logoUnit:hover path {
|
|
fill: var(--brand-pink);
|
|
}
|
|
|
|
.title {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (min-width: 40rem) {
|
|
.title {
|
|
margin: 0;
|
|
display: block;
|
|
color: var(--color-secondary);
|
|
font-size: var(--font-size-base);
|
|
}
|
|
|
|
.logoUnit svg {
|
|
margin-top: -0.4rem;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 60rem) {
|
|
.title {
|
|
font-size: var(--font-size-large);
|
|
}
|
|
}
|
|
|
|
.navigation {
|
|
white-space: nowrap;
|
|
overflow-y: hidden;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.navigation::-webkit-scrollbar,
|
|
.navigation::-moz-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.navigation li {
|
|
display: inline-block;
|
|
}
|
|
|
|
.navigation button,
|
|
.link {
|
|
display: block;
|
|
padding: calc(var(--spacer) / 2);
|
|
margin-left: var(--spacer);
|
|
text-transform: uppercase;
|
|
color: var(--brand-grey);
|
|
font-weight: var(--font-weight-bold);
|
|
font-size: var(--font-size-small);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.navigation button {
|
|
text-transform: none;
|
|
padding-top: calc(var(--spacer) / 4);
|
|
padding-bottom: calc(var(--spacer) / 4);
|
|
}
|
|
|
|
.link:hover,
|
|
.link:focus,
|
|
.link:active {
|
|
color: var(--brand-pink);
|
|
}
|
|
|
|
.link[aria-current],
|
|
.link[aria-current]:hover,
|
|
.link[aria-current]:focus {
|
|
color: var(--brand-pink);
|
|
}
|
|
|
|
.link:last-child {
|
|
padding-right: 0;
|
|
}
|