Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2016-09-11 19:08:09 +0300
committerEbrahim Byagowi <ebrahim@gnu.org>2016-10-16 17:17:48 +0300
commit7e3ff1852340c33f5b8853190d6a24813d5920a2 (patch)
tree8bd56b5bbe2524599b8282303455954669d4f795 /app/assets/stylesheets/framework/typography.scss
parent94c9dc514c54badbefb5e4e45bcf3650c0d0b83d (diff)
Add RTL support to markdown renderer
Diffstat (limited to 'app/assets/stylesheets/framework/typography.scss')
-rw-r--r--app/assets/stylesheets/framework/typography.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/typography.scss b/app/assets/stylesheets/framework/typography.scss
index 8df0067fac1..287653beac5 100644
--- a/app/assets/stylesheets/framework/typography.scss
+++ b/app/assets/stylesheets/framework/typography.scss
@@ -90,6 +90,11 @@
border-left: 3px solid #e7e9ed;
}
+ blockquote:dir(rtl) {
+ border-left: 0;
+ border-right: 3px solid #e7e9ed;
+ }
+
blockquote p {
color: #7f8fa4 !important;
font-size: inherit;
@@ -112,6 +117,10 @@
}
}
+ table:dir(rtl) th {
+ text-align: right;
+ }
+
pre {
margin: 12px 0;
font-size: 13px;
@@ -129,6 +138,10 @@
margin: 3px 0 3px 28px !important;
}
+ ul:dir(rtl), ol:dir(rtl) {
+ margin: 3px 28px 3px 0 !important;
+ }
+
li {
line-height: 1.6em;
}