Browse Source

made images fit better into the horizontal grid

master
Anika Henke 13 years ago
parent
commit
7a89d2b0da
  1. 7
      css/content.css
  2. 12
      css/print.css

7
css/content.css

@ -46,15 +46,16 @@
/* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */ /* embedded images (styles are already partly set in DokuWiki's lib/styles/all.css) */
.dokuwiki img.media { .dokuwiki img.media {
margin: .2em 0;
} }
.dokuwiki img.medialeft { .dokuwiki img.medialeft {
margin: .5em 1.5em .5em 0;
margin: .2em 1.5em .2em 0;
} }
.dokuwiki img.mediaright { .dokuwiki img.mediaright {
margin: .5em 0 .5em 1.5em;
margin: .2em 0 .2em 1.5em;
} }
.dokuwiki img.mediacenter { .dokuwiki img.mediacenter {
margin: .5em auto;
margin: .2em auto;
} }

12
css/print.css

@ -82,17 +82,17 @@ a.mail:after {
border-width: 0; border-width: 0;
vertical-align: middle; vertical-align: middle;
} }
.dokuwiki img.media {
margin: .2em 0;
}
.dokuwiki img.medialeft { .dokuwiki img.medialeft {
margin: .5em 1.5em .5em 0;
float: left;
margin: .2em 1.5em .2em 0;
} }
.dokuwiki img.mediaright { .dokuwiki img.mediaright {
margin: .5em 0 .5em 1.5em;
float: right;
margin: .2em 0 .2em 1.5em;
} }
.dokuwiki img.mediacenter { .dokuwiki img.mediacenter {
margin: .5em auto;
display: block;
margin: .2em auto;
} }
/* align table cells */ /* align table cells */

Loading…
Cancel
Save