cleanup to CSS files (spaces -> tabs for indentation, trimmed trailing spaces, update...
[lhc/web/wiklou.git] / skins / modern / main.css
index 238737f..e3946b2 100644 (file)
@@ -69,7 +69,8 @@ body {
 }
 
 #p-personal li {
-       display: block; float: left;
+       display: block;
+       float: left;
        height: 1.5em;
        margin: 0 0 0 0;
        vertical-align: middle;
@@ -153,19 +154,11 @@ textarea {
 }
 
 #searchInput {
-       display: block;
+       width: 85%;
        margin-left: auto;
        margin-right: auto;
 }
 
-/** safari and chrome specific hack for search box (bug #19194) **/
-@media screen and (-webkit-min-device-pixel-ratio:0) {
-    #searchInput {
-        display: inline;
-    }
-}
-
-
 #p-search #searchform div div {
        margin-top: .4em;
 }
@@ -309,27 +302,27 @@ hr {
 }
 
 a {
-        text-decoration: none;
-        color: #003366;
-        background: none;
+       text-decoration: none;
+       color: #003366;
+       background: none;
 }
 a:visited {
-        color: #5a3696;
+       color: #5a3696;
 }
 a:active {
-        color: #faa700;
+       color: #faa700;
 }
 a:hover {
-        text-decoration: underline;
+       text-decoration: underline;
 }
 a.stub {
-        color: #772233;
+       color: #772233;
 }
 a.new {
-        color: #ba0000;
+       color: #ba0000;
 }
 a.new:visited {
-        color: #a55858;
+       color: #a55858;
 }
 
 span.editsection {
@@ -410,33 +403,33 @@ h1, h2 {
 
 #mw_content a.external,
 #mw_content a[href ^="gopher://"] {
-        background: url(external.png) center right no-repeat;
-        padding-right: 13px;
+       background: url(external.png) center right no-repeat;
+       padding-right: 13px;
 }
 #mw_content a[href ^="https://"],
 .link-https {
-        background: url(lock_icon.gif) center right no-repeat;
-        padding-right: 16px;
+       background: url(lock_icon.gif) center right no-repeat;
+       padding-right: 16px;
 }
 #mw_content a[href ^="mailto:"],
 .link-mailto {
-        background: url(mail_icon.gif) center right no-repeat;
-        padding-right: 18px;
+       background: url(mail_icon.gif) center right no-repeat;
+       padding-right: 18px;
 }
 #mw_content a[href ^="news://"] {
-        background: url(news_icon.png) center right no-repeat;
-        padding-right: 18px;
+       background: url(news_icon.png) center right no-repeat;
+       padding-right: 18px;
 }
 #mw_content a[href ^="ftp://"],
 .link-ftp {
-        background: url(file_icon.gif) center right no-repeat;
-        padding-right: 18px;
+       background: url(file_icon.gif) center right no-repeat;
+       padding-right: 18px;
 }
 #mw_content a[href ^="irc://"],
 #mw_content a.extiw[href ^="irc://"],
 .link-irc {
-        background: url(discussionitem_icon.gif) center right no-repeat;
-        padding-right: 18px;
+       background: url(discussionitem_icon.gif) center right no-repeat;
+       padding-right: 18px;
 }
 
 #mw_content a.external[href $=".ogg"], #mw_content a.external[href $=".OGG"],
@@ -446,23 +439,23 @@ h1, h2 {
 #mw_content a.external[href $=".wav"], #mw_content a.external[href $=".WAV"],
 #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
 .link-audio {
-        background: url("audio.png") center right no-repeat;
-        padding-right: 13px;
+       background: url("audio.png") center right no-repeat;
+       padding-right: 13px;
 }
 #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
 #mw_content a.external[href $=".avi"], #mw_content a.external[href $=".AVI"],
 #mw_content a.external[href $=".mpeg"], #mw_content a.external[href $=".MPEG"],
 #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
 .link-video {
-        background: url("video.png") center right no-repeat;
-        padding-right: 13px;
+       background: url("video.png") center right no-repeat;
+       padding-right: 13px;
 }
 #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
 #mw_content a.external[href *=".pdf#"], #mw_content a.external[href *=".PDF#"],
 #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
 .link-document {
-        background: url("document.png") center right no-repeat;
-        padding-right: 12px;
+       background: url("document.png") center right no-repeat;
+       padding-right: 12px;
 }
 
 /* images */
@@ -703,30 +696,6 @@ input#wpSave, input#wpDiff {
        font-weight: bold;
 }
 
-/* Classes for article validation */
-
-table.revisionform_default {
-       border: 1px solid #000000;
-}
-
-table.revisionform_focus {
-       border: 1px solid #000000;
-       background-color:#00BBFF;
-}
-
-tr.revision_tr_default {
-       background-color:#EEEEEE;
-}
-
-tr.revision_tr_first {
-       background-color:#DDDDDD;
-}
-
-p.revision_saved {
-       color: green;
-       font-weight:bold;
-}
-
 /* noarticletext */
 div.noarticletext {
        border: 1px solid #ccc;
@@ -759,40 +728,40 @@ div#searchTarget ul li:before {
 }
 
 div#searchTargetHide {
-       float:right;
-       border:solid 1px black;
-       background:gainsboro;
-       padding:2px;
+       float: right;
+       border: solid 1px black;
+       background: gainsboro;
+       padding: 2px;
 }
 
 div.multipageimagenavbox {
-   border: solid 1px silver;
-   padding: 4px;
-   margin: 1em;
-   background: #f0f0f0;
+       border: solid 1px silver;
+       padding: 4px;
+       margin: 1em;
+       background: #f0f0f0;
 }
 
 div.multipageimagenavbox div.thumb {
-   border: none;
-   margin-left: 2em;
-   margin-right: 2em;
+       border: none;
+       margin-left: 2em;
+       margin-right: 2em;
 }
 
 div.multipageimagenavbox hr {
-   margin: 6px;
+       margin: 6px;
 }
 
 table.multipageimage td {
-   text-align: center;
+       text-align: center;
 }
 
 /*
-  Table pager (e.g. Special:Imagelist)
-  - remove underlines from the navigation link
-  - collapse borders
-  - set the borders to outsets (similar to Special:Allmessages)
-  - remove line wrapping for all td and th, set background color
-  - restore line wrapping for the last two table cells (description and size)
+       Table pager (e.g. Special:ListFiles)
+       - remove underlines from the navigation link
+       - collapse borders
+       - set the borders to outsets (similar to Special:AllMessages)
+       - remove line wrapping for all td and th, set background color
+       - restore line wrapping for the last two table cells (description and size)
 */
 .TablePager_nav a { text-decoration: none; }
 .TablePager { border-collapse: collapse; }
@@ -800,14 +769,14 @@ table.multipageimage td {
        border: 1px solid #aaaaaa;
        padding: 0 0.15em 0 0.15em;
 }
-.TablePager th { background-color: #eeeeff }
-.TablePager td { background-color: #ffffff }
-.TablePager tr:hover td { background-color: #eeeeff }
+.TablePager th { background-color: #eeeeff; }
+.TablePager td { background-color: #ffffff; }
+.TablePager tr:hover td { background-color: #eeeeff; }
 
-.imagelist td, .imagelist th { white-space: nowrap }
-.imagelist .TablePager_col_links { background-color: #eeeeff }
-.imagelist .TablePager_col_img_description { white-space: normal }
-.imagelist th.TablePager_sort { background-color: #ccccff }
+.imagelist td, .imagelist th { white-space: nowrap; }
+.imagelist .TablePager_col_links { background-color: #eeeeff; }
+.imagelist .TablePager_col_img_description { white-space: normal; }
+.imagelist th.TablePager_sort { background-color: #ccccff; }
 
 .templatesUsed { margin-top: 1.5em; }
 
@@ -898,8 +867,8 @@ pre {
 }
 
 .mw-topbox {
-        color: black;
-        font-weight: bold;
+       color: black;
+       font-weight: bold;
        margin: 0 0 0 0;
        padding: 0 1em 0 1em;
        vertical-align: middle;
@@ -913,19 +882,19 @@ pre {
 
 /* emulate center */
 .center {
-     width:100%;
-     text-align:center;
+       width: 100%;
+       text-align: center;
 }
 *.center * {
-     margin-left:auto;
-     margin-right:auto;
+       margin-left: auto;
+       margin-right: auto;
 }
 
 /* table standards */
 .toccolours {
-    border:1px solid #bbbbbb;
-    background-color:#f0f0f0;
-    border-spacing:0pt;
-    margin:0pt;
-    padding:0pt;
+       border: 1px solid #bbbbbb;
+       background-color: #f0f0f0;
+       border-spacing: 0pt;
+       margin: 0pt;
+       padding: 0pt;
 }