MediaWiki:Monobook.css: Difference between revisions

From Wiki³
No edit summary
No edit summary
Line 1: Line 1:
<nowiki>/* CSS placed here will affect users of the Monobook skin */
/* CSS placed here will affect users of the Monobook skin */


@import url(/style/fonts/wiki.css);
@import url(/style/fonts/wiki.css);
Line 33: Line 33:


/*
/*
  ** {{Code|<code>}}
  ** {{Template:Code}}
  */
  */
.template-code {
.template-code {
Line 46: Line 46:
   white-space:pre }
   white-space:pre }


.template-note {
/*
** {{Template:Output}}
*/
.template-output {
   background-color:#c1ffc1;
   background-color:#c1ffc1;
   border:1px solid #00B000;
   border:1px solid #00B000;
Line 56: Line 59:
   white-space:pre }
   white-space:pre }


.template-pre {
/*
** {{Template:Note}}
*/
.template-note {
   background-color:#f9f9f9;
   background-color:#f9f9f9;
   border:1px dashed #2f6fab;
   border:1px dashed #2f6fab;
Line 66: Line 72:
   white-space:pre }
   white-space:pre }


/*
** {{Template:Mono}}
*/
.template-mono {
.template-mono {
   color:#007a00;
   color:#007a00;
Line 71: Line 80:
   font-size:11px;
   font-size:11px;
   line-height:12px }
   line-height:12px }
</nowiki>

Revision as of 21:29, 23 January 2012

/* CSS placed here will affect users of the Monobook skin */

@import url(/style/fonts/wiki.css);

body {
  background:#f1f1f1;
  color:#313131;
  font-family:'kWiki',Tahoma,Geneva,sans-serif }

#p-nav,#p-search,#p-tb,#footer {
  opacity:0.8 }

#p-cactions ul li,#p-cactions ul li a {
  -moz-border-radius-topleft:0.4em;
  -moz-border-radius-topright:0.4em }
#content {
  -moz-border-radius-topleft:0.6em;
  -moz-border-radius-bottomleft: 0.6em }
div.pBody {
  -moz-border-radius-topright:0.4em;
  -moz-border-radius-bottomright:0.4em }

input {
  font-family:'kWiki',Tahoma,Geneva,sans-serif }

pre,textarea {
  font-family:'kWiki Mono','Lucida Console',Monaco,monospace;
  font-size:12px }

/* make the list of references look smaller and highlight clicked reference in blue */
ol.references > li:target { background-color:#ddeeff; }
sup.reference:target { background-color:#ddeeff; }

/*
 ** {{Template:Code}}
 */
.template-code {
  background-color:#ffe0e0;
  border:1px solid #cc6666;
  border-left:10px solid #cc6666;
  font-family:'kWiki Mono','Lucida Console',Monaco,monospace;
  font-size:12px;
  line-height:12px;
  margin:0 .5em;
  padding:2px 5px;
  white-space:pre }

/*
 ** {{Template:Output}}
 */
.template-output {
  background-color:#c1ffc1;
  border:1px solid #00B000;
  font-family:'kWiki Mono','Lucida Console',Monaco,monospace;
  font-size:12px;
  line-height:12px;
  margin:0 .2em;
  padding:.2em .3em;
  white-space:pre }

/*
 ** {{Template:Note}}
 */
.template-note {
  background-color:#f9f9f9;
  border:1px dashed #2f6fab;
  font-family:'kWiki Mono','Lucida Console',Monaco,monospace;
  font-size:12px;
  line-height:12px;
  margin:5px;
  padding:4px 5px;
  white-space:pre }

/*
 ** {{Template:Mono}}
 */
.template-mono {
  color:#007a00;
  font-family:'kWiki Mono','Lucida Console',Monaco,monospace;
  font-size:11px;
  line-height:12px }