MediaWiki:Common.css
Revision as of 13:27, 30 January 2020 by BeefSandwich27 (talk | contribs) (Making images play better on mobile)
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: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
img
{
max-width: 100%;
height: auto;
}
blockquote
{
padding-left: 1em;
padding: 1em;
border: 1px solid #ddd;
border-left: 4px solid #aaa;
background: #eee;
border-radius: 5px;
}
.highlight
{
background: #ff0;
font-weight: unset;
}
h2
{
clear: both;
}
img.float-right
{
margin-left: 2em;
margin-bottom: 2em;
}
@media only screen and (max-width : 768px)
{
img.float-right
{
margin-left: 0;
}
}