Merge "SpecialPrefixindex: Try not to generate unclickable links"
[lhc/web/wiklou.git] / skins / modern / main.css
index f222028..47c320b 100644 (file)
@@ -58,8 +58,7 @@ body {
        font-variant: small-caps;
 }
 
-#p-personal h3,
-#p-personal h5 {
+#p-personal h3 {
        display: none;
 }
 
@@ -177,8 +176,7 @@ textarea {
        margin-top: .4em;
 }
 
-.portlet h3,
-.portlet h5 {
+.portlet h3 {
        padding: 0.1em 0 0.3em 1em;
        margin: 0 0 0 0;
        background-color: #dddddd;
@@ -252,8 +250,7 @@ ul {
        color: white;
 }
 
-#p-cactions h3,
-#p-cactions h5 {
+#p-cactions h3 {
        display: none;
 }
 
@@ -517,6 +514,7 @@ div.magnify {
        float: right;
        border: none !important;
        background: none !important;
+       margin-left: 3px;
 }
 div.magnify a, div.magnify img {
        display: block;
@@ -546,6 +544,27 @@ img.thumbborder {
        border-spacing: 0;
        background-color: #f0f0f0;
        border: solid 1px #bbbbbb;
+       display: -moz-inline-block;
+       display: inline-block;
+       display: table;
+
+       /* IE7 and earliers */
+       zoom: 1;
+       *display: inline;
+
+       padding: 7px;
+}
+
+/* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */
+table#toc,
+table.toc {
+       border-collapse: collapse;
+}
+
+/* Remove additional paddings inside table-cells that are not present in <div>s */
+table#toc td,
+table.toc td {
+       padding: 0;
 }
 
 #toc tr, #toc td {