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

38 lines
621 B
SCSS
Raw Normal View History

2022-10-16 22:15:34 +00:00
.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);
2022-10-17 14:46:58 +00:00
box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
2022-10-16 22:15:34 +00:00
&:focus {
padding: 1em;
border: none;
}
}
2022-10-17 14:46:58 +00:00
.previous, .next {
justify-content: space-between;
2022-10-16 22:15:34 +00:00
}
.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;
}
}
}