MediaWiki:Timeless.css: Difference between revisions
Created page with "→All CSS here will be loaded for users of the Timeless skin: →Wide tables scroll horizontally on small screens instead of overflowing: @media screen and (max-width: 850px) { .mw-parser-output table.wikitable { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; } }" |
No edit summary |
||
| Line 8: | Line 8: | ||
max-width: 100%; | max-width: 100%; | ||
} | } | ||
} | |||
/* White panels, no border or shadow */ | |||
.sidebar-chunk, | |||
#catlinks { | |||
background: #fff !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | |||
/* Remove the border/shadow around the main content block */ | |||
#mw-content { | |||
background: #fff !important; | |||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
Latest revision as of 00:53, 31 May 2026
/* All CSS here will be loaded for users of the Timeless skin */
/* Wide tables scroll horizontally on small screens instead of overflowing */
@media screen and (max-width: 850px) {
.mw-parser-output table.wikitable {
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
max-width: 100%;
}
}
/* White panels, no border or shadow */
.sidebar-chunk,
#catlinks {
background: #fff !important;
border: none !important;
box-shadow: none !important;
}
/* Remove the border/shadow around the main content block */
#mw-content {
background: #fff !important;
border: none !important;
box-shadow: none !important;
}