MediaWiki:Timeless.css: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(81 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Timeless skin */
/* CSS placed here will affect users of the Timeless skin */


#mw-content-container { background: url(/images/timeless-bg.webp) fixed; }
/* Site notice */
 
@media all and (max-width: 850px) {
@media all and (max-width: 850px) {
#game-icons {
body #siteNotice {
margin-top: -21px !important;
margin-top: 12px;
}
#mw-content #game-icons a img {
height: 20px !important;
width: auto !important;
}
}
}
/* Main page */
.main-page-left-col > table:first-of-type {
border-spacing: 0;
}
/* Fixes */
.titledBoxTitle {
display: table !important;
width: 100% !important;
}
}


/* Standard changes */
/* Standard changes */
#siteNotice {
.mediawiki {
text-align: center;
font-size: 15px;
}
#mw-content-container {
font-size: 14px;
}
}
#firstHeading {
a:hover {
overflow: visible;
text-decoration: underline;
}
}
#mw-content h1, #mw-content h2,
ul#filetoc {
#mw-content h3, #mw-content h4,
padding: 0.625em 0.875em;
#mw-content h5, #mw-content h6,
#mw-content dt {
margin-top: 1em;
}
}
#mw-content dd {
.wikiEditor-ui {
margin-bottom: 0.25em;
margin-top: 0.5em;
}
}
.CodeMirror {
.CodeMirror {
padding: 0.25em 0.35em;
padding: 0.25em 0.35em;
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.05);
box-shadow: inset 0 1px 1px 1px rgba(0,0,0,0.05);
}
.oo-ui-popupWidget-body-padded {
margin-top: 6px;
}
.floatleft, .floatright {
margin: 0;
}
.center * {
margin-left: auto;
margin-right: auto;
}
}
table {
table {
border-collapse: separate;
border-collapse: separate;
border-spacing: 2px;
}
table td, table th {
padding: 2px 4px;
}
table.wikitable {
padding: 0;
}
}
table.wikitable img {
table.wikitable img {
Line 47: Line 56:
height: auto !important;
height: auto !important;
}
}
.thumb, .thumbcaption {
.mw-indicators {
padding-bottom: 0;
line-height: unset !important;
}
}
@media all and (max-width: 850px) {
@media all and (max-width: 850px) {
#siteNotice {
.mw-indicator {
display: none;
margin: 0 !important;
}
}
.infobox {
.infobox {
Line 75: Line 84:
width: 100% !important;
width: 100% !important;
display: table !important;
display: table !important;
}
table:not(.infobox) td, table:not(.infobox) th {
width: auto !important;
}
}
.thumbimage {
.thumbimage {
Line 84: Line 96:
margin-right: auto !important;
margin-right: auto !important;
}
}
}
/* Talk spacing */
:is(.ns-talk, .ns-4, .ns-110) dd {
margin-top: 0.25em !important;
}
:is(.ns-talk, .ns-4, .ns-110) :is(p, dl) + dl {
margin-top: -0.25em !important;
}
}