mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-28 13:44:13 -04:00
Add RTL support for multilingual mode (#47)
Usage: in site config: languages: ar: languagedirection: rtl title: مدونتي weight: 2 * ref: https://gohugo.io/content-management/multilingual/#configure-languages
This commit is contained in:
parent
a41f09bb99
commit
a153a7cc6f
5 changed files with 34 additions and 22 deletions
|
@ -36,7 +36,7 @@
|
|||
}
|
||||
|
||||
.pagination .next {
|
||||
margin-left: auto;
|
||||
margin-inline-start: auto;
|
||||
}
|
||||
|
||||
.social-icons {
|
||||
|
@ -44,10 +44,22 @@
|
|||
}
|
||||
|
||||
.social-icons a:not(:last-of-type) {
|
||||
margin-right: 12px;
|
||||
margin-inline-end: 12px;
|
||||
}
|
||||
|
||||
.social-icons a svg {
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
}
|
||||
}
|
||||
|
||||
.direction-rtl {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
.direction-ltr {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
code {
|
||||
direction: ltr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue