selfprivacy.org/_vendor/github.com/google/docsy/assets/scss/rtl/_main.scss

56 lines
1.4 KiB
SCSS
Raw Normal View History

2024-04-21 23:04:16 +00:00
body:lang(fa),
body:lang(ar),
body:lang(az),
body:lang(dv),
body:lang(he),
body:lang(ku),
body:lang(ur) {
2024-04-25 22:15:39 +00:00
@import "spacing";
2024-04-21 23:04:16 +00:00
2024-04-25 22:15:39 +00:00
direction: rtl;
text-align: right;
2024-04-21 23:04:16 +00:00
2024-04-25 22:15:39 +00:00
.dropdown-menu {
2024-04-21 23:04:16 +00:00
text-align: right;
2024-04-25 22:15:39 +00:00
}
2024-04-21 23:04:16 +00:00
2024-04-25 22:15:39 +00:00
.text-right {
text-align: left !important;
}
2024-04-21 23:04:16 +00:00
2024-04-25 22:15:39 +00:00
pre {
text-align: left;
direction: ltr;
}
2024-04-21 23:04:16 +00:00
2024-04-25 22:15:39 +00:00
.td-rss-button {
left: 1rem !important;
right: auto !important;
}
2024-04-21 23:04:16 +00:00
}
body:lang(fa) {
2024-04-25 22:15:39 +00:00
@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v27.0.1/dist/font-face.css");
font-family: "Vazir", "Open Sans", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
2024-04-21 23:04:16 +00:00
}
body:lang(he) {
2024-04-25 22:15:39 +00:00
@if $td-enable-google-fonts {
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap");
}
font-family: "Rubik", "Open Sans", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
2024-04-21 23:04:16 +00:00
}
body:lang(ar) {
2024-04-25 22:15:39 +00:00
@if $td-enable-google-fonts {
@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700&display=swap");
}
font-family: "Tajawal", "Open Sans", -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji",
"Segoe UI Emoji", "Segoe UI Symbol";
2024-04-21 23:04:16 +00:00
}