Difference between revisions of "MediaWiki:Common.css"

 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
+
@font-face {
 +
  font-family: 'Linux Libertine';
 +
  src: url('/fonts/LinLibertine_R.woff');
 +
}
  
/* Note boxes from dokuwiki's note plugin */
+
@font-face {
.fancynote, .fancyimportant, .fancywarning, .fancytip {
+
   font-family: 'Linux Libertine';
   margin-top: 0.75em;
+
   font-weight: bold;
   margin-bottom: 0.75em;
+
   src: url('/fonts/LinLibertine_RB.woff');
   margin-left: auto;
+
  margin-right: auto;
+
  width: 85% !important;
+
  min-height: 40px;
+
  clear: both;
+
  text-align: justify;
+
  vertical-align: left;
+
  border-collapse: collapse;
+
  padding: 15px 20px 15px 80px;
+
  background-position: 20px 50%;
+
  background-repeat: no-repeat;
+
  -moz-border-radius: 15px;
+
  -khtml-border-radius: 15px;
+
  border-radius: 15px;
+
  line-height: 1.2em;
+
 
}
 
}
  
.fancynote {
+
.shell,pre,.mw-code,code,tt,div.mw-geshi {
  border: 1px solid #99D;
+
font-size:12px;
  background-color: #eef;
+
font-family:'andale mono','lucida console', monospace;
  background-image: url(/images/3rdparty/note.png);
+
 
}
 
}
  
.fancyimportant {
+
.shell,pre,.mw-code,div.mw-geshi {
  border: 1px solid #ffd300;
+
overflow-x:auto;
  background-color: #ffc;
+
overflow-y:hidden;
  background-image: url(/images/3rdparty/important.png);
+
border:1.5px solid #ccc;
 +
border-radius:5px;
 +
line-height:1.2em;
 +
margin:0;
 +
margin-bottom: 0.5em;
 +
padding:10px;
 
}
 
}
  
.fancywarning {
+
.code {
  border: 1px solid #d99;
+
font-family:'andale mono', 'lucida console', monospace;
  background-color: #fdd;
+
font-size:12px;
  background-image: url(/images/3rdparty/warning.png);
+
border:none;
 +
border-radius:10px;
 +
background-color:#073642;
 +
color:#aaa;
 +
overflow-x:auto;
 +
overflow-y:hidden;
 +
line-height:1.5em;
 +
}
 +
 
 +
.code b {
 +
color:#fff;
 +
font-weight:700;
 +
}
 +
 
 +
.code_input {
 +
color:#ff8040;
 +
font-weight:700;
 +
}
 +
 
 +
.code_red {
 +
color:red;
 +
}
 +
 
 +
.code_blue {
 +
color:#88f;
 +
}
 +
 
 +
.code_green {
 +
color:#0f0;
 +
}
 +
 
 +
.code_yellow {
 +
color:#ff0;
 +
}
 +
 
 +
/* Ebuild/Package CSS */
 +
 
 +
.ns-502 #firstHeading {
 +
  font-family: 'Linux Libertine', Georgia, Times, serif;
 +
  margin-bottom: 0.25em;
 +
  font-size: 1.6em;
 
}
 
}
  
.fancytip {
+
ns-502 #content-spacer {
   border: 1px solid #9d9;
+
   display: block;
  background-color: #dfd;
+
   line-height: 1em;
   background-image: url(/images/3rdparty/tip.png);
+
 
}
 
}

Latest revision as of 06:57, June 27, 2014

@font-face {
  font-family: 'Linux Libertine';
  src: url('/fonts/LinLibertine_R.woff');
}
 
@font-face {
  font-family: 'Linux Libertine';
  font-weight: bold;
  src: url('/fonts/LinLibertine_RB.woff');
}
 
.shell,pre,.mw-code,code,tt,div.mw-geshi {
font-size:12px;
font-family:'andale mono','lucida console', monospace;
}
 
.shell,pre,.mw-code,div.mw-geshi {
overflow-x:auto;
overflow-y:hidden;
border:1.5px solid #ccc;
border-radius:5px;
line-height:1.2em;
margin:0;
margin-bottom: 0.5em;
padding:10px;
}
 
.code {
font-family:'andale mono', 'lucida console', monospace;
font-size:12px;
border:none;
border-radius:10px;
background-color:#073642;
color:#aaa;
overflow-x:auto;
overflow-y:hidden;
line-height:1.5em;
}
 
.code b {
color:#fff;
font-weight:700;
}
 
.code_input {
color:#ff8040;
font-weight:700;
}
 
.code_red {
color:red;
}
 
.code_blue {
color:#88f;
}
 
.code_green {
color:#0f0;
}
 
.code_yellow {
color:#ff0;
}
 
/* Ebuild/Package CSS */
 
.ns-502 #firstHeading {
  font-family: 'Linux Libertine', Georgia, Times, serif;
  margin-bottom: 0.25em;
  font-size: 1.6em;
}
 
ns-502 #content-spacer {
  display: block;
  line-height: 1em;
}