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;
|
||||
scrollbar-color: $color-fg-accent-op-m transparent;
|
||||
line-height: 1.3;
|
||||
color-scheme: only dark;
|
||||
}
|
||||
body {
|
||||
height: 100%;
|
||||
@ -127,7 +128,7 @@ article {
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-height: 30rem;
|
||||
max-height: 25rem;
|
||||
border: 1px solid $color-bg-accent-light;
|
||||
}
|
||||
figcaption {
|
||||
|
@ -110,7 +110,7 @@
|
||||
}
|
||||
}
|
||||
.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">
|
||||
mtime={{ .Lastmod.Format .Site.Params.dateFormat }}
|
||||
archived={{ default false .Params.archived }}
|
||||
words={{ .WordCount }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user