fixed not-clickable subtitle in IE6 and subtitle/cat link problem in IE5/5.5
authorGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 26 Apr 2004 18:09:28 +0000 (18:09 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Mon, 26 Apr 2004 18:09:28 +0000 (18:09 +0000)
stylesheets/IEFixes.js
stylesheets/monobook/IE50Fixes.css
stylesheets/monobook/IE60Fixes.css
stylesheets/monobook/main.css
templates/xhtml_slim.pt

index b83a4d1..e9b46a6 100644 (file)
@@ -39,9 +39,12 @@ function relativeforfloats() {
 function setrelative (nodes) {
     var i = 0;
     while (i < nodes.length) {
-        if(nodes[i].style.float != ('none'|null) ||
-                nodes[i].align != (''|null|'none'))
+        if(((nodes[i].style.float && nodes[i].style.float != ('none') ||
+        (nodes[i].align && nodes[i].align != ('none'))) &&
+        (!nodes[i].style.position || nodes[i].style.position != 'relative'))) 
+        {
             nodes[i].style.position = 'relative';
+        }
         i++;
     }
 }
index 6c8a76c..3c4165a 100644 (file)
@@ -18,7 +18,7 @@
 }
 
 #portal-footer {
-    margin: 0 0 0 14.5em;
+    margin: 0 0 0 13.6em;
 }
 
 /* IE 4&5 interpret keyword sizes one off */
@@ -107,15 +107,13 @@ div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
 textarea {
     width: 78% !important;
 }
-#documentSubtitle {
-    margin: -1em 0 0.6em 1em;
-}
-
-
 .visualClear {
     width:100%;
     height: 0px;
     padding:0;
     margin:0;
 }
+.documentFirstHeading {
+    margin-bottom: 0.3em;
+}
 /*div{ border:1px solid Red !important;}*/
index 1397fb9..8fbc26f 100644 (file)
@@ -63,6 +63,7 @@ textarea {
     overflow: hidden;
 }
 div.editsection,
+#catlinks,
 div.tright,
 div.tleft {
     position: relative;
index 0a806ae..91b8ccc 100644 (file)
@@ -262,18 +262,19 @@ pre {
 #documentSubtitle {
     font-size: 84%;
     line-height: 1.2em;
-    margin: -1.6em 0 0.6em 1em;
+    margin: 0 0 1.4em 1em;
     color: #7d7d7d;
+    width: auto;
 }
 #siteSubtitle {
     display: none;    
 }
 #catlinks {
-    width: 40%;
+    margin: 0;
+    padding: 0;
+    width: 34%;
     text-align: right;
     float: right;
-    position: relative;
-    top: -1.5em;
 }
 
 #content {
@@ -287,13 +288,15 @@ pre {
 
 /* Some space under the headers in the content area */
 #bodyContent h1,
-.documentFirstHeading,
 #bodyContent h2,
 #bodyContent h3,
 #bodyContent h4,
 #bodyContent h5 {
     margin-bottom:0.8em;
 }
+.documentFirstHeading {
+    margin-bottom:0.1em;
+}
 
 
 #documentContent {
index 262da1a..c18a017 100644 (file)
@@ -35,7 +35,7 @@
             <div id="bodyContent">
               <div tal:condition="catlinks" id="catlinks" tal:content="structure catlinks"></div>
               <h3 id="siteSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3>
-              <div tal:condition="subtitle"  id="documentSubtitle" tal:content="structure subtitle"></div>
+              <div id="documentSubtitle" tal:content="structure subtitle"></div>
               <!-- <esi:include src="userxy/message"/> cached per user, purged on new message-->
               <div tal:condition="newtalk" class="portalMessage" tal:content="structure newtalk"></div>
               <!-- the content area is cached with the remaining inexpensive sceleton, one version for all.