-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use no_justify shortcode to avoid justifying problematic text
- Loading branch information
Showing
4 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
.post-content p { | ||
text-align: justify; | ||
text-justify: inter-word; | ||
word-spacing: -0.0625em; | ||
} | ||
|
||
@media (max-width: 600px) { | ||
.post-content p { | ||
hyphens: auto; | ||
} | ||
} | ||
|
||
.no-justify { | ||
text-align: initial; | ||
text-justify: none; | ||
hyphens: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,5 +18,7 @@ pistolskytter. | |
Vi har bestemt at det er 16 års aldersgrense for å ta introduksjonskurset og for å delta på | ||
skytetrening hos Lillehammer pistolklubb. | ||
|
||
{{< no_justify >}} | ||
Kursene avholdes ved behov, så send oss en e-post på | ||
[[email protected]](mailto:[email protected]). | ||
{{< /no_justify >}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,10 @@ date: 2024-02-02 | |
--- | ||
Vi kaller inn til årsmøte 14. mars i kaféen på skytebanen i Fåberg. | ||
|
||
{{< no_justify >}} | ||
Send gjerne inn saker du ønsker tas opp på årsmøtet til | ||
[[email protected]](mailto:[email protected]). Frist for dette er 29. | ||
februar. | ||
{{< /no_justify >}} | ||
|
||
Mer informasjon kommer snart. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<span class="no-justify">{{.Inner | markdownify}}</span> |