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

49 lines
867 B
SCSS
Raw Permalink Normal View History

2022-12-18 14:10:54 +00:00
@import "common/mixins.scss";
2022-10-16 22:15:34 +00:00
.section-nav {
2022-12-19 15:10:26 +00:00
.buttons {
2022-10-16 22:15:34 +00:00
display: grid;
grid-gap: 1em;
}
a {
border-radius: 0.25rem;
display: flex;
padding: 1em;
gap: 1em;
text-decoration: none;
background: var(--ui-overlay);
2022-12-18 14:10:54 +00:00
transition:
background var(--color-crossfade-duration) var(--color-crossfade-ease),
color var(--color-crossfade-duration) var(--color-crossfade-ease);
@include shadow-short;
2022-10-16 22:15:34 +00:00
&:focus {
padding: 1em;
border: none;
}
}
2022-12-18 14:10:54 +00:00
a:link, a:visited {
color: var(--ui-overlay-text);
}
2022-10-18 01:09:26 +00:00
.previous {
justify-content: start;
}
.next {
2022-10-17 14:46:58 +00:00
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) {
2022-12-19 15:10:26 +00:00
.buttons {
2022-10-16 22:15:34 +00:00
grid-template-columns: 1fr 1fr;
}
.next {
grid-column: 2;
}
}
2022-12-23 11:21:41 +00:00
margin-block-end: 2em;
2022-10-16 22:15:34 +00:00
}