MediaWiki:Common.css
From CPU Graveyard - Die shots
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* ---------------- Text/Fonts ------------------ */
a:hover {
color: #fff;
text-decoration: underline;
}
a:link {
color: #aaa;
}
a:visited {
color: #aaa;
}
a:active {
color: #ccc;
}
/* redlink(newpage) */
a.new {
color: #a55858;
}
span.darker-blue-link a {
color: #0000CC;
}
/* normal links (blue link) */
#content a:not(.new), #siteNotice a:not(.new), .toctogglelabel{
color: #7094db;
}
#content a:not(.new):visited, #siteNotice a:not(.new):visited {
color: #5c85d6;
}
/* warning text */
.mw-destfile-warning {
color: #ffb909
}
h1, h2, h3, h4, h5, h6 {
color: #dddddd;
}
p, text, .tocnumber, .messagebox, .errorbox, .warningbox, .successbox, .mw-mmv-post-image {
color: #cccccc;
}
/* action/edit bar */
aside a:not(.disabled) {
color: #999999;
}
/* nav bar */
#mw-navigation a:not(.disabled) {
color: #aaa;
}
#mw-navigation a:not(.disabled):hover {
color: #ddd;
}
/* navbar title */
#mw-navigation a.nav-link.disabled{
color: #eee;
}
/* footer */
.mw-footer a:hover {
color: #cccccc;
}
/* dropdown menus */
a.dropdown-item:visited {
color: #ccc;
}
a.dropdown-item:link {
color: #c2c2c2;
}
a.dropdown-item:hover {
color: #222;
}
.mw-category-generated h2 {
padding-top: 2em;
font-size: 1.25em;
}
/* code text color */
code {
color: #a4a;
}
/* fix a light color text */
#editpage-copywarn p{
color: #222;
}
/* ---------------------------- hide stuff -------------------------------- */
/* category pages */
.mw-category-generated p {
display: none;
}
/* section edit tag (hide) */
.mw-editsection {
display: none;
}
/* hide search date */
.mw-search-result-data {
display: none;
}
.mw-mmv-image-metadata {
display: none;
}
/* body.page-Main_Page .mw-changeslist-separator, */
/* hide stuff on main page */
body.page-Main_Page .mw-changeslist-legend,
body.page-Main_Page .mw-changeslist-links,
body.page-Main_Page .mw-changeslist-line-inner-characterDiff,
body.page-Main_Page .mw-changeslist-line-inner-rollback,
body.page-Main_Page .mw-changeslist-line-inner-separatorAftercharacterDiff,
body.page-Main_Page .mw-plusminus-pos,
body.page-Main_Page .mw-diff-bytes {
display: none;
}
/* --------------------------------- Some boxes and tables -------------------------- */
/* darker (headers) */
.mw-datatable th{
background-color: #333;
}
/* standard table-box color */
.mw-datatable td, .warningbox, .mw-search-profile-tabs, div.thumbinner, .mw-mmv-post-image, .mw-warning, .plainlinks{
border: 2px solid #999;
background-color: #3a3a3a;
}
.warningbox {
background-color: #a44;
}
/* (lighter) */
.mw-datatable tr:hover td, .warningbox{
background-color: #444;
}
/* very light color */
code, pre, .mw-code, .plainlinks.imbox.mw-content-ltr.messagebox.plainlinks.layouttemplate{
background-color: #ddd;
border: #555;
}
/* different color background box */
div.licensetpl_wrapper, .mw-destfile-warning, .fileinfo-paramfield {
background-color: #5a5a5a;
}
.wikitable > tr > th, .filehistory > tr > th, .wikitable > * > tr > th, .filehistory th{
background: #444444;
}
.dropdown-menu, div#catlinks.catlinks, div#toc.toc, #filetoc, .wikitable, .filehistory, li.gallerybox div.thumb,
.mw_metadata td, .mw_metadata th, table.imbox, .toccolours {
border: 2px solid #999;
background-color: #3a3a3a;
color: #ddd;
}
div#catlinks.catlinks, div#toc.toc, #filetoc, .wikitable, .filehistory, li.gallerybox div.thumb,
.mw_metadata td, .mw_metadata th {
margin: 0.5em 10%;
border-collapse: collapse;
box-sizing: border-box;
}
div#toc.toc, #filetoc{
margin: 0;
}
div#catlinks.catlinks {
/* add some margin the top of category */
margin: 1.5em 5% 0 5%;
}
/* Couldn't get this to work: change log boxes: div.mw-mmv-image-metadata.mw-rcfilters-ui-changesListWrapperWidget.mw-changeslist-legend div.mw-changeslist-legend.mw-collapsible.mw-made-collapsible "mw-collapsible-toggle mw-collapsible-toggle-default div.mw-changeslist-legend.mw-collapsible.mw-made-collapsible, .mw-rcfilters-ui-changesListWrapperWidget, .mw-changeslist-legend*/
/* TOC */
.toc ul { padding: 0.5em; }
#toc {
margin: 0;
float: right;
position: relative;
top: 50px;
}
/* mbox */
/* mbox used in licenses */
th.mbox-text, td.mbox-text {
border: none;
padding: 0.25em 0.9em;
}
td.mbox-image {
border: none;
padding: 2px 0 2px 0.9em;
text-align: center;
}
table.imbox {
margin: 4px;
border-collapse: collapse;
box-sizing: border-box;
}
.toccolours {
margin: 4px;
border-collapse: separate;
border-spacing: 0.4em;
}
.mbox-parameter {
width: 16%;
background: #444466;
text-align: right;
vertical-align: top;
padding-right: 0.4em;
border-spacing: 0.4em;
}
.license-box td {
padding: 5px;
margin: 5px;
}
/* ------------ Dieshot boxes --------------- */
.dsbox-table{
background-color: #333;
padding: 0.4em;
margin-bottom: 1em;
}
.dsbox-table-image{
padding: 0.8em;
margin: 0.5em;
}
.dsbox-table-image a{
margin-left: auto;
margin-right: auto;
vertical-align: middle;
}
.dsbox-table-info{
vertical-align: top;
padding-top: 0.8em;
}
.dsbox-table-title{
vertical-align: top;
font-size: 1.5em;
font-weight: 700;
/* white-space: nowrap; */
padding-bottom: 0.75em;
}
.dsbox-table-title2{
font-size: 1.25em;
font-weight: 600;
padding-bottom: 0.5em;
}
.dsbox-table-param{
/* white-space: nowrap; */
font-size: 0.9em;
font-weight: 600;
vertical-align: top;
width: 12.5em;
padding-left: 0.8em;
}
.dsbox-table-value, .dsbox-table-value-3r{
/* white-space: nowrap; */
font-size: 0.9em;
vertical-align: top;
width: 16.6em;
}
.dsbox-table-value-right{
/* white-space: nowrap; */
font-size: 0.9em;
width: 12.5em;
vertical-align: top;
padding-right: 0.8em;
}
/* ---------------- Family/Manufacturer Summary Box -------- */
.box-wide-logo {
margin-bottom:10px;
}
.logobox{
border: solid black 1px;
background: white;
padding: 2px;
margin-bottom:10px;
width: 64px;
}
.sumbox-logo{
vertical-align: top;
width: 80px;
padding: 0.4em;
}
.sumbox-content {
vertical-align: top;
width: 16.5em;
padding: 0.4em 0.4em 0.4em 0.8em;
}
.sumbox-title {
white-space: nowrap;
font-size: 2em;
padding-bottom: 0.8em;
font-weight: bold;
}
.sumbox-value {
width: 16.6em;
padding-left: 1.6em;
padding-right: 1.6em;
white-space: nowrap;
font-size: 12px;
}
.sumbox-param {
width: 8.3em;
padding-right: 0.8em;
padding-left: 1.6em;
white-space: nowrap;
font-size: 1em;
font-weight: bold;
}
/* ---------------- Body --------------------- */
body {
background-color: #444444;
color: #cccccc;
background-image: url(/files/theme/background-lm301.jpg);
}
/* the footer, obviously */
#footer {
background: none;
border: none;
}
/* everything below the navbar */
#mw-main-container {
background: none;
margin-top: 0.8em;
}
/* the top navbar */
#mw-navbar {
background: #666666;
}
/* this is the block for content without any bars */
#content.mw-body {
background-color: #444444;
}
/* This is the main content area */
div.col-12.col-md-9.col-xl-9.py-md-3.px-md-5 {
background-color: #444444;
}
/* Sidebar */
#mw-navigation {
border: none;
}
.mw-portlet-body {
margin-left: 1em;
}