MediaWiki:Monobook.css

From Wiki³
Revision as of 15:21, 7 February 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
 */
a:link, a:visited {
  color:#0645ad !important }
a.new:link, a.new:visited {
  color:#cc2200 !important }
a.extiw:link, a.extiw:visited {
  color:#3366bb !important }
a.external:link, a.external:visited {
  color:#3366bb !important }

body {
  background:#f1f1f1;
  background-attachment:fixed;
  color:#313131;
  font-family:'Ubuntu Condensed',Tahoma,Geneva,sans-serif;
  font-size:10px;
  line-height:100% }

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

input {
  font-family:'Ubuntu Condensed',Tahoma,Geneva,sans-serif;
  font-size:10px;
  line-height:100% }

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

/*
 ** Left Sidepanel Containers
 */
#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 }

/*
 ** Fixed Sidebar
 */
div[id=column-one] {
  position:fixed;
  height:100%;
  overflow: auto;
  z-index:2; }
div#p-lang .pBody ul{
  height:10em;
  overflow:auto; }
div#footer {
  margin-left:13.6em;
  border-left:solid 1px rgb(250, 189, 35);
  -moz-border-radius-topleft:1em; 
  -moz-border-radius-bottomleft:1em; }
#p-personal {
    width:100%;
    white-space:nowrap;
    padding:0 0 0 0;
    margin:0;
    position:absolute;
    left:0px;
    top:0px;
    z-index: 0;
    border: none;
    background: none;
    overflow: visible;
    line-height: 1.2em;
}

#p-personal h5 {
    display:none;
}
#p-personal .portlet,
#p-personal .pBody {
    padding:0;
    margin:0;
    border: none;
    z-index:0;
    overflow: visible;
    background: none;
}
/* this is the ul contained in the portlet */
#p-personal ul {
    border: none;
    line-height: 1.4em;
    color: #2f6fab;
    padding: 0em 2em 0 3em;
    margin: 0;
    text-align: right;
    text-transform: lowercase;
    list-style: none;
    z-index:0;
    background: none;
}
#p-personal li {
    z-index:0;
    border:none;
    padding:0;
    display: inline;
    color: #2f6fab;
    margin-left: 1em;
    line-height: 1.2em;
    background: none;
}
#p-personal li a {
    text-decoration: none;
    color: #005896;
    padding-bottom: 0.2em;
    background: none;
}
#p-personal li a:hover {
    background-color: White;
    padding-bottom: 0.2em;
    text-decoration: none;
}

/*
 ** Highlight Clicked References
 */
ol.references > li:target { background-color:#ddeeff; }
sup.reference:target { background-color:#ddeeff; }

/*
 ** Right Aligned TOC
 */
div#tocalign {
  float:right;
  margin-left:25px }
/*
 ** {{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:12px;
  line-height:100%;
  margin:0 4px;
  padding:2px 6px;
  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:12px;
  line-height:100%;
  margin:0 4px;
  padding:4px 8px;
  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:12px;
  line-height:100%;
  margin:0 4px;
  padding:4px 8px;
  white-space:pre }

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

/*
 ** {{Template:Icon}}
 */
.template-icon {
  position:relative;
  top:-1px }

/*
 ** {{Template:IconFix}}
 */
.template-iconfix {
  position:relative;
  top:-3px }

/*
 ** {{Template:Infobox}}
 */
.template-infobox {
  background-color:#f1f1f1;
  border:1px solid #666;
  float:right;
  padding:4px }

/*
 ** {{Template:Hardware}}
 */
.template-hardware td {
  border-bottom:1px solid #ccc;
  padding:2px 6px }
.template-hardware th {
  background-color:#ccc }