mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
RTL support (#29)
This commit is contained in:
committed by
Luiz F. A. de Prá
parent
7207be04f0
commit
fe847fb152
41
static/less/style-rtl.less
Normal file
41
static/less/style-rtl.less
Normal file
@@ -0,0 +1,41 @@
|
||||
@import "colors.less";
|
||||
|
||||
body.rtl {
|
||||
direction: rtl;
|
||||
|
||||
blockquote {
|
||||
border-right: 2px solid @darker-bg-color;
|
||||
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;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
ul {
|
||||
li {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.list {
|
||||
ul {
|
||||
li {
|
||||
span {
|
||||
text-align: left;
|
||||
margin-left: 3.0rem;
|
||||
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user