add noprint to mobileview
[lhc/web/wiklou.git] / skins / common / commonPrint.css
index 6672c79..666f4f3 100644 (file)
@@ -1,10 +1,10 @@
-/*
-** MediaWiki Print style sheet for CSS2-capable browsers.
-** Copyright Gabriel Wicke, http://www.aulinx.de/
-**
-** Derived from the plone (http://plone.org/) styles
-** Copyright Alexander Limi
-*/
+/**
+ * MediaWiki Print style sheet for CSS2-capable browsers.
+ * Copyright Gabriel Wicke, http://www.aulinx.de/
+ *
+ * Derived from the plone (http://plone.org/) styles
+ * Copyright Alexander Limi
+ */
 
 /* Thanks to A List Apart (http://alistapart.com/) for useful extras */
 a.stub,
@@ -18,12 +18,6 @@ a.new {
        background-color: #f9f9f9;
        padding: 5px;
 }
-.tocindent {
-       margin-left: 2em;
-}
-.tocline {
-       margin-bottom: 0px;
-}
 
 /* images */
 div.floatright {
@@ -105,15 +99,15 @@ table.rimage {
 }
 
 body {
-       background: White;
-       /*font-size: 11pt !important;*/
-       color: Black;
+       background: white;
+       color: black;
        margin: 0;
        padding: 0;
 }
 
 .noprint,
 div#jump-to-nav,
+.mw-jump,
 div.top,
 div#column-one,
 #colophon,
@@ -125,12 +119,13 @@ div#f-copyrightico,
 li#viewcount,
 li#about,
 li#disclaimer,
+li#mobileview,
 li#privacy,
 #footer-places,
 .mw-hidden-catlinks,
 tr.mw-metadata-show-hide-extended,
 span.mw-filepage-other-resolutions,
-ul#filetoc {
+#filetoc {
        /* Hides all the elements irrelevant for printing */
        display: none;
 }
@@ -141,9 +136,9 @@ ul {
 
 #content {
        background: none;
-       border: none ! important;
-       padding: 0 ! important;
-       margin: 0 ! important;
+       border: none !important;
+       padding: 0 !important;
+       margin: 0 !important;
        direction: ltr;
 }
 #footer {
@@ -158,15 +153,11 @@ h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
 }
 
-p, .documentDescription {
-       margin: 1em 0 ! important;
+p {
+       margin: 1em 0;
        line-height: 1.2em;
 }
 
-.tocindent p {
-       margin: 0 0 0 0 ! important;
-}
-
 pre {
        border: 1pt dashed black;
        white-space: pre;
@@ -184,7 +175,7 @@ table.listing td {
 }
 
 a {
-       color: Black !important;
+       color: black !important;
        background: none !important;
        padding: 0 !important;
 }
@@ -195,7 +186,8 @@ a:link, a:visited {
        text-decoration: underline;
 }
 
-#content a.external.text:after, #content a.external.autonumber:after {
+#content a.external.text:after,
+#content a.external.autonumber:after {
        /* Expand URLs for printing */
        content: " (" attr(href) ") ";
 }
@@ -218,16 +210,23 @@ a:link, a:visited {
        padding: 1em;
        margin: 0 !important;
 }
+
 /* MSIE/Win doesn't understand 'inherit' */
-a, a.external, a.new, a.stub {
-       color: black ! important;
-       text-decoration: none ! important;
+a,
+a.external,
+a.new,
+a.stub {
+       color: black !important;
+       text-decoration: none !important;
 }
 
 /* Continue ... */
-a, a.external, a.new, a.stub {
-       color: inherit ! important;
-       text-decoration: inherit ! important;
+a,
+a.external,
+a.new,
+a.stub {
+       color: inherit !important;
+       text-decoration: inherit !important;
 }
 
 img {
@@ -236,9 +235,13 @@ img {
 }
 
 /* math */
-span.texhtml { font-family: serif; }
+span.texhtml {
+       font-family: serif;
+}
 
-#siteNotice { display: none; }
+#siteNotice {
+       display: none;
+}
 
 /* Galleries (see shared.css for more info) */
 li.gallerybox {
@@ -278,9 +281,10 @@ div.gallerytext {
        padding: 2px 4px;
        word-wrap: break-word;
 }
-/*
-** Diff rendering
-*/
+
+/**
+ * Diff rendering
+ */
 table.diff {
        background: white;
 }
@@ -310,10 +314,10 @@ td.diff-context {
        text-decoration: underline;
 }
 
-/*
-** Table rendering
-** As on shared.css but with white background.
-*/
+/**
+ * Table rendering
+ * As on shared.css but with white background.
+ */
 table.wikitable,
 table.mw_metadata {
        margin: 1em 1em 1em 0;
@@ -338,7 +342,7 @@ table.mw_metadata {
 }
 
 a.sortheader {
-       margin: 0px 0.3em;
+       margin: 0 0.3em;
 }
 
 /* Some pagination options */
@@ -358,7 +362,8 @@ p {
  */
 .catlinks ul {
        display: inline;
-       margin: 0px;
+       margin: 0;
+       padding: 0;
        list-style: none;
        list-style-type: none;
        list-style-image: none;
@@ -378,4 +383,4 @@ p {
 .catlinks li:first-child {
        padding-left: .2em;
        border-left: none;
-}
\ No newline at end of file
+}