mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-05-21 11:05:49 +00:00
Update home_info layout to use md-content class for entry content; adjust styles for improved consistency
This commit is contained in:
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
.home-info .entry-content {
|
.home-info .entry-content {
|
||||||
-webkit-line-clamp: unset;
|
-webkit-line-clamp: unset;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-entry {
|
.post-entry {
|
||||||
@@ -71,6 +72,11 @@
|
|||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-info .entry-content p {
|
||||||
|
margin-block-start: 1em;
|
||||||
|
margin-block-end: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
.entry-footer {
|
.entry-footer {
|
||||||
color: var(--secondary);
|
color: var(--secondary);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<header class="entry-header">
|
<header class="entry-header">
|
||||||
<h1>{{ .Title | markdownify }}</h1>
|
<h1>{{ .Title | markdownify }}</h1>
|
||||||
</header>
|
</header>
|
||||||
<div class="entry-content">
|
<div class="entry-content md-content">
|
||||||
{{ .Content | markdownify }}
|
{{ .Content | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
<footer class="entry-footer">
|
<footer class="entry-footer">
|
||||||
|
|||||||
Reference in New Issue
Block a user