Module: website Branch: master Commit: 4515777b109bd0c45c5a824e7444848c44d2d1b2 URL: http://source.winehq.org/git/website.git/?a=commit;h=4515777b109bd0c45c5a824...
Author: Yaron Shahrabani sh.yaron@gmail.com Date: Sun Oct 17 11:49:31 2010 +0200
website: Some RTL adjustments
--0016364ef6102bd07d0492ccfb44 Content-Type: text/plain; charset=UTF-8
Added: bg_rtl.png wine_logo_glass_rtl.png wine_logo_glass_sm_rtl.png (although not used) styles-rtl.css (with @import of styles.css so its practically !important was not used, will add if needed) Changed: content_nobox.template Yaron Shahrabani
<Hebrew translator>
<div dir="ltr">Added:<br>bg_rtl.png<br>wine_logo_glass_rtl.png<br>wine_logo_glass_sm_rtl.png (although not used)<br>styles-rtl.css (with @import of styles.css so its practically !important was not used, will add if needed)<br>
Changed:<br>content_nobox.template<br clear="all"><div dir="ltr"><span style="font-size:large"><font color="#990000">Yaron</font><font color="#330000"> Shahrabani</font></span><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font color="#666666"><span style="font-size:x-small"><font color="#FF0000"><</font></span>Hebrew translator<span style="font-size:x-small"><font color="#FF0000">></font></span></font></div></blockquote></div> <br>
</div>
From dff53275f186b22d1e8a9cdc83817b49dbfb2595 Mon Sep 17 00:00:00 2001
From: Yaron Shahrabani sh.yaron@gmail.com Date: Sun, 17 Oct 2010 11:10:30 +0200 Subject: website: some CSS adjustments
---
images/bg_rtl.png | Bin 0 -> 326310 bytes images/winehq_logo_glass_rtl.png | Bin 0 -> 36545 bytes images/winehq_logo_glass_sm_rtl.png | Bin 0 -> 14311 bytes styles-rtl.css | 114 ++++++++++++++++++++ .../he/global/themes/winehq/content_nobox.template | 22 ++-- 5 files changed, 125 insertions(+), 11 deletions(-)
diff --git a/images/bg_rtl.png b/images/bg_rtl.png new file mode 100644 index 0000000..49e2090 Binary files /dev/null and b/images/bg_rtl.png differ diff --git a/images/winehq_logo_glass_rtl.png b/images/winehq_logo_glass_rtl.png new file mode 100644 index 0000000..9e97396 Binary files /dev/null and b/images/winehq_logo_glass_rtl.png differ diff --git a/images/winehq_logo_glass_sm_rtl.png b/images/winehq_logo_glass_sm_rtl.png new file mode 100644 index 0000000..00b5a9c Binary files /dev/null and b/images/winehq_logo_glass_sm_rtl.png differ diff --git a/styles-rtl.css b/styles-rtl.css new file mode 100644 index 0000000..2ffef44 --- /dev/null +++ b/styles-rtl.css @@ -0,0 +1,114 @@ +@import ("styles.css"); +/* Body Document Defaults */ +BODY { + direction: rtl; + background-image: url('images/bg_rtl.jpg'); + background-position: right top; + } + +/* wine logo image */ +#logo_glass_big { + right: 0px; + } +#logo_glass { + right: 50px; + } +#logo_text { + right: 110px; + } +#logo_blurb { + right: 130px; + } + +/* search box */ +#search_box { + text-align: left; + } + +/* top tabs */ +#tabs { + left: 10px; + } +#tabs LI { + float: right; + } + +/* main content well */ +#main_content { + padding: 85px 100px 10px 10px; + } + +/* main content well front page left column */ +#main_left { + margin: 0 0 0 10px; + float: right; + } + +/* main content well front page right column */ +#main_right { + float: left; + display: inline; + } + +/* Language Select */ +#langsel { + text-align: right; + margin: 0 110px 0 0; + } + +/* footer */ +#footer { + text-align: left; + padding-left: 20px; + } + +/* debug log */ +#debug_log +{ + direction: rtl; +} + +/* header text */ + +P.newsdate { direction: ltr; margin: 0 10px 10px 5px;} +P.newstitle { direction: ltr; } +P.newstitle A { direction: ltr; } +P.newstitle A:hover { direction: ltr; } +DIV.newsblock { direction: ltr; margin: 0 10px 25px 5px; } + +/* winehq main page menu */ +.winehq_menu { margin: 20px 40px 0px 0px; } +.winehq_menu>div>.text { padding: 10px 15px 0 0; float:right; clear:left; } +.winehq_menu>div>.text>.subtitle { margin: 0 15px 0 0; } +/* icons for the main page menu elements */ +.winehq_menu>div>.icon { float:right; clear:right; } +.winehq_menu>.info>.icon { background-position: 0 0 } +.winehq_menu>.info:hover>.icon { background-position: 0 -50px } +.winehq_menu>.dl>.icon { background-position: -50px 0 } +.winehq_menu>.dl:hover>.icon { background-position: -50px -50px } +.winehq_menu>.help>.icon { background-position: -100px 0 } +.winehq_menu>.help:hover>.icon { background-position: -100px -50px } +.winehq_menu>.devel>.icon { background-position: -150px 0 } +.winehq_menu>.devel:hover>.icon { background-position: -150px -50px } +.winehq_menu>.donate>.icon { background-position: -200px 0 } +.winehq_menu>.donate:hover>.icon { background-position: -200px -50px } + +/* HR */ +hr +{ + text-align: right; +} + +/* RSS Feed Links */ +ul.rss { + padding: 0 2px 0 0; +} +ul.rss li a { + padding: 0 18px 0 0; +} + +/* template navigation links */ +.left-link { right: 0; } +.right-link { left: 0; text-align: left; } + + diff --git a/templates/he/global/themes/winehq/content_nobox.template b/templates/he/global/themes/winehq/content_nobox.template index 8eaa440..39dd549 100644 --- a/templates/he/global/themes/winehq/content_nobox.template +++ b/templates/he/global/themes/winehq/content_nobox.template @@ -5,13 +5,13 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT"> <meta HTTP-EQUIV="Pragma" CONTENT="no-cache"> - <meta name="description" content="Open Source Software for running Windows applications on other operating systems."> + <meta name="description" content="תכנה בקוד פתוח להפעלת יישומי Windows על מערכות הפעלה אחרות."> <meta name="keywords" content="windows, linux, macintosh, solaris, freebsd"> <meta name="robots" content="index, follow"> - <meta name="copyright" content="Copyright {$curtime_year}. WineHQ.org All Rights Reserved."> - <meta name="language" content="English"> + <meta name="copyright" content="זכויות יוצרים {$curtime_year}. WineHQ.org כל הזכויות שמורות."> + <meta name="language" content="Hebrew"> <meta name="revisit-after" content="1"> - <link rel="stylesheet" href="{$root}/styles.css" type="text/css" media="screen"> + <link rel="stylesheet" href="{$root}/styles-rtl.css" type="text/css" media="screen"> <script language="JavaScript" type="text/javascript"> var web_root="{$root}"; </script> @@ -24,7 +24,7 @@ <body>
-<div id="logo_glass_big"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass.png" alt=""></a></div> +<div id="logo_glass_big"><a href="{$root}/"><img src="{$root}/images/winehq_logo_glass_rtl.png" alt=""></a></div> <div id="logo_text"><a href="{$root}/"><img src="{$root}/images/winehq_logo_text.png" alt="WineHQ" title="WineHQ"></a></div>
@@ -36,7 +36,7 @@ <input type="hidden" name="cx" value="partner-pub-0971840239976722:w9sqbcsxtyf"> <input type="hidden" name="cof" value="FORID:10"> <input type="hidden" name="ie" value="UTF-8"> - <span style="color: #ffffff;">Search:</span> <input type="text" name="q" size="20"> + <span style="color: #ffffff;">חיפוש:</span> <input type="text" name="q" size="20"> </form> <script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang={$langCode}"></script> </div> @@ -45,10 +45,10 @@ <div id="tabs"> <ul> <li class="s"><a href="{$base_url}">WineHQ</a></li> - <li><a href="http://wiki.winehq.org">Wiki</a></li> + <li><a href="http://wiki.winehq.org">ויקי</a></li> <li><a href="http://appdb.winehq.org/">AppDB</a></li> - <li><a href="http://bugs.winehq.org/">Bugzilla</a></li> - <li><a href="http://forums.winehq.org/">Forums</a></li> + <li><a href="http://bugs.winehq.org/">באגזילה</a></li> + <li><a href="http://forums.winehq.org/">פורומים</a></li> </ul> </div>
@@ -65,9 +65,9 @@ </div>
<div id="footer"> - Hosted By + האירוח בחסות <a href="http://www.codeweavers.com/"><img src="{$root}/images/cw_logo_sm.png" alt="CodeWeavers" - title="CodeWeavers - Run Windows applications and games on Mac and Linux"></a> + title="CodeWeavers - הרצת יישומים ומשחקים המיועדים ל־Windows על גבי Mac ו־Linux"></a> </div>
<!-- DEBUG -->