mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
47247e01c5
- Restructure pages/ directory: shared/, posts/, specials/ modules - Add per-layout entry points (home, posts, archives, search, friends, link) - Include 404 and offline styles in main bundle - Consolidate scss-vars.html with Internal and Appearance categories - Simplify _variables.scss with @forward "hugo:vars" - Extract CSS loading logic to base/head/css.html - Update [params.appearance] with all configurable values
117 lines
2.0 KiB
SCSS
117 lines
2.0 KiB
SCSS
@use "core/functions" as *;
|
|
@use "core/mixins" as *;
|
|
|
|
.single .post-footer {
|
|
margin: 2rem 0;
|
|
|
|
&~.post-reward {
|
|
margin-block: -2rem 0;
|
|
}
|
|
|
|
.post-info {
|
|
border-bottom: 1px solid fi-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: fi-var(global-font-secondary-color);
|
|
|
|
@include link(false, false);
|
|
}
|
|
|
|
.post-info-license {
|
|
font-size: 0.8em;
|
|
color: fi-var(global-font-secondary-color);
|
|
|
|
@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: fi-var(global-font-secondary-color);
|
|
}
|
|
}
|
|
|
|
.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 {
|
|
translate: -4px 0;
|
|
}
|
|
|
|
&[rel='next']:hover {
|
|
translate: 4px 0;
|
|
}
|
|
}
|
|
|
|
@include media('print') {
|
|
display: none !important;
|
|
}
|
|
}
|
|
}
|