mirror of
https://github.com/GenderDysphoria/GenderDysphoria.fyi.git
synced 2025-11-25 12:32:42 +00:00
* Implement toggle button * Dark mode mixins * Dark mode color design * Disable dark mode for prints * Initial dark mode design * Fix light mode mixin * Disable dark mode on print style * Move dark mode color scheme below the default style to allow referencing * Fix dropdown * Fix device-based dark mode * Dark mode index page design * Responsive auxiliary nav with dark mode toggle * Remove box shadow when on smaller displays * Prevent default on toggle click * Move attribution/licensing to README.md * Fix header padding on index page * Background color transition animation * Remove margin on index when on mobile displays * Remove neon border when on mobile * Fix post-header margin on mobile * Lighten card headers in dark mode
57 lines
806 B
SCSS
57 lines
806 B
SCSS
|
|
.pager {
|
|
|
|
position: sticky;
|
|
bottom: 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 1em 0;
|
|
margin-top: -1em;
|
|
|
|
&.top {
|
|
margin: 0 0 1em;
|
|
}
|
|
|
|
> div {
|
|
display: flex;
|
|
flex-basis: 23%;
|
|
}
|
|
|
|
.btn {
|
|
font-size: 0.9em;
|
|
box-shadow: 0px 1px 5px rgba(#000, 0.5);
|
|
color: white;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
// min-width: 75%;
|
|
display: flex;
|
|
height: 36px;
|
|
max-width: calc(50vw - 10px);
|
|
|
|
.caption {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@include dark-mode {
|
|
&:hover {
|
|
color: white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn.left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.btn.right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
span.svg-icon {
|
|
margin-top: 1px;
|
|
flex: 0 0 20px;
|
|
}
|
|
}
|