Användare:KTH.SE:u1tyze7e/commonprint.css

Sommarmatte 2

(Skillnad mellan versioner)
Hoppa till: navigering, sök
Versionen från 13 juni 2007 kl. 12.47 (redigera)
KTH.SE:u1tyze7e (Diskussion | bidrag)
(Ny sida: /* ** 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...)
← Gå till föregående ändring
Nuvarande version (13 juni 2007 kl. 12.50) (redigera) (ogör)
KTH.SE:u1tyze7e (Diskussion | bidrag)
m (flyttade Användare:KTH.SE:u1tyze7e/commonPrint.css till Användare:KTH.SE:u1tyze7e/commonprint.css: ändrat till små bokstäver.)
 

Nuvarande version

/*

/* Thanks to A List Apart (http://alistapart.com/) for useful extras */ a.stub, a.new{ color:#ba0000; text-decoration:none; }

  1. toc {
   /*border:1px solid #2f6fab;*/
   border:1px solid #aaaaaa;
   background-color:#f9f9f9;
   padding:5px;

} .tocindent { margin-left: 2em; } .tocline { margin-bottom: 0px; }

/* images */ div.floatright {

   float: right;
   clear: right;
   margin: 0;
   position:relative;
   border: 0.5em solid White;
   border-width: 0.5em 0 0.8em 1.4em;

} div.floatright p { font-style: italic;} div.floatleft {

   float: left; 
   margin: 0.3em 0.5em 0.5em 0;
   position:relative;
   border: 0.5em solid White;
   border-width: 0.5em 1.4em 0.8em 0;

} div.floatleft p { font-style: italic; } /* thumbnails */ div.thumb {

   margin-bottom: 0.5em;
   border-style: solid; border-color: White;
   width: auto;
   overflow: hidden;

} div.thumb div {

   border:1px solid #cccccc;
   padding: 3px !important;
   background-color:#f9f9f9;
   font-size: 94%;
   text-align: center;

} div.thumb div a img {

   border:1px solid #cccccc;

} div.thumb div div.thumbcaption {

   border: none;
   padding: 0.3em 0 0.1em 0;

} div.magnify { display: none; } div.tright {

   float: right;
   clear: right;
   border-width: 0.5em 0 0.8em 1.4em;

} div.tleft {

   float: left;
   margin-right:0.5em;
   border-width: 0.5em 1.4em 0.8em 0;

}

/* table standards */ table.rimage {

   float:right; 
   width:1pt; 
   position:relative;
   margin-left:1em; 
   margin-bottom:1em;
   text-align:center;

}

body {

   background: White;
   /*font-size: 11pt !important;*/
   color: Black;
   margin: 0;
   padding: 0;

}

.noprint, div#jump-to-nav, div.top, div#column-one,

  1. colophon,

.editsection, .toctoggle, .tochidden, div#f-poweredbyico, div#f-copyrightico, li#viewcount, li#about, li#disclaimer, li#privacy {

   /* Hides all the elements irrelevant for printing */
   display: none;

}

ul {

   list-style-type: square;

}

  1. content {
   background: none;
   border: none ! important;
   font-size: 11pt;
   padding: 0 ! important;
   margin: 0 ! important;

}

  1. footer {

background : white; color : black;

   border-top: 1px solid black;

}

h1, h2, h3, h4, h5, h6 { font-weight: bold; }

p, .documentDescription {

   margin: 1em 0 ! important;
   line-height: 1.2em;

}

.tocindent p { margin: 0 0 0 0 ! important; }

pre {

   border: 1pt dashed black;
   white-space: pre;
   font-size: 8pt;
   overflow: auto;
   padding: 1em 0;

background : white; color : black; }

table.listing, table.listing td {

   border: 1pt solid black;
   border-collapse: collapse;

}

a {

   color: Black !important;
   background: none !important;
   padding: 0 !important;

}

a:link, a:visited {

   color: #520;
   background: transparent;
   text-decoration: underline;

}

  1. content a.external.text:after, #content a.external.autonumber:after {
   /* Expand URLs for printing */
   content: " (" attr(href) ") ";

}

  1. globalWrapper {
   width: 100% !important;
   min-width: 0 !important;

}

  1. content {

background : white; color : black; }

  1. column-content {
   margin: 0 !important;

}

  1. column-content #content {
   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; }

/* Continue ... */ a, a.external, a.new, a.stub { color: inherit ! important; text-decoration: inherit ! important; }

img { border: none; } img.tex { vertical-align: middle; } span.texhtml { font-family: serif; }

div.townBox {

   position:relative;
   float:right;
   background:White;
   margin-left:1em;
   border: 1px solid gray;
   padding:0.3em;
   width: 200px;
   overflow: hidden;
   clear: right;

} div.townBox dl {

   padding: 0;
   margin: 0 0 0.3em 0; 
   font-size: 96%;

} div.townBox dl dt {

   background: none;
   margin: 0.4em 0 0 0;

} div.townBox dl dd {

   margin: 0.1em 0 0 1.1em;
   background-color: #f3f3f3;

}

  1. siteNotice { display: none; }

table.gallery {

       border:  1px solid #cccccc;
       margin:  2px;
       padding: 2px;
       background-color:#ffffff;

}

table.gallery tr {

       vertical-align:top;

}

div.gallerybox {

       border: 1px solid #cccccc;
       margin: 2px;
       background-color:#f9f9f9;
       width:  150px;

}

div.gallerybox div.thumb {

       text-align: center;
       border: 1px solid #cccccc;
       margin: 2px;

}

div.gallerytext {

       font-size: 94%;
       padding: 2px 4px;

}

/*

    • Diff rendering
  • /

table.diff { background:white; } td.diff-otitle { background:#ffffff; } td.diff-ntitle { background:#ffffff; } td.diff-addedline {

   background:#ccffcc;
   font-size: smaller;
   border: solid 2px black;

} td.diff-deletedline {

   background:#ffffaa;
   font-size: smaller;
   border: dotted 2px black;

} td.diff-context {

   background:#eeeeee;
   font-size: smaller;

} span.diffchange { color: silver; font-weight: bold; text-decoration: underline; }


/* begin math.se sf0600 */

.inforuta { float:left; clear:left; margin:0em; padding-bottom: 1em; padding: 0.5em; background-color: #E2F1F7; border:1px solid #CFCFCF; width:580px; margin-bottom: 2em; }

.ovning { margin:0em; margin-right:0px; padding:0.5em; border:1px solid #CFCFCF; width:580px; margin-bottom: 2em; }

/*rätt-fel ruta*/

.rfframe { background-color:#FFFFFF; margin:10px; margin-right:0px; padding:0px; border:1px solid #CFCFCF; /* width:100%; */ width:580px; }

.rfhead { background-color:#FFFFFF; padding: 0.5em; border-bottom:1px solid #E2F1F7; }

.rfbody { padding: 0.5em; padding-bottom: 1em; }

/* tillfällig */ /* disabled ... */

.NavFrame { margin:0em; margin-right:0px; padding:0.5em; border:1px solid #CFCFCF; width:580px; margin-bottom: 2em; }


.NavHead { background-color: #E2F1F7; }


.NavContent { background-color: #E0D1DE; }

/* ... disabled */

.exempel { margin:0em; margin-right:0px; padding:0.5em; border:1px solid #CFCFCF; width:580px; margin-bottom: 2em; }

.teori { margin:0em; margin-right:0px; padding:0em; width:580px; margin-bottom: 2em; }

.tips { margin:0em; margin-right:0px; padding:0.5em; border:1px solid #CFCFCF; width:540px; margin-bottom: 2em; margin-left:20px; margin-right:20px; }

.regel { margin:0em; margin-right:0px; padding:0.5em; background-color: #E0D1DE; border:1px solid #CFCFCF; width:580px; margin-bottom: 2em; }


/* end math.se sf0600 */

Personliga verktyg