Datasets:
File size: 1,595 Bytes
32dba06 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | .nav-basic {
display: grid;
padding: var(--space-x-large) var(--space-medium);
place-items: center;
position: relative;
user-select: none;
-webkit-user-select: none;
}
.nav-basic__logo {
align-items: center;
display: flex;
font-size: var(--font-size-xx-small);
letter-spacing: var(--letter-spacing-loose);
line-height: var(--space-neutral);
white-space: pre;
}
.nav-basic__logo a {
color: inherit;
display: flex;
font-weight: 600;
gap: 0.2em;
text-decoration: none;
}
.nav-basic__logo a svg {
align-self: center;
height: 1.35em;
max-height: 100%;
overflow: visible;
pointer-events: none;
width: auto;
}
.nav-basic__logo a span {
font-weight: 600;
}
.nav-basic__link {
position: absolute;
right: var(--space-medium);
}
.nav-basic__link a {
background: var(--color-white);
border-radius: 0.25em;
box-shadow: var(--box-shadow);
color: var(--color-black);
display: flex;
font-size: var(--font-size-xxxx-small);
font-weight: inherit;
letter-spacing: var(--letter-spacing-loose);
line-height: 2.2em;
padding-left: 0.75em;
padding-right: 0.75em;
text-decoration: none;
white-space: nowrap;
}
@media(hover: hover) {
.nav-basic__link a {
transition: box-shadow var(--transition);
}
.nav-basic__link a:focus,
.nav-basic__link a:hover {
box-shadow: var(--box-shadow-strong);
text-decoration: none;
}
}
@media(min-width: 64em) {
.nav-basic {
padding-left: var(--space-neutral);
padding-right: var(--space-neutral);
}
.nav-basic__link {
right: var(--space-neutral);
}
}
|