mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
d51dfd35e8
* feat(responsive): add responsive breakpoints and mixin for media queries * refactor: print styles and add media query support * refactor(responsive): enhance responsive styles across various components
114 lines
1.9 KiB
SCSS
114 lines
1.9 KiB
SCSS
.post-footer {
|
|
margin: 2rem 0;
|
|
|
|
&~.post-reward {
|
|
margin-block: -2rem 0;
|
|
}
|
|
|
|
.post-info {
|
|
border-bottom: 1px solid fixit-var(global-border-color);
|
|
padding: 0.3rem 0;
|
|
|
|
.post-info-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.post-info-mod {
|
|
font-size: 0.8em;
|
|
color: fixit-var(secondary);
|
|
|
|
@include link(false, false);
|
|
}
|
|
|
|
.post-info-license {
|
|
font-size: 0.8em;
|
|
color: fixit-var(secondary);
|
|
|
|
@include link(false, false);
|
|
}
|
|
|
|
.post-info-md {
|
|
font-size: 0.8rem;
|
|
width: fit-content;
|
|
|
|
@include link(false, false);
|
|
|
|
>span:not(:first-child)::before {
|
|
content: '|';
|
|
margin-left: 0.25rem;
|
|
margin-right: 0.25rem;
|
|
color: fixit-var(secondary);
|
|
}
|
|
}
|
|
|
|
.post-info-share {
|
|
a * {
|
|
vertical-align: text-bottom;
|
|
}
|
|
|
|
@include media('print') {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-info-more {
|
|
padding: 0.3rem 0;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 0.9rem;
|
|
|
|
section:last-child {
|
|
@include media('print') {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.post-tags {
|
|
max-width: 65%;
|
|
|
|
* {
|
|
display: inline;
|
|
}
|
|
|
|
@include link(true, true);
|
|
|
|
.post-tag:not(:last-child)::after {
|
|
content: ',';
|
|
margin-right: 0.25rem;
|
|
}
|
|
}
|
|
|
|
.post-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
padding-block: 0.5rem;
|
|
|
|
.post-nav-item {
|
|
flex: 1;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease-out;
|
|
|
|
&[rel='next'] {
|
|
text-align: right;
|
|
}
|
|
|
|
&[rel='prev']:hover {
|
|
transform: translateX(-4px);
|
|
}
|
|
|
|
&[rel='next']:hover {
|
|
transform: translateX(4px);
|
|
}
|
|
}
|
|
|
|
@include media('print') {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|