Skip to content

Commit

Permalink
Updated style for :ar
Browse files Browse the repository at this point in the history
  • Loading branch information
neauoire committed Jun 19, 2017
1 parent 9bdda49 commit 3dcce86
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions core/book.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def default_styles
body.lang_el .preface p { letter-spacing:-6px}
body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
"
end

Expand Down
2 changes: 1 addition & 1 deletion lang.ar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"قط، بومة، خفاش وثعلب", "رسمتها ريكا بيلم<br />كتبها ديفين لو لينفيغا",
"الطبعة الأولى"
],
:preface => ".تستيقظ في غرفة، محاط بجدران غير قابلة للكسر. على طاولة تجد قلم رصاص وورقة فارغة.<br/> داخل هذه الطاولة تجد ملاحظات كتبت بخط يدك ولكن لا تتذكرها",
:preface => "<line>تستيقظ في غرفة، محاط بجدران غير قابلة للكسر. على طاولة تجد قلم رصاص وورقة فارغة</line><line> داخل هذه الطاولة تجد ملاحظات كتبت بخط يدك ولكن لا تتذكرها</line>",
:lesson1 => [
"الدرس ١",
".القط يستيقظ",
Expand Down
3 changes: 2 additions & 1 deletion thousand.ar.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down Expand Up @@ -78,7 +79,7 @@ <h4>الطبعة الأولى</h4>
</page>

<page class='preface'>
<p>.تستيقظ في غرفة، محاط بجدران غير قابلة للكسر. على طاولة تجد قلم رصاص وورقة فارغة.<br/> داخل هذه الطاولة تجد ملاحظات كتبت بخط يدك ولكن لا تتذكرها</p>
<p><line>تستيقظ في غرفة، محاط بجدران غير قابلة للكسر. على طاولة تجد قلم رصاص وورقة فارغة</line><line> داخل هذه الطاولة تجد ملاحظات كتبت بخط يدك ولكن لا تتذكرها</line></p>
</page>

<page class='blank'>
Expand Down
3 changes: 2 additions & 1 deletion thousand.ch.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down Expand Up @@ -162,7 +163,7 @@ <h1>蝙蝠发现桌子被铅笔填满了。</h1>

<page class='illustration'>
<img src='assets/fox.3.png'/>
<h1>狐狸把桌子彻底重造了</h1>
<h1>狐狸彻底重造了桌子</h1>
</page>

<page class='blank'>
Expand Down
1 change: 1 addition & 0 deletions thousand.de.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.el.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.fr.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.hu.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.it.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.jp.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.li.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.nl.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down
1 change: 1 addition & 0 deletions thousand.ru.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
body.lang_el .preface p { letter-spacing:-6px}

body.lang_ar { font-family: 'Jura', Tahoma !important; }
body.lang_ar line { display:block}
page.cover { background:white; overflow:hidden }
page.cover img { width:100% }
page.cover h1 { position:absolute; bottom:100px; color:black; text-transform:uppercase; width:100%; text-align:center; font-weight:normal; font-size:36px }
Expand Down

0 comments on commit 3dcce86

Please sign in to comment.