hugo-theme-paradox/assets/styles/components/nav-section.scss

38 lines
621 B
SCSS

.section-nav {
.container {
display: grid;
grid-gap: 1em;
}
a {
border-radius: 0.25rem;
display: flex;
padding: 1em;
gap: 1em;
text-decoration: none;
background: var(--ui-overlay);
color: var(--ui-overlay-text);
box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
&:focus {
padding: 1em;
border: none;
}
}
.previous, .next {
justify-content: space-between;
}
.arrow {
text-decoration: none;
color: inherit;
display: grid;
place-items: center;
font-size: 2em;
}
@media (min-width: 30rem) {
.container {
grid-template-columns: 1fr 1fr;
}
.next {
grid-column: 2;
}
}
}