Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Making images play better on mobile) |
m |
||
Line 27: | Line 27: | ||
} | } | ||
img | .floatright img | ||
{ | { | ||
margin-left: 2em; | margin-left: 2em; | ||
Line 35: | Line 35: | ||
@media only screen and (max-width : 768px) | @media only screen and (max-width : 768px) | ||
{ | { | ||
img | .floatright img | ||
{ | { | ||
margin-left: 0; | margin-left: 0; | ||
} | } | ||
} | } |
Revision as of 13:29, 30 January 2020
/* 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;
}
.floatright img
{
margin-left: 2em;
margin-bottom: 2em;
}
@media only screen and (max-width : 768px)
{
.floatright img
{
margin-left: 0;
}
}