-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrtl.css
49 lines (42 loc) · 1.53 KB
/
rtl.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
Add Right-To-Left Support for CodeSpire Wp Starter Theme
author: Guy Ytzhak
**/
@media all and (max-width: 767px){
.col-xs-1:nth-child(12n+1){clear:right;}
.col-xs-2:nth-child(6n+1){clear:right;}
.col-xs-3:nth-child(4n+1){clear:right;}
.col-xs-4:nth-child(3n+1){clear:right;}
.col-xs-6:nth-child(2n+1){clear:right;}
}
@media all and (min-width: 768px){
.col-sm-1:nth-child(12n+1){clear:right;}
.col-sm-2:nth-child(6n+1){clear:right;}
.col-sm-3:nth-child(4n+1){clear:right;}
.col-sm-4:nth-child(3n+1){clear:right;}
.col-sm-6:nth-child(2n+1){clear:right;}
}
@media all and (min-width: 992px){
.col-sm-1:nth-child(12n+1){clear:none;}
.col-sm-2:nth-child(6n+1){clear:none;}
.col-sm-3:nth-child(4n+1){clear:none;}
.col-sm-4:nth-child(3n+1){clear:none;}
.col-sm-6:nth-child(2n+1){clear:none;}
.col-md-1:nth-child(12n+1){clear:right;}
.col-md-2:nth-child(6n+1){clear:right;}
.col-md-3:nth-child(4n+1){clear:right;}
.col-md-4:nth-child(3n+1){clear:right;}
.col-md-6:nth-child(2n+1){clear:right;}
}
@media all and (min-width: 1200px){
.col-md-1:nth-child(12n+1){clear:none;}
.col-md-2:nth-child(6n+1){clear:none;}
.col-md-3:nth-child(4n+1){clear:none;}
.col-md-4:nth-child(3n+1){clear:none;}
.col-md-6:nth-child(2n+1){clear:none;}
.col-lg-1:nth-child(12n+1){clear:right;}
.col-lg-2:nth-child(6n+1){clear:right;}
.col-lg-3:nth-child(4n+1){clear:right;}
.col-lg-4:nth-child(3n+1){clear:right;}
.col-lg-6:nth-child(2n+1){clear:right;}
}