Browse Source

made styles for .pad and .site more specific to avoid interfering with the same classes somewhere else within the page

master
Anika Henke 13 years ago
parent
commit
397ce8bf1a
  1. 2
      css/design.css
  2. 4
      css/rtl.css
  3. 10
      css/structure.css

2
css/design.css

@ -164,7 +164,7 @@
line-height: 1.2; line-height: 1.2;
} }
#dokuwiki__aside .pad {
#dokuwiki__aside > .pad {
overflow: hidden; overflow: hidden;
word-wrap: break-word; word-wrap: break-word;
} }

4
css/rtl.css

@ -46,7 +46,7 @@ caption, legend {
.mode_show #dokuwiki__aside { .mode_show #dokuwiki__aside {
float: right; float: right;
} }
#dokuwiki__aside .pad {
#dokuwiki__aside > .pad {
margin: 0 0 0 1.5em; margin: 0 0 0 1.5em;
} }
@ -55,7 +55,7 @@ caption, legend {
margin-left: 0; margin-left: 0;
margin-right: -__sidebar_width__; margin-right: -__sidebar_width__;
} }
.mode_show #dokuwiki__content .pad {
.mode_show #dokuwiki__content > .pad {
margin-left: 0; margin-left: 0;
margin-right: __sidebar_width__; margin-right: __sidebar_width__;
} }

10
css/structure.css

@ -12,12 +12,12 @@ body {
max-width: __site_width__; max-width: __site_width__;
padding: 1.4em 1em; padding: 1.4em 1em;
} }
#dokuwiki__site .site {
#dokuwiki__site > .site {
} }
#dokuwiki__header { #dokuwiki__header {
} }
#dokuwiki__header .pad {
#dokuwiki__header > .pad {
} }
#dokuwiki__header .headings { #dokuwiki__header .headings {
float: left; float: left;
@ -51,7 +51,7 @@ body {
position: relative; position: relative;
display: block; display: block;
} }
#dokuwiki__aside .pad {
#dokuwiki__aside > .pad {
margin: 0 1.5em 0 0; margin: 0 1.5em 0 0;
} }
@ -61,12 +61,12 @@ body {
margin-left: -__sidebar_width__; margin-left: -__sidebar_width__;
width: 100%; width: 100%;
} }
.mode_show #dokuwiki__content .pad {
.mode_show #dokuwiki__content > .pad {
margin-left: __sidebar_width__; margin-left: __sidebar_width__;
} }
#dokuwiki__footer { #dokuwiki__footer {
clear: both; clear: both;
} }
#dokuwiki__footer .pad {
#dokuwiki__footer > .pad {
} }
Loading…
Cancel
Save