Difference between pages "Template:Ebuild" and "MediaWiki:Common.css"

(Difference between pages)
 
 
Line 1: Line 1:
<noinclude>
+
.shell,pre,.mw-code,code,tt,div.mw-geshi {
This is the "Ebuild" template.
+
font-size:12px;
It should be called in the following format:
+
font-family:'andale mono','lucida console', monospace;
<pre>
+
}
{{Ebuild
+
 
|Summary=
+
.shell,pre,.mw-code,div.mw-geshi {
|CatPkg=
+
overflow-x:auto;
|Maintainer=
+
overflow-y:hidden;
|Repository=
+
border:1.5px solid #ccc;
}}
+
border-radius:5px;
</pre>
+
line-height:1.2em;
Edit the page to see the template text.
+
margin:0;
</noinclude><includeonly>
+
padding:10px;
<div class="ebuild_subtitle">[[Summary::{{{Summary|}}}]]</div>
+
}
<div id="content-spacer"></div>
+
 
[[Category:Ebuilds|{{PAGENAME}}]] __NOEDITSECTION__ __NOTOC__
+
.code {
<div style="float: right; width: 10em; border: 1px #888;" id="eb_infobox">[[File:ebuild.png|link=|frameless]{#if: {{{Maintainer|}}} |;Current Maintainer(s): {{#arraymaptemplate:{{{Maintainer|}}}|MaintainerDisplay|,|,}} |}}{{#if: {{{Repository|}}}|
+
font-family:'andale mono', 'lucida console', monospace;
;Source Repository: [[Repository::Repository:{{{Repository}}}|{{{Repository}}}]] |}}
+
font-size:12px;
;Ebuild Category/Pkg: [[CatPkg::{{{CatPkg|}}}]]
+
border:none;
</div>
+
border-radius:10px;
</includeonly>
+
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;
 +
}

Revision as of 23:59, 9 June 2014

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