Merge "(bug 15853) Wrong entries in history feed"
[lhc/web/wiklou.git] / skins / common / commonElements.css
index a783f2b..02fd29f 100644 (file)
@@ -1,6 +1,7 @@
-/*
-** MediaWiki style sheet for general styles on basic content elements
-*/
+/**
+ * MediaWiki style sheet for general styles on basic content elements
+ * This style sheet is used by the monobook and vector skins
+ */
 
 /* Links */
 a {
@@ -31,9 +32,6 @@ a.new:visited, #p-personal a.new:visited {
 .mw-body a.extiw,
 .mw-body a.extiw:active {
        color: #36b;
-       /* Don't show icons for interwiki links */
-       background: none;
-       padding: 0;
 }
 .mw-body a.extiw:visited {
        color: #636;
@@ -81,12 +79,19 @@ h6 {
        padding-top: .5em;
        padding-bottom: .17em;
        border-bottom: 1px solid #aaa;
-       width: auto;
 }
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
+h1 {
+       font-size: 188%;
+}
+h1 .editsection {
+       font-size: 53%;
+}
+h2 {
+       font-size: 150%;
+}
+h2 .editsection {
+       font-size: 67%;
+}
 h3,
 h4,
 h5,
@@ -94,14 +99,43 @@ h6 {
        border-bottom: none;
        font-weight: bold;
 }
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%;  }
-h6 .editsection { font-size: 125%; font-weight: normal; }
+h3 {
+       font-size: 132%;
+}
+h3 .editsection {
+       font-size: 76%;
+       font-weight: normal;
+}
+h4 {
+       font-size: 116%;
+}
+h4 .editsection {
+       font-size: 86%;
+       font-weight: normal; }
+h5 {
+       font-size: 100%;
+}
+h5 .editsection {
+       font-weight: normal;
+}
+h6 {
+       font-size: 80%;
+}
+h6 .editsection {
+       font-size: 125%;
+       font-weight: normal;
+}
+
+/* Some space under the headers in the content area */
+h1,
+h2 {
+       margin-bottom: .6em;
+}
+h3,
+h4,
+h5 {
+       margin-bottom: .3em;
+}
 
 p {
        margin: .4em 0 .5em 0;
@@ -114,7 +148,7 @@ p img {
 ul {
        line-height: 1.5em;
        list-style-type: square;
-       margin: .3em 0 0 1.5em;
+       margin: .3em 0 0 1.6em;
        padding: 0;
 }
 ol {
@@ -136,7 +170,7 @@ dl {
 }
 dd {
        line-height: 1.5em;
-       margin-left: 2em;
+       margin-left: 1.6em;
        margin-bottom: .1em;
 }
 
@@ -149,17 +183,17 @@ blockquote {
        font-family: Times, "Times New Roman", serif;
        font-style: italic;
 }*/
-pre, code, tt, kbd, samp {
+pre, code, tt, kbd, samp, .mw-code {
        /*
-        * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
-        * too small otherwise, namely Firefox, Chrome and Safari
+        * Some browsers will render the monospace text too small, namely Firefox, Chrome and Safari.
+        * Specifying any valid, second value will trigger correct behaviour without forcing a different font.
         */
-       font-family: monospace, "Courier New";
+       font-family: monospace, Courier;
 }
 code {
        background-color: #f9f9f9;
 }
-pre {
+pre, .mw-code {
        padding: 1em;
        border: 1px dashed #2f6fab;
        color: black;