mirror of
https://github.com/yrzam/yrzam-hugo-theme.git
synced 2025-07-11 19:25:13 +00:00
styles
This commit is contained in:
parent
f2b9fcb884
commit
702211b68a
@ -29,6 +29,7 @@ html {
|
|||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
scrollbar-color: $color-fg-accent-op-m transparent;
|
scrollbar-color: $color-fg-accent-op-m transparent;
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
|
color-scheme: only dark;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -127,7 +128,7 @@ article {
|
|||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: 30rem;
|
max-height: 25rem;
|
||||||
border: 1px solid $color-bg-accent-light;
|
border: 1px solid $color-bg-accent-light;
|
||||||
}
|
}
|
||||||
figcaption {
|
figcaption {
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.main-container {
|
.main-container {
|
||||||
margin: $margin-base-y * 2 $margin-base-x $margin-base-y $margin-base-x;
|
margin: $margin-base-y * 2 $margin-base-x;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
<div class="pub-date">
|
<div class="pub-date">
|
||||||
mtime={{ .Lastmod.Format .Site.Params.dateFormat }}
|
mtime={{ .Lastmod.Format .Site.Params.dateFormat }}
|
||||||
archived={{ default false .Params.archived }}
|
archived={{ default false .Params.archived }}
|
||||||
|
words={{ .WordCount }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user