You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
356 lines
6.5 KiB
356 lines
6.5 KiB
/**
|
|
* This file provides layout and design corrections for right-to-left
|
|
* languages.
|
|
*
|
|
* @author Anika Henke <anika@selfthinker.org>
|
|
*/
|
|
|
|
/*____________ basic ____________*/
|
|
|
|
[dir=rtl] caption,
|
|
[dir=rtl] td,
|
|
[dir=rtl] th {
|
|
text-align: right;
|
|
}
|
|
|
|
[dir=rtl] ul,
|
|
[dir=rtl] ol {
|
|
padding: 0 1.5em 0 0;
|
|
}
|
|
[dir=rtl] li,
|
|
[dir=rtl] dd {
|
|
margin: 0 1.5em 0 0;
|
|
}
|
|
[dir=rtl] blockquote {
|
|
border-width: 0 .25em 0 0;
|
|
}
|
|
|
|
[dir=rtl] h1,
|
|
[dir=rtl] h2,
|
|
[dir=rtl] h3,
|
|
[dir=rtl] h4,
|
|
[dir=rtl] h5,
|
|
[dir=rtl] h6,
|
|
[dir=rtl] caption,
|
|
[dir=rtl] legend {
|
|
clear: right;
|
|
}
|
|
|
|
[dir=rtl] .a11y {
|
|
left: auto;
|
|
right: -9000px;
|
|
}
|
|
|
|
/*____________ structure ____________*/
|
|
|
|
[dir=rtl] #dokuwiki__header .headings {
|
|
float: right;
|
|
}
|
|
[dir=rtl] #dokuwiki__header .tools {
|
|
float: left;
|
|
text-align: left;
|
|
}
|
|
|
|
[dir=rtl] .mode_show #dokuwiki__aside {
|
|
float: right;
|
|
}
|
|
[dir=rtl] #dokuwiki__aside > .pad {
|
|
margin: 0 0 0 1.5em;
|
|
}
|
|
|
|
[dir=rtl] .mode_show #dokuwiki__content {
|
|
float: left;
|
|
margin-left: 0;
|
|
margin-right: -__sidebar_width__;
|
|
}
|
|
[dir=rtl] .mode_show #dokuwiki__content > .pad {
|
|
margin-left: 0;
|
|
margin-right: __sidebar_width__;
|
|
}
|
|
|
|
/*____________ design ____________*/
|
|
|
|
[dir=rtl] #dokuwiki__header form.search #qsearch__in {
|
|
margin-right: 0;
|
|
margin-left: .5em;
|
|
}
|
|
|
|
[dir=rtl] #dokuwiki__usertools ul li.user {
|
|
float: right;
|
|
margin-right: 0;
|
|
}
|
|
[dir=rtl] #dokuwiki__pagetools ul li a.action.top {
|
|
float: left;
|
|
}
|
|
|
|
[dir=rtl] #dokuwiki__aside ul, #dokuwiki__aside ol {
|
|
padding-right: 0;
|
|
}
|
|
|
|
/*____________ content ____________*/
|
|
|
|
/* section indenting
|
|
[dir=rtl] .dokuwiki .page h1 {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
[dir=rtl] .dokuwiki .page div.level1 {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
}
|
|
[dir=rtl] .dokuwiki .page h2 {
|
|
margin-left: 0;
|
|
margin-right: .666em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page div.level2 {
|
|
margin-left: 0;
|
|
margin-right: 1em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page h3 {
|
|
margin-left: 0;
|
|
margin-right: 1.776em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page div.level3 {
|
|
margin-left: 0;
|
|
margin-right: 2em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page h4 {
|
|
margin-left: 0;
|
|
margin-right: 3em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page div.level4 {
|
|
margin-left: 0;
|
|
margin-right: 3em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page h5 {
|
|
margin-left: 0;
|
|
margin-right: 4.5712em;
|
|
}
|
|
[dir=rtl] .dokuwiki .page div.level5 {
|
|
margin-left: 0;
|
|
margin-right: 4em;
|
|
}
|
|
*/
|
|
|
|
[dir=rtl] .dokuwiki dl.code dt,
|
|
[dir=rtl] .dokuwiki dl.file dt {
|
|
margin-left: 0;
|
|
margin-right: 1em;
|
|
}
|
|
|
|
[dir=rtl] .JSpopup ul,
|
|
[dir=rtl] .JSpopup ol {
|
|
padding-right: 0;
|
|
}
|
|
|
|
|
|
/*____________ _imgdetail ____________*/
|
|
|
|
[dir=rtl] #dokuwiki__detail div.content img {
|
|
float: right;
|
|
margin-right: 0;
|
|
margin-left: 1.5em;
|
|
}
|
|
[dir=rtl] #dokuwiki__detail div.content div.img_detail {
|
|
float: right
|
|
}
|
|
|
|
|
|
/*____________ _mediamanager ____________*/
|
|
|
|
[dir=rtl] #mediamgr__aside {
|
|
left: auto;
|
|
right: 0;
|
|
border-right-width: 0;
|
|
border-left: 1px solid __border__;
|
|
}
|
|
[dir=rtl] #mediamgr__content {
|
|
right: auto;
|
|
left: 0;
|
|
}
|
|
|
|
[dir=rtl] #media__opts input {
|
|
margin-right: 0;
|
|
margin-left: .3em;
|
|
}
|
|
|
|
[dir=rtl] #media__tree ul {
|
|
padding-left: 0;
|
|
padding-right: .2em;
|
|
}
|
|
[dir=rtl] #media__tree ul li {
|
|
clear: right;
|
|
margin-right: 0;
|
|
}
|
|
[dir=rtl] #media__tree ul li img {
|
|
float: right;
|
|
padding: .5em 0 0 .3em;
|
|
}
|
|
[dir=rtl] #media__tree ul li li {
|
|
margin-left: 0;
|
|
margin-right: 1.5em;
|
|
}
|
|
|
|
[dir=rtl] #media__content a.mediafile {
|
|
margin-right: 0;
|
|
margin-left: 1.5em;
|
|
}
|
|
[dir=rtl] #media__content div.detail div.thumb {
|
|
float: right;
|
|
margin: 0 18px 0 .5em;
|
|
}
|
|
[dir=rtl] #media__content form.meta div.metafield {
|
|
clear: right;
|
|
}
|
|
[dir=rtl] #media__content form.meta label {
|
|
float: right;
|
|
clear: right;
|
|
}
|
|
[dir=rtl] #media__content form.meta .edit {
|
|
float: right;
|
|
}
|
|
[dir=rtl] #media__content form.meta div.buttons {
|
|
clear: right;
|
|
margin: .2em 25% 0 0;
|
|
}
|
|
|
|
|
|
/*____________ _links ____________*/
|
|
|
|
/* if link icons don't work as expected, remove the following lines */
|
|
[dir=rtl] .dokuwiki a.urlextern,
|
|
[dir=rtl] .dokuwiki a.windows,
|
|
[dir=rtl] .dokuwiki a.mail,
|
|
[dir=rtl] .dokuwiki a.interwiki,
|
|
[dir=rtl] .dokuwiki a.mediafile {
|
|
background-position: right center;
|
|
padding: 0 17px 0 0;
|
|
}
|
|
|
|
|
|
/*____________ _toc ____________*/
|
|
|
|
[dir=rtl] .dokuwiki div.toc {
|
|
float: left;
|
|
margin: 0 1.4em 1.4em 0;
|
|
}
|
|
[dir=rtl] .dokuwiki .toc span.toc_open,
|
|
[dir=rtl] .dokuwiki .toc span.toc_close {
|
|
float: left;
|
|
}
|
|
[dir=rtl] .dokuwiki #toc__inside ul ul {
|
|
padding-left: 0;
|
|
padding-right: 1em;
|
|
}
|
|
[dir=rtl] .dokuwiki ul.idx {
|
|
padding-right: 0;
|
|
}
|
|
[dir=rtl] .dokuwiki ul.idx li.closed {
|
|
list-style-image: url(images/closed-rtl.png);
|
|
}
|
|
|
|
|
|
/*____________ _footnotes ____________*/
|
|
|
|
|
|
/*____________ _search ____________*/
|
|
|
|
[dir=rtl] .dokuwiki div.search_quickresult ul li {
|
|
float: right;
|
|
}
|
|
[dir=rtl] .dokuwiki form.search div.ajax_qsearch {
|
|
left: auto;
|
|
right: -13.5em;
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
/*____________ _recent ____________*/
|
|
|
|
[dir=rtl] .dokuwiki #dw__recent ul li,
|
|
[dir=rtl] .dokuwiki #page__revisions ul li {
|
|
margin-right: 0;
|
|
}
|
|
|
|
|
|
/*____________ _diff ____________*/
|
|
|
|
|
|
/*____________ _edit ____________*/
|
|
|
|
[dir=rtl] .dokuwiki div.toolbar #draft__status {
|
|
float: left;
|
|
}
|
|
[dir=rtl] .dokuwiki #wiki__editbar #size__ctl {
|
|
float: left;
|
|
}
|
|
[dir=rtl] .dokuwiki #wiki__editbar #size__ctl img {
|
|
cursor: pointer;
|
|
}
|
|
[dir=rtl] .dokuwiki #wiki__editbar .editButtons {
|
|
margin-right: 0;
|
|
margin-left: 1em;
|
|
}
|
|
|
|
[dir=rtl] .dokuwiki .secedit {
|
|
float: left;
|
|
}
|
|
|
|
[dir=rtl] .dokuwiki div.section_highlight {
|
|
margin: -3em -1.5em -.01em 0;
|
|
padding: 3em 1em .01em 0;
|
|
border-left-width: 0;
|
|
border-right: .5em solid __background_alt__;
|
|
}
|
|
|
|
|
|
/*____________ _modal ____________*/
|
|
|
|
[dir=rtl] #link__wiz_close {
|
|
float: left;
|
|
}
|
|
[dir=rtl] #link__wiz_result {
|
|
text-align: right;
|
|
}
|
|
[dir=rtl] #link__wiz_result div.type_u,
|
|
[dir=rtl] #link__wiz_result div.type_f,
|
|
[dir=rtl] #link__wiz_result div.type_d {
|
|
padding: 3px 22px 3px 3px;
|
|
background-position: 257px 3px;
|
|
}
|
|
|
|
|
|
/*____________ _forms ____________*/
|
|
|
|
[dir=rtl] .dokuwiki label.block {
|
|
text-align: left;
|
|
}
|
|
[dir=rtl] .dokuwiki label.simple {
|
|
text-align: right;
|
|
}
|
|
|
|
[dir=rtl] form#subscribe__form fieldset {
|
|
text-align: right;
|
|
}
|
|
|
|
|
|
/*____________ _admin ____________*/
|
|
|
|
[dir=rtl] .dokuwiki ul.admin_tasks {
|
|
float: right;
|
|
}
|
|
[dir=rtl] .dokuwiki ul.admin_tasks li {
|
|
padding-left: 0;
|
|
padding-right: 35px;
|
|
background-position: right 0;
|
|
}
|
|
|
|
[dir=rtl] .dokuwiki #admin__version {
|
|
clear: right;
|
|
float: left;
|
|
}
|
|
|
|
|
|
/*____________ includes ____________*/
|
|
|
|
|