MediaWiki:Monobook.css: Difference between revisions

From Wiki³
No edit summary
mNo edit summary
Line 8: Line 8:
  */
  */
a:link, a:visited {
a:link, a:visited {
   color:#0645ad !important }
   color:#0645ad !important; }
a.new:link, a.new:visited {
a.new:link, a.new:visited {
   color:#cc2200 !important }
   color:#cc2200 !important; }
a.extiw:link, a.extiw:visited {
a.extiw:link, a.extiw:visited {
   color:#3366bb !important }
   color:#3366bb !important; }
a.external:link, a.external:visited {
a.external:link, a.external:visited {
   color:#3366bb !important }
   color:#3366bb !important; }


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


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


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


pre,textarea {
pre,textarea {
   font-family:'Envy Code R','Lucida Console',Monaco,monospace;
   font-family:'Envy Code R','Lucida Console',Monaco,monospace;
   font-size:12px;
   font-size:12px;
   line-height:100% }
   line-height:100%;
  /* Prevent sidewards scrolling in pre elements */
  overflow:auto;
  max-height:25em; }


/*
/*
Line 40: Line 43:
  */
  */
#p-nav,#p-search,#p-tb,#footer {
#p-nav,#p-search,#p-tb,#footer {
   opacity:0.8 }
   opacity:0.8; }
#p-cactions ul li,#p-cactions ul li a {
#p-cactions ul li,#p-cactions ul li a {
   -moz-border-radius-topleft:0.4em;
   -moz-border-radius-topleft:0.4em;
   -moz-border-radius-topright:0.4em }
   -moz-border-radius-topright:0.4em; }
#content {
#content {
   -moz-border-radius-topleft:0.6em;
   -moz-border-radius-topleft:0.6em;
   -moz-border-radius-bottomleft: 0.6em }
   -moz-border-radius-bottomleft: 0.6em; }
div.pBody {
div.pBody {
   -moz-border-radius-topright:0.4em;
   -moz-border-radius-topright:0.4em;
   -moz-border-radius-bottomright:0.4em }
   -moz-border-radius-bottomright:0.4em; }


/*
/*
  ** Fixed Sidebar
  ** Fixed Sidebar
  */
  */
div#mw-panel {
#mw-panel {
   position:fixed;
   position:fixed;
   overflow:auto;
   overflow:auto;
Line 62: Line 65:
   /* Prevent content overlay when sidewards scrolling */
   /* Prevent content overlay when sidewards scrolling */
   background-color:#f6f6f6;
   background-color:#f6f6f6;
   border-right:1px solid #a7d7f9 }
   border-right:1px solid #a7d7f9; }
pre {
  /* Prevent sidewards scrolling in pre elements */
  overflow:auto;
  max-height:25em }


/*
/*
Line 79: Line 78:
div#tocalign {
div#tocalign {
   float:right;
   float:right;
   margin-left:25px }
   margin-left:25px; }
/*
/*
  ** {{Template:Code}}
  ** {{Template:Code}}
Line 92: Line 91:
   margin:0 4px;
   margin:0 4px;
   padding:2px 6px;
   padding:2px 6px;
   white-space:pre }
   white-space:pre; }


/*
/*
Line 105: Line 104:
   margin:0 4px;
   margin:0 4px;
   padding:4px 8px;
   padding:4px 8px;
   white-space:pre }
   white-space:pre; }


/*
/*
Line 118: Line 117:
   margin:0 4px;
   margin:0 4px;
   padding:4px 8px;
   padding:4px 8px;
   white-space:pre }
   white-space:pre; }


/*
/*
Line 127: Line 126:
   font-family:'Envy Code R','Lucida Console',Monaco,monospace;
   font-family:'Envy Code R','Lucida Console',Monaco,monospace;
   font-size:12px;
   font-size:12px;
   line-height:100% }
   line-height:100%; }


/*
/*
Line 134: Line 133:
.template-icon {
.template-icon {
   position:relative;
   position:relative;
   top:-1px }
   top:-1px; }


/*
/*
Line 141: Line 140:
.template-iconfix {
.template-iconfix {
   position:relative;
   position:relative;
   top:-3px }
   top:-3px; }


/*
/*
Line 150: Line 149:
   border:1px solid #666;
   border:1px solid #666;
   float:right;
   float:right;
   padding:4px }
   padding:4px; }


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

Revision as of 15:15, 7 February 2012

/*
 ** 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;
  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%;
  /* Prevent sidewards scrolling in pre elements */
  overflow:auto;
  max-height:25em; }

/*
 ** 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
 */
#mw-panel {
  position:fixed;
  overflow:auto;
  top:0px;
  bottom:0px;
  height:100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color:#f6f6f6;
  border-right:1px solid #a7d7f9; }

/*
 ** 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; }