links in headers now in normal link colour
[lhc/web/wiklou.git] / stylesheets / monobook / main.css
index 82d8fd5..4bdf00b 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Mediawiki 'mono' style sheet for CSS2-capable browsers.
+** Mediawiki 'monobook' style sheet for CSS2-capable browsers.
 ** Copyright Gabriel Wicke - http://www.aulinx.de/
 **
 ** Based on http://www.positioniseverything.net/ordered-floats.html by Big John
@@ -53,7 +53,7 @@ body {
 
 /* general styles */
 
-table, td {
+table {
     font-size: 100%;
     background: White;
 }
@@ -108,9 +108,6 @@ h1, h2, h3, h4, h5, h6 {
     border-bottom: 1px solid #aaaaaa;
 
 }
-h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
-    color: Black ! important; 
-}
 h1 {
     font-size: 188%;
 }
@@ -150,7 +147,7 @@ ul {
 }
 ol {
     line-height: 1.5em;
-    margin: 0.3em 0 0 1.5em;
+    margin: 0.3em 0 0 2.2em;
     padding:0;
 }
 ul a, ol a {
@@ -169,7 +166,7 @@ dt a {
 dd {
     line-height: 1.5em;
     margin-bottom: 0.8em;
-    margin-left: 1.4em;
+    margin-left: 1.6em;
 }
 dd a {
     text-decoration: none;
@@ -262,33 +259,44 @@ 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;
+}
+span.subpages {
+    display: block;
 }
-
 #siteSubtitle {
     display: none;    
 }
-
+#catlinks {
+    margin: 0;
+    padding: 0;
+    width: 34%;
+    text-align: right;
+    float: right;
+}
 
 #content {
     padding: 0 0 1em 0em;
     margin: 0;
 }
 
-#bodyContent a:hover {
+a:hover {
     text-decoration: underline;
 }
 
 /* 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 {
@@ -331,6 +339,15 @@ pre {
     text-decoration: none;
 }
 
+/* emulate center */
+.center {
+    width: 100%;
+    text-align: center;
+}
+div.center * {
+    margin-left: auto;
+    margin-right: auto;
+}
 /*
 ** mediawiki-specific styles
 */
@@ -352,7 +369,7 @@ a.new { color:#ba0000; text-decoration:none; }
        margin-bottom: 0px;
 }
 .toctoggle, .editsection {
-       font-size: smaller;
+       font-size: 94%;
 }
 /* images */
 div.floatright { 
@@ -372,38 +389,34 @@ div.floatleft {
 }
 div.floatleft p { font-style: italic; } 
 /* thumbnails */
-div.thumbnail-none,
-div.thumbnail-right,
-div.thumbnail-left {
- /*   border:1px solid #2f6fab;*/
+div.thumb {
+    margin-bottom: 0.5em;
+    border-style: solid; border-color: White;
+    width: auto;
+}
+div.thumb div {
+    border:1px solid #cccccc;
+    padding: 3px !important;
     background-color:#f9f9f9;
-    padding: 2px;
-    position:relative;
-    margin: 0.3em 0 0.5em;
-    font-size: 95%;
-    text-align: center;
+    font-size: 94%;
 }
-div.thumbnail-none div,
-div.thumbnail-right div,
-div.thumbnail-left div{
+div.thumb div a img {
     border:1px solid #cccccc;
 }
-div.thumbnail-none p, div.thumbnail-right p, div.thumbnail-left p {
-    margin-top:3px; margin-bottom:3px;
+div div.thumbcaption {
+    border: none;
     text-align: left;
+    padding: 0.3em 0 0.1em 0 !important;
 }
-div.thumbnail-right {
+div.magnify {
     float: right;
-    position:relative;
-    border: 0.5em solid White;
-    border-width: 0.5em 0 0.8em 1.4em;
+    border: none !important;
+    background: none !important;
 }
-div.thumbnail-left {
-    float: left;
-    position:relative;
-    margin-right:0.5em;
-    border: 0.5em solid White;
-    border: 0.5em 1.4em 0.8em 0;
+div.magnify a, div.magnify img {
+    display: block;
+    border: none !important;
+    background: none !important;
 }
 /* table standards */
 table.rimage {
@@ -414,7 +427,15 @@ table.rimage {
     margin-bottom:1em;
     text-align:center;
 }
-
+div.tright {
+    float: right;
+    border-width: 0.5em 0 0.8em 1.4em;
+}
+div.tleft {
+    float: left;
+    margin-right:0.5em;
+    border: 0.5em 1.4em 0.8em 0;
+}
 /*
 ** Link rendering 
 */
@@ -492,9 +513,9 @@ div.townBox {
     margin-left:1em;
     border: 1px solid Grey;
     padding:0.3em;
-    line-height: 1.0em;
     width: 200px;
     overflow: hidden;
+    clear: right;
 }
 div.townBox dl {
     padding: 0;
@@ -531,7 +552,7 @@ div.townBox dl dd {
 */
 .portlet {
     border: none;
-    margin: 0 0 1em 0em;
+    margin: 0 0 0.5em 0em;
     float: none;
     padding: 0;
     width: 11.6em;
@@ -638,7 +659,7 @@ div.townBox dl dd {
     top: 0;
     left: 0;
     height: 155px;
-    width: 135px;
+    width: 12em;
     overflow: visible;
 }
 #portlet-logo h5 { display: none; }
@@ -646,9 +667,9 @@ div.townBox dl dd {
 #portlet-logo a:hover {
     display: block;
     height: 155px;
-    width: 135px;
-    background: url(wiki.png) no-repeat;
+    width: 12.2em;
     background-repeat: no-repeat;
+    background-position: 35% 50% !important;
     text-decoration: none;
 }
 
@@ -676,23 +697,17 @@ div.townBox dl dd {
     text-align: center;
 }
 input.searchButton {
-    background-color: white;
-    border: 1px solid #2f6fab;  
     margin-top:1px;
-    padding: 0 0.4em;
+    padding: 0 0.4em!important;
     font-size: 95%;
-    /*    font-size: 100%;
-    margin-bottom: 1px ! important;
-    background: White url(search_icon.gif) 2px 1px no-repeat;
     cursor: pointer;
-    padding: 1px 1px 1px 15px;
-    text-transform: lowercase;*/
-
+    background-color: White;
+    border: 1px solid #2f6fab;  
 }
 
 #searchGadget {
     border: 1px solid #2f6fab;  
-    width:11.0em;
+    width:10.9em;
     margin: 0 0 0 0;
     font-size: 95%;
 }
@@ -777,21 +792,20 @@ input.searchButton {
 }
 #portal-personaltools li a {
     text-decoration: none;
-/*    color: #436976;*/
     color: #005896;
     padding-bottom: 0.2em;
-    background-color: transparent;
+    background: none;
 }
 #portal-personaltools li a:hover {
-    text-decoration: none;
-/*    color: #436976;*/
     background-color: White;
     padding-bottom: 0.2em;
+    text-decoration: none;
 }
 
 /* the icon in front of the user name, single quotes
 in bg url to hide it from iemac */
 li#personaltools-userpage,
+li#personaltools-anonuserpage,
 li#personaltools-login {
     background: transparent url('user.gif') center left no-repeat;
     background-repeat: no-repeat;
@@ -809,7 +823,6 @@ li#personaltools-login {
     left: 11.5em;
     margin: 0;
     white-space:nowrap;
-    /*width:auto;*/
     width: 76%;
     line-height: 1.1em;
     overflow: visible;
@@ -819,11 +832,7 @@ li#personaltools-login {
     list-style: none;
     font-size: 95%;
 }
-
-#portlet-contentViews .hiddenStructure {
-    display: none;
-}
-
+#portlet-contentViews .hiddenStructure { display: none; }
 #portlet-contentViews ul {
     list-style: none;
 }
@@ -834,13 +843,12 @@ li#personaltools-login {
     padding: 0 0 0.1em 0;
     margin: 0 0.3em 0 0;
     overflow: visible;
+    background: White;
 }
-
 #portlet-contentViews li.selected {
     border-color: #fabd23;
     padding: 0 0 0.2em 0;
 }
-    
 #portlet-contentViews li a {
     background-color: White;
     color: #005189;
@@ -852,7 +860,6 @@ li#personaltools-login {
     z-index: 0;
     margin: 0;
 }
-
 #portlet-contentViews .selected a {
     z-index: 3;
 }
@@ -861,6 +868,7 @@ li#personaltools-login {
 }
 #portlet-contentViews li a:hover {
     z-index: 3;
+    text-decoration: none;
 }
 #portlet-contentViews h5 { display: none; }
 
@@ -885,7 +893,6 @@ li#contentaction-watch {
 /*
 ** footer
 */
-
 #portal-footer {
     background-color: White;
     border-top: 1px solid #fabd23;
@@ -897,20 +904,24 @@ li#contentaction-watch {
 }
 #portal-footer li {
     display: inline;
-    margin-right: 2em;
+    margin: 0 1.3em;
+}
+/* hide from incapable browsers */
+head:first-child+body #portal-footer li {
     white-space: nowrap;
 }
-
-#footer-poweredby, #footer-copyright {
-       margin: 0 8px;
-       position: relative;
-       top: -2px; /* Bump it up just a tad */
+#footer-poweredbyico, #footer-copyrightico {
+        margin: 0 8px;
+        position: relative;
+        top: -2px; /* Bump it up just a tad */
 }
-#footer-poweredby {
-       float: right;
+#footer-poweredbyico {
+        float: right;
+        height: 1%;
 }
-#footer-copyright {
-       float: left;
+#footer-copyrightico {
+        float: left;
+        height: 1%;
 }
 
 /* 
@@ -930,43 +941,41 @@ li#contentaction-watch {
 *>html #portlet-contentViews li.selected a {
     border-color: #fabd23;
 }
+/* footer icons need a fixed width */
+*>html #footer-poweredbyico,
+*>html #footer-copyrightico {
+    width: 88px;
+}
 
+/* more IE fixes */
 /* fixes for broken IE float handling */
-*>html #portal-column-content {
+* html #portal-column-content {
     display: inline;
 }
-/* more IE fixes */
-* html #bodyContent span.fullImage,
-* html #bodyContent pre {
+
+/* float/negative margin brokenness */
+* html #bodyContent pre,
+* html #bodyContent div.fullImage {
     overflow: auto;
-    margin-bottom: 1.5em;
+    overflow-y: hidden;
+    width: 95%;
+    margin-bottom: 25px;
+    margin-right: 0;
 }
-
+/* more float brokenness */
 * html #bodyContent {
     display: inline;
     overflow: auto;
     width: 100%;
 }
-
-/* opera 6 fixes */
-html>body #portal-column-one {
-    position: relative;
-    max-width: 11.7em;
-}
-head:first-child+body #portal-column-one {
-    position: static; 
-    width: auto;
+* html div.editsection {
+    font-size: smaller;
 }
 
-html>body #portlet-personal {
-    width: 45em;
-    margin-left: 8.6em;
-    right: 0;
-}
-head:first-child+body #portlet-personal {
-    margin-left: 0;
-    width: 100%;
-}
 /* debugging tool.. */
 /*div{ border:1px solid #000000;}*/
 
+.error {
+       color: red;
+       font-size: larger;
+}