(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix...
[lhc/web/wiklou.git] / skins / monobook / main.css
index ab9fc51..f35b588 100644 (file)
@@ -62,14 +62,6 @@ div#globalWrapper {
 
 table {
        font-size: 100%;
-       color: black;
-       /* we don't want the bottom borders of <h2>s to be visible through
-          floated tables */
-       background-color: white;
-}
-fieldset table {
-       /* but keep table layouts in forms clean... */
-       background: none;
 }
 a {
        text-decoration: none;
@@ -120,6 +112,7 @@ h1, h2, h3, h4, h5, h6 {
        background: none;
        font-weight: normal;
        margin: 0;
+       overflow: hidden;
        padding-top: .5em;
        padding-bottom: .17em;
        border-bottom: 1px solid #aaa;
@@ -280,6 +273,7 @@ span.subpages {
        vertical-align: middle;
 }
 #siteNotice {
+       position: relative;
        text-align: center;
        font-size: 95%;
        padding: 0 0.9em;
@@ -323,7 +317,7 @@ in the bottom-right corner of the content area */
        margin-right: auto;
 }
 /* small for tables and similar */
-.small, .small * {
+.small {
        font-size: 94%;
 }
 table.small {
@@ -450,14 +444,11 @@ div.tright {
 div.tleft {
        float: left;
        clear: left;
-       margin: .5em 1.9em 1.3em 0;
+       margin: .5em 1.4em 1.3em 0;
 }
 img.thumbborder {
        border: 1px solid #dddddd;
 }
-.hiddenStructure {
-       display: none;
-}
 
 /*
 ** classes for special content elements like town boxes
@@ -525,6 +516,7 @@ table.rimage {
        padding-right: 18px;
 }
 #bodyContent a.external[href ^="irc://"],
+#bodyContent a.external[href ^="ircs://"],
 .link-irc {
        /* @embed */
        background: url(discussionitem_icon.gif) center right no-repeat;
@@ -558,15 +550,38 @@ table.rimage {
        background: url("document.png") center right no-repeat;
        padding-right: 12px;
 }
-
-/* disable interwiki styling */
+/* Interwiki Styling */
 #bodyContent a.extiw,
 #bodyContent a.extiw:active {
        color: #36b;
+       /* Don't show icons for interwiki links */
+       background: none;
+       padding: 0;
+}
+#bodyContent a.extiw:visited {
+       color: #636;
 }
+#bodyContent a.extiw:active {
+       color: #b63;
+}
+
+/* External links */
 #bodyContent a.external {
        color: #36b;
 }
+#bodyContent a.external:visited {
+       color: #636; /* bug 3112 */
+}
+#bodyContent a.external:active {
+       color: #b63;
+}
+/* External URLs should always be treated as LTR (bug 4330) */
+div#content .rtl a.external {
+       direction: ltr;
+       unicode-bidi: embed;
+}
+
 /*
 ** Structural Elements
 */
@@ -869,9 +884,6 @@ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
        border: 0;
        padding: 0;
 }
-#p-cactions .hiddenStructure {
-       display: none;
-}
 #p-cactions li a {
        text-transform: lowercase;
 }
@@ -1271,4 +1283,4 @@ div.mw-lag-warn-high {
 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
 .tipsy {
        font-size: 127%;
-}
\ No newline at end of file
+}