Difference between revisions of "MediaWiki:Common.css"

(Created page with ".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; overfl...")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
.shell,pre,.mw-code,code,tt,div.mw-geshi {
+
@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,div.mw-geshi {
 
font-size:12px;
 
font-size:12px;
 
font-family:'andale mono','lucida console', monospace;
 
font-family:'andale mono','lucida console', monospace;
 
}
 
}
  
.shell,pre,.mw-code,div.mw-geshi {
+
.shell, pre, .mw-code, div.mw-geshi {
overflow-x:auto;
+
        overflow-x: auto;
overflow-y:hidden;
+
        overflow-y: hidden;
border:1.5px solid #ccc;
+
        border: 1.5px solid #ccc;
border-radius:5px;
+
        line-height: 1.2em;
line-height:1.2em;
+
        margin: 0;
margin:0;
+
        margin-bottom:  0.5em;
padding:10px;
+
        padding: 10px;
 +
        border-radius: 4px 4px 4px 4px;
 +
        font-size: 13px;
 +
        background-color: #f9f9f9;
 +
}
 +
 
 +
.code-box {
 +
  margin-bottom: 12px;
 +
  margin-top: 12px;
 +
}
 +
 
 +
.code-box pre, .code-box .mw-code, .code-box div.mw-geshi {
 +
border-top: 0px;
 +
border-radius: 0px 0px 4px 4px;
 
}
 
}
  
Line 18: Line 42:
 
font-size:12px;
 
font-size:12px;
 
border:none;
 
border:none;
border-radius:10px;
 
 
background-color:#073642;
 
background-color:#073642;
 
color:#aaa;
 
color:#aaa;
Line 24: Line 47:
 
overflow-y:hidden;
 
overflow-y:hidden;
 
line-height:1.5em;
 
line-height:1.5em;
 +
margin-bottom: 20px;
 +
margin-top: 10px;
 
}
 
}
  
 
.code b {
 
.code b {
color:#fff;
 
 
font-weight:700;
 
font-weight:700;
 
}
 
}
Line 50: Line 74:
 
.code_yellow {
 
.code_yellow {
 
color:#ff0;
 
color:#ff0;
 +
}
 +
 +
.code_cyan {
 +
color:#0ff;
 +
}
 +
/* 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;
 
}
 
}

Latest revision as of 19:24, July 16, 2015

@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,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;
        line-height: 1.2em;
        margin: 0;
        margin-bottom:  0.5em;
        padding: 10px;
        border-radius: 4px 4px 4px 4px;
        font-size: 13px;
        background-color: #f9f9f9;
}
 
.code-box {
  margin-bottom: 12px;
  margin-top: 12px;
}
 
.code-box pre, .code-box .mw-code, .code-box div.mw-geshi {
border-top: 0px;
 border-radius: 0px 0px 4px 4px;
}
 
.code {
font-family:'andale mono', 'lucida console', monospace;
font-size:12px;
border:none;
background-color:#073642;
color:#aaa;
overflow-x:auto;
overflow-y:hidden;
line-height:1.5em;
margin-bottom: 20px;
margin-top: 10px;
}
 
.code b {
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;
}
 
.code_cyan {
color:#0ff;
}
/* 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;
}