WordPress.org

Make WordPress Core

Changeset 7553


Ignore:
Timestamp:
03/27/2008 08:42:50 PM (10 years ago)
Author:
ryan
Message:

Updated RTL for default theme from mani_monaj. see #6296

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/rtl.css

    r7130 r7553  
    1 /* Based on Arabic (RTL) version of Kubrick theme, converted by Serdal (Serdal.com) */
    2 
    3 .narrowcolumn, .alignleft, .widecolumn .smallattachment { float: right; }
    4 .alignright, #commentform #submit { float: left; }
    5 
    6 #page, .post, #wp-calendar #prev a { text-align: right; }
    7 
    8 body, #commentform p { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
    9 
    10 small { font-family: 'Geeza Pro', Tahoma, Arial, Helvetica, Sans-Serif; }
    11 
    12 h1, h2, h3 { font-family: 'Al Bayan', 'Traditional Arabic', 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; }
    13 
    14 #sidebar h2 { font-family: 'Al Bayan', 'Traditional Arabic', 'Lucida Grande', Verdana, Sans-Serif; }
    15 
    16 .commentlist li, #commentform input, #commentform textarea { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
    17 
    18 #sidebar { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
    19 
    20 #wp-calendar caption { font-family: 'Geeza Pro', Tahoma, 'Lucida Grande', Verdana, Arial, Sans-Serif; }
    21 
    22 acronym, abbr, span.caps { letter-spacing: normal; }
    23 
    24 #header { margin: 0 1px 0 0; }
    25 
    26 .narrowcolumn { padding: 0 45px 20px 0; }
    27 
    28 .widecolumn { margin: 5px 150px 0 0; }
    29 
    30 .widecolumn .smallattachment { margin: 5px 0px 5px 5px; }
    31 
    32 .postmetadata { clear: right; }
    33 
    34 img.alignright { margin: 0 7px 2px 0; }
    35 
    36 img.alignleft { margin: 0 0 2px 7px; }
    37 
    38 .entry ol { padding: 0 35px 0 0; }
    39 
    40 #sidebar ul ul, #sidebar ul ol { margin: 5px 10px 0 0; }
    41 
    42 #sidebar ul ul ul, #sidebar ul ol { margin: 0 10px 0 0; }
    43 
    44 #commentform input { margin: 5px 0 1px 5px; }
    45 
    46 .commentlist p { margin: 10px 0 10px 5px; }
    47 
    48 html>body .entry li { margin: 7px 10px 8px 0; }
    49 
    50 html>body .entry ul {
    51     margin-left: auto;
    52     margin-right: 0px;
    53     padding: 0 30px 0 0;
     1/*
     2Theme name: WordPress Default - kubrick -
     3Editors: Navid Kashani
     4Persian Wordpress Project : wp-persian.com
     5*/
     6body, .commentlist li, #commentform input, #commentform textarea, #commentform p, #sidebar, #wp-calendar caption  {
     7    font-family:tahoma, arial;
     8}
     9#page {
     10    text-align:right;
     11    direction:rtl;
     12}
     13h1, h2, h3, #sidebar h2 {
     14    font-family:arial, tahoma;
     15}
     16.commentlist li .avatar {
     17    float:left;
     18}
     19#header {
     20    margin:0 1px 0 0;
     21}
     22.narrowcolumn {
     23    float:right;
     24    padding: 0 45px 20px 0;
     25}
     26.widecolumn {
     27    margin: 5px 150px 0 0;
     28}
     29.widecolumn .smallattachment {
     30    margin: 5px 0 5px 5px;
     31}
     32.postmetadata {
     33    clear:right;
     34}
     35#sidebar {
     36    margin-left: 0;
     37    margin-right: 545px;
     38}
     39img.alignright {
     40    margin: 0 7px 2px 0;
    5441}
    5542
    56 #sidebar {
    57     margin-left: auto;
    58     margin-right: 545px;
     43img.alignleft {
     44    margin: 0 0 2px 7px;
    5945}
    6046
    61 #wp-calendar #prev a, html>body .entry ul {
    62     padding-left: 0;
    63     padding-right: 10px;
     47.alignright {
     48    float: left;
    6449}
    6550
     51.alignleft {
     52    float: right;
     53}
     54code {
     55    display:block;
     56    direction:ltr;
     57    text-align:left;
     58}
     59acronym, abbr, span.caps {
     60    letter-spacing:0; /* fix opera bug */
     61}
     62html>body .entry ul {
     63    padding:0 10px 0 0;
     64    text-indent:10px;
     65}
     66html>body .entry li {
     67    margin: 7px 10px 8px 0;
     68}
     69.entry ol {
     70    padding: 0 35px 0 0;
     71}
     72#sidebar ul ul, #sidebar ul ol {
     73    margin: 5px 10px 0 0;
     74}
     75#sidebar ul ul ul, #sidebar ul ol {
     76    margin: 0 10px 0 0;
     77}
     78#commentform input {
     79    margin: 5px 0 1px 5px;
     80}
     81#commentform #submit {
     82    float:left;
     83}
     84.commentlist p {
     85    margin: 10px 0 10px 5px;
     86}
     87#wp-calendar #next a {
     88    padding-right:0;
     89    padding-left:10px;
     90    text-align:left;
     91}
     92#wp-calendar #prev a {
     93    padding-left:0;
     94    padding-right:10px;
     95    text-align:right;
     96}
    6697blockquote {
    67     border-left: 0;
    68     border-right: 5px solid #ddd;
     98    margin: 15px 10px 0 30px;
    6999    padding-left: 0;
    70100    padding-right: 20px;
    71     margin: 15px 10px 0 30px;
     101    border-left: 0 none;
     102    border-right: 5px solid #ddd;
    72103}
    73 
    74 #wp-calendar #next a {
    75     padding-right: 0;
    76     padding-left: 10px;
    77     text-align: left;
     104#email, #url {
     105    direction:ltr;
    78106}
Note: See TracChangeset for help on using the changeset viewer.