-
Notifications
You must be signed in to change notification settings - Fork 1
/
arabic-style.css
140 lines (103 loc) · 2.11 KB
/
arabic-style.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100;200;300;400;500;600;700;800&display=swap');
div {
direction: rtl;
}
body {
text-align: right;
font-family: 'Noto Sans Arabic', sans-serif;
}
h1 {
font-family: 'Noto Sans Arabic', sans-serif;
font-weight: 500;
color: blue;
/* color: #757474; */
}
h2 {
font-family: 'Noto Sans Arabic', sans-serif;
font-weight: 400;
/* color: #757474; */
}
h3 {
font-family: 'Noto Sans Arabic', sans-serif;
font-weight: 400;
/* color: #757474; */
}
#site-navigation li > a {
font-size: 1.1em;
}
/*--------------------------------------------------------------------*\
Styling for Embedded Videos (iframes)
- Ensures that videos can resize to suit the screen the book is read from.
- Also ensures that videos are horizontally centered.
\*--------------------------------------------------------------------*/
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 35px;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top:0;
left: 0;
width: 100%;
height: 100%;
}
iframe {
margin: auto;
display:block;
}
/*--------------------------------------------------------------------*\
Styling for Tables
- Improves styling of tables over the default Markdown standard
- Adds borders to tables, and allows a rows to be highlighted when hovered
\*--------------------------------------------------------------------*/
th, td {
border: 1px solid #999999 !important;
text-align: center;
padding: 10px
}
th {
font-weight: bold;
background-color: #EEEEEE;
}
table caption {
color: black;
text-align: center;
}
table caption .footnote {
color: #666666;
text-align: left;
font-size: smaller;
}
tr:hover {
background-color: #f7f7f7;
}
div {
direction: rtl;
}
body {
direction: rtl;
}
h1 {
direction: rtl;
}
h2 {
direction: rtl;
}
h3 {
direction: rtl;
}
body {
background: #fff;
color: #666666;
family: 'IBM Plex Sans Arabic', sans-serif;
}
.caption-number {
direction: rtl;
text-align: right;
}
.fa-angle-right {
transform: rotate(180deg)
}