MediaWiki:Monobook.css

From Wiki³
Revision as of 21:43, 23 January 2012 by Kyau (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
 ** CSS Additions for Monobook skin
 */
@import url(/style/fonts/wiki.css);

/*
 ** General CSS
 */
body {
  background:#f1f1f1;
  color:#313131;
  font-family:'Ubuntu Condensed',Tahoma,Geneva,sans-serif }

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

pre,textarea {
  font-family:'Envy Code R','Lucida Console',Monaco,monospace;
  font-size:90%;
  line-height:100% }

/*
 ** General CSS
 */
#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 }

/* 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:'Envy Code R','Lucida Console',Monaco,monospace;
  font-size:90%;
  margin:0 .5em;
  padding:2px 5px;
  white-space:pre }

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

/*
 ** {{Template:Note}}
 */
.template-note {
  background-color:#f9f9f9;
  border:1px dashed #2f6fab;
  font-family:'Envy Code R','Lucida Console',Monaco,monospace;
  font-size:90%;
  margin:5px;
  padding:4px 5px;
  white-space:pre }

/*
 ** {{Template:Mono}}
 */
.template-mono {
  color:#007a00;
  font-family:'Envy Code R','Lucida Console',Monaco,monospace;
  font-size:90% }