mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Enable RTL layout by providing 'rtl = true' in the config (#72)
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
333e6358c8
commit
42d75aefe4
23
assets/scss/_base_rtl.scss
Normal file
23
assets/scss/_base_rtl.scss
Normal file
@@ -0,0 +1,23 @@
|
||||
body.rtl {
|
||||
direction: rtl;
|
||||
|
||||
pre {
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border-left: none;
|
||||
border-right: 2px solid $alt-bg-color;
|
||||
padding-left: 0;
|
||||
padding-right: 1.6rem;
|
||||
}
|
||||
|
||||
table tr td:first-child,
|
||||
table tr th:first-child {
|
||||
border-right: 0;
|
||||
}
|
||||
table tr td:last-child,
|
||||
table tr th:last-child {
|
||||
border-left: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user