Permalink
Browse files

made images fit better into the horizontal grid

  • Loading branch information...
1 parent 57babfc commit 7a89d2b0da3b0037e04437ef78c01f3793c676c1 @selfthinker committed Mar 24, 2012
Showing with 10 additions and 9 deletions.
  1. +4 −3 css/content.css
  2. +6 −6 css/print.css
View
@@ -46,15 +46,16 @@
/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
.dokuwiki img.media {
+ margin: .2em 0;
}
.dokuwiki img.medialeft {
- margin: .5em 1.5em .5em 0;
+ margin: .2em 1.5em .2em 0;
}
.dokuwiki img.mediaright {
- margin: .5em 0 .5em 1.5em;
+ margin: .2em 0 .2em 1.5em;
}
.dokuwiki img.mediacenter {
- margin: .5em auto;
+ margin: .2em auto;
}
View
@@ -82,17 +82,17 @@ a.mail:after {
border-width: 0;
vertical-align: middle;
}
+.dokuwiki img.media {
+ margin: .2em 0;
+}
.dokuwiki img.medialeft {
- margin: .5em 1.5em .5em 0;
- float: left;
+ margin: .2em 1.5em .2em 0;
}
.dokuwiki img.mediaright {
- margin: .5em 0 .5em 1.5em;
- float: right;
+ margin: .2em 0 .2em 1.5em;
}
.dokuwiki img.mediacenter {
- margin: .5em auto;
- display: block;
+ margin: .2em auto;
}
/* align table cells */

0 comments on commit 7a89d2b

Please sign in to comment.