Permalink
Browse files

made styles for .pad and .site more specific to avoid interfering wit…

…h the same classes somewhere else within the page
  • Loading branch information...
1 parent b492ad5 commit 397ce8bf1a4a7cfa1698665c57f6048c135d3ec2 @selfthinker committed Mar 24, 2012
Showing with 8 additions and 8 deletions.
  1. +1 −1 css/design.css
  2. +2 −2 css/rtl.css
  3. +5 −5 css/structure.css
View
@@ -164,7 +164,7 @@
line-height: 1.2;
}
-#dokuwiki__aside .pad {
+#dokuwiki__aside > .pad {
overflow: hidden;
word-wrap: break-word;
}
View
@@ -46,7 +46,7 @@ caption, legend {
.mode_show #dokuwiki__aside {
float: right;
}
-#dokuwiki__aside .pad {
+#dokuwiki__aside > .pad {
margin: 0 0 0 1.5em;
}
@@ -55,7 +55,7 @@ caption, legend {
margin-left: 0;
margin-right: -__sidebar_width__;
}
-.mode_show #dokuwiki__content .pad {
+.mode_show #dokuwiki__content > .pad {
margin-left: 0;
margin-right: __sidebar_width__;
}
View
@@ -12,12 +12,12 @@ body {
max-width: __site_width__;
padding: 1.4em 1em;
}
-#dokuwiki__site .site {
+#dokuwiki__site > .site {
}
#dokuwiki__header {
}
-#dokuwiki__header .pad {
+#dokuwiki__header > .pad {
}
#dokuwiki__header .headings {
float: left;
@@ -51,7 +51,7 @@ body {
position: relative;
display: block;
}
- #dokuwiki__aside .pad {
+ #dokuwiki__aside > .pad {
margin: 0 1.5em 0 0;
}
@@ -61,12 +61,12 @@ body {
margin-left: -__sidebar_width__;
width: 100%;
}
- .mode_show #dokuwiki__content .pad {
+ .mode_show #dokuwiki__content > .pad {
margin-left: __sidebar_width__;
}
#dokuwiki__footer {
clear: both;
}
-#dokuwiki__footer .pad {
+#dokuwiki__footer > .pad {
}

0 comments on commit 397ce8b

Please sign in to comment.