story indent pct for phones

This commit is contained in:
Massimo Scagliola 2024-03-27 11:40:46 +01:00
parent 87465bebfd
commit 93370bb150
2 changed files with 11 additions and 2 deletions

View File

@ -1 +1 @@
<p style="margin-top:0; margin-bottom: 0; text-indent: 5%;">{{ with .Get 0 }}{{.|markdownify}}{{end}}</p>
<p class="story-p-indent">{{ with .Get 0 }}{{.|markdownify}}{{end}}</p>

View File

@ -210,7 +210,16 @@
.story {
font-size: 1.5rem;
@media #{$media-size-phone} {
font-size: 1.4rem;
font-size: 1.35rem;
}
}
.story-p-indent {
margin-top:0;
margin-bottom: 0;
text-indent: 5%;
@media #{$media-size-phone} {
text-indent: 10%;
}
}