import image styling from monobook
authorRiver Tarnell <river@users.mediawiki.org>
Wed, 16 Jan 2008 04:28:35 +0000 (04:28 +0000)
committerRiver Tarnell <river@users.mediawiki.org>
Wed, 16 Jan 2008 04:28:35 +0000 (04:28 +0000)
skins/modern/main.css

index 0f2f623..5a679ee 100644 (file)
@@ -395,3 +395,83 @@ h1, h2 {
         background: url("document.png") center right no-repeat;
         padding-right: 12px;
 }
+
+/* images */
+div.floatright, table.floatright {
+       clear: right;
+       float: right;
+       position: relative;
+       margin: 0 0 .5em .5em;
+       border: 0;
+/*
+       border: .5em solid white;
+       border-width: .5em 0 .8em 1.4em;
+*/
+}
+div.floatright p { font-style: italic; }
+div.floatleft, table.floatleft {
+       float: left;
+       clear: left;
+       position: relative;
+       margin: 0 .5em .5em 0;
+       border: 0;
+/*
+       margin: .3em .5em .5em 0;
+       border: .5em solid white;
+       border-width: .5em 1.4em .8em 0;
+*/
+}
+div.floatleft p { font-style: italic; }
+/* thumbnails */
+div.thumb {
+       margin-bottom: .5em;
+       border-style: solid;
+       border-color: white;
+       width: auto;
+}
+div.thumbinner {
+       border: 1px solid #ccc;
+       padding: 3px !important;
+       background-color: #f9f9f9;
+       font-size: 94%;
+       text-align: center;
+       overflow: hidden;
+}
+html .thumbimage {
+       border: 1px solid #ccc;
+}
+html .thumbcaption {
+       border: none;
+       text-align: left;
+       line-height: 1.4em;
+       padding: 3px !important;
+       font-size: 94%;
+}
+div.magnify {
+       float: right;
+       border: none !important;
+       background: none !important;
+}
+div.magnify a, div.magnify img {
+       display: block;
+       border: none !important;
+       background: none !important;
+}
+div.tright {
+       clear: right;
+       float: right;
+       border-width: .5em 0 .8em 1.4em;
+}
+div.tleft {
+       float: left;
+       clear: left;
+       margin-right: .5em;
+       border-width: .5em 1.4em .8em 0;
+}
+img.thumbborder {
+       border: 1px solid #dddddd;
+}
+.hiddenStructure {
+       display: none;
+}
+