Note
The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.
Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
background: #eaecf0; | background: #eaecf0; | ||
border-radius: 10px 0px 0px 10px; | border-radius: 10px 0px 0px 10px; | ||
padding: 0.5em; | |||
} | } | ||
.subpage_item { | .subpage_item { | ||
margin-right: 0.5em; | margin-right: 0.5em; | ||
padding: 0.5em; | |||
} | } | ||
Revision as of 00:26, February 17, 2019
.subpage_label, .subpage_list {
display: table-cell;
}
.subpage_label {
font-weight: bold;
display: table-cell;
width: 15%;
background: #eaecf0;
border-radius: 10px 0px 0px 10px;
padding: 0.5em;
}
.subpage_item {
margin-right: 0.5em;
padding: 0.5em;
}
.subpage {
display: table;
width: 100%;
padding: 0.5em;
}
.mw-body, .parsoid-body {
color: #32313a;
}
/* category links on bottom */
.catlinks {
background-color: #f5f5f5;
border: none;
border-radius: 9px;
padding: 10px;
}
/* intel box */
.intel {
background: linear-gradient(to bottom,rgba(0, 0, 0, 0.51) 0%,rgb(61, 105, 185) 99%), #000 url(https://www.funtoo.org/images/static/mindblown.jpg);
background-size: 100%;
background-repeat: no-repeat;
min-width: 300px;
margin-bottom: 3px;
margin-right: 3px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
color: #fff;
}
.intel a, .intel a:visited {
color: #fff;
font-weight: bold;
text-decoration: underline;
}
/* bentoo */
.bentoo {
background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%,rgba(255,255,255,0.8) 50%), url("/images/static/bentoo_bg.jpg");
background-size: 100%;
background-repeat: no-repeat;
min-width: 300px;
margin-bottom: 3px;
margin-right: 3px;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
}
/* translation */
div.mw-pt-translate-header + hr {
display: none;
}
.mw-pt-languages {
border: 1px solid #c7c7c7;
border-collapse: separate;
border-radius: 10px;
}
.mw-pt-languages-label {
border-radius: 10px 0px 0px 10px;
border-right: 1px solid #c7c7c7;
}
/* notes */
div.note {
border-radius: 5px;
margin-top: 0.5em;
margin-bottom: 1em;
background-color: #ede9f3;
border: 1px solid #afa4bb;
}
div.note p {
margin: 15px;
}
div.note-head {
padding: 5px 15px 5px 15px;
color: #fff;
background-color: #afa4bb;
border-radius: 5px 5px 0px 0px;
font-weight: 600;
font-family: "Helvetica", sans-serif;
}
div.note-head.codenote {
font-variant: normal;
font-size: 1.0em;
}
div.note.tip {
background-color: #e4e4e4;
border: 1px solid #d4d4e6;
}
div.note-head.tip {
background-color: #6793ce;
}
div.note.warningnote {
background-color: #ffc484;
border: 1px solid #ff7531;
}
div.note-head.warningnote {
background-color: #ff9231;
}
div.note.important {
background-color: #e4c3c3;
border: 1px solid #a24a5a;
}
div.note-head.important {
background-color: #b16666;
}
div.callout {
border-left: 4px solid #6691bda1;
border-radius: 0px 3px 3px 0px;
padding: 8px 8px 8px 15px;
background-color: #f7f7f7;
box-shadow: 5px 5px 4px #e0d3d387;
margin-bottom: 1.5em;
margin-top: 1em;
}
.callout-head {
font-weight: 600;
color: #4a4a86;
font-size: 1.25em;
font-family: "Helvetica", sans-serif;
line-height: 1em;
padding-top: 0.5em;
}
/* tables */
.table {
width: 100%;
max-width: 100%;
margin-bottom: 20px;
border-color: grey;
border-collapse: collapse;
border-spacing: 0px;
}
.table th, .table td {
border: 1px solid #aaaaaa;
padding: 10px;
}
.table th.active {
background-color: #f5f5f5;
}
.table tr.danger {
background-color: #f9d1d1;
}
.inverted {
font-family: "Open Sans";
font-size: 14px;
line-height: 20px;
background-color: #252525;
color: #a9a9a9;
font-weight: 600;
border-radius: 5px;
padding: 20px;
margin-bottom: 10px;
}
.inverted a {
color: #f5f931;
}
.inverted a.external {
color: #f5f931;
padding-right: 0px;
background-image: none;
}
.inverted a.external:visited {
color: #cace00;
}
.install_nav {
border-collapse: initial;
background-color: #c3e3ff;
padding: 10px;
border-radius: 5px;
margin-bottom: 15px;
}
.install_nav td {
padding: 3px;
}
@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;
background-color: inherit;
border: none;
}
.box-caption {
background-color: #ececec;
color: #9e9e9e;
}
.shell, pre, .mw-code, div.mw-geshi {
overflow-x: auto;
overflow-y: hidden;
line-height: 1.2em;
margin: 0;
margin-bottom: 0.5em;
padding: 10px;
border-radius: 4px 4px 4px 4px;
font-size: 13px;
}
.code-box {
margin-bottom: 12px;
margin-top: 12px;
}
.code-box pre, .code-box .mw-code, .code-box div.mw-geshi {
border: 1px solid rgb(234, 236, 240);
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: 12px;
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;
}