mirror of
https://github.com/trwnh/hugo-theme-paradox.git
synced 2024-11-24 10:21:21 +00:00
41 lines
652 B
SCSS
41 lines
652 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 {
|
|
justify-content: start;
|
|
}
|
|
.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;
|
|
}
|
|
}
|
|
} |