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 {
|
||||
-webkit-line-clamp: unset;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.post-entry {
|
||||
@@ -71,6 +72,11 @@
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.home-info .entry-content p {
|
||||
margin-block-start: 1em;
|
||||
margin-block-end: 1em;
|
||||
}
|
||||
|
||||
.entry-footer {
|
||||
color: var(--secondary);
|
||||
font-size: 13px;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<header class="entry-header">
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<div class="entry-content md-content">
|
||||
{{ .Content | markdownify }}
|
||||
</div>
|
||||
<footer class="entry-footer">
|
||||
|
||||
Reference in New Issue
Block a user