Difference between revisions of "MediaWiki:Common.css"

(Created page with "CSS placed here will be applied to all skins: ConsoleOutput.php start: .shell, pre, .mw-code, code, tt, div.mw-geshi { font-size: 12px; font-family: 'a...")
 
(21 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');
 +
}
  
/* ConsoleOutput.php start */.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 {       padding: 10px;        border: none;        margin: 0;        overflow-x: auto;        overflow-y: hidden;        border: 1.5px solid #ccc;        border-radius: 5px;        line-height: 1.2em;}.code {        font-family: 'andale mono', 'lucida console', monospace;       font-size: 14px;        border: none;        border-radius: 10px;        background-color: #073642;        color: #aaaaaa;        overflow-x: auto;        overflow-y: hidden;        line-height: 1.5em;}
+
@font-face {
.code b {        color: #ffffff;        font-weight: bold;}.code_input {        color: #e34692;        font-weight: bold;}.code_red {        color: #f00;}.code_blue {        color: #00f;}.shell_green {        color: #080;}/* ConsoleOutput.php end */
+
  font-family: 'Linux Libertine';
 +
  font-weight: bold;
 +
  src: url('/fonts/LinLibertine_RB.woff');
 +
}
  
/* Funtoo stuff here *//* Structural Elements */h1,h2,h3,h4,h5,h6 {           color: #406060;       /* *        font-family: Baskerville, Palatino, Palatino Linotype, Georgia, Times New Roman, Times, serif; *                */        font-family: Lucida Grande, Lucida Unicode, sans-serif;        background: none;        font-weight: 600;       /* *         font-weight: bold; *                */        margin: 0;       padding-top: .5em;       padding-bottom: .17em;/*      border-bottom: 1px solid #aaa; */        width: auto;}span.mwheadline h1 { font-size: 188%; }h2 { font-size: 150%; }h3,h4,h5,h6 {          border-bottom: none;       font-weight: bold;}h3 { font-size: 132%; }h4 { font-size: 116%; }
+
.shell,pre,.mw-code,div.mw-geshi {
h5 { font-size: 100%; }h6 { font-size: 80%;  }/* Make edit sections (which are inside h# tags) normal-sized */.editsection {        font-weight: normal;}h1 .editsection {        font-size: 50%;}h2 .editsection {       font-size: 66.7%;}h3 .editsection {        font-size: 85.5%;}h5 .editsection {        font-size: 120%;}h6 .editsection {        font-size: 133%;}p {        margin: .4em 0 .5em 0;}p img {        margin: 0;}.donate {        margin-left: 1.0em;        margin-right: 1.0em;        margin-top: 0.5em;        margin-bottom: 0.5em;        background-color: #F8F8FF;        line-height: 15px;        padding: 1.0em 1.0em 1.0em 1.0em;        border: none;        border-top: 2px solid #C6C9E0;       border-bottom: 2px solid #C6C9E0;       overflow-x: auto;        overflow-y: hidden;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;       font-size: 12px;       font-weight: 500;}.boxy {        background-color: #fcfcfc;       color: #000000;       padding: .05em .5em .5em 1.0em;       margin: 1.0em;       border: 1px solid #C2CFDF;       border-left: 10px solid #C2CFDF;       font-size: 12px;       font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;       /*font-family: Tahoma, Arial, Helvetica, sans-serif;*/}.boxy2 {       background-color: #ffe;       color: #000000;       padding: .05em .5em .5em 1.0em;        margin: 1.0em;        border: 1px solid #C2CFDF;        border-left: 10px solid #C2CFDF;        font-size: 11px;        font-family: Lucida Grande, 'Lucida Sans Unicode', 'Helvetica Neue', Helvetica, 'Myriad Pro', Myriad, Geneva, Arial, sans-serif;}.boxy a {       font-weight: 400;        color: #a33;}.boxy2 a, .toc a {       font-weight: 400;        color: #a33;/*     991122; */}#toc, .toc, .mw-warning {float: right;margin: 15px;border: 1px solid #AAA;background-color: #F9F9F9;padding: 5px;font-size: 11px;font-family: Lucida Grande,'Lucida Sans Unicode','Helvetica Neue',Helvetica,'Myriad Pro',Myriad,Geneva,Arial,sans-serif;}
+
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;
 +
}

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