-
Notifications
You must be signed in to change notification settings - Fork 208
/
Copy pathlegalcode-rtl.css
100 lines (79 loc) · 1.41 KB
/
legalcode-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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* CC Deed CSS for RTL languages */
@import url(https://fonts.googleapis.com/earlyaccess/droidarabicnaskh.css);
html, p, li, ol, ul, body {
direction: rtl;
}
#deed {
font-family: 'Droid Arabic Naskh', sans-serif;
}
#deed-main {
text-align: right;
}
#deed-main img {
float: left !important;
}
#deed-main h3 {
padding-right:10px;
}
li.license {
padding-right: 70px;
padding-left: 0px;
background-position: right top;
}
#deed-main li.share, li.remix, li.commercial, UL#license-freedoms-no-icons li,
UL#deed-conditions-no-icons li, UL.understanding.license-properties li {
padding-right:0 !important;
}
#deed-main ol,
#deed-main ul {
padding-left: 0;
padding-right: 2em;
}
ol.arabic {
list-style-type: none;
}
ol.arabic > li::before {
content: attr(data-letter) '.';
display: inline-block;
min-width: 20px;
margin-right: -20px;
text-align: right;
}
#deed-main img {
float: left !important;
}
.arabic-indic {
list-style-type: -moz-arabic-indic;
list-style-type: arabic-indic;
}
.disclaimer {
text-align: left !important;
}
#deed-rights {
background-position: right top;
}
#deed-rights ul {
width: 80%;
}
#deed-conditions {
background-position: right top;
}
#libre {
left: 25px;
right: auto;
}
#footer p {
direction:rtl;
}
@media screen and (max-width: 600px) {
.green #deed-disclaimer {
margin-left: 100px;
margin-right: 10px;
}
#libre {
left: 10px;
}
}
ul p {
line-height: 20px;
}