Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Making images play better on mobile) |
|||
Line 20: | Line 20: | ||
background: #ff0; | background: #ff0; | ||
font-weight: unset; | 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; | |||
} | |||
} | } |
Revision as of 13:27, 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;
}
img.float-right
{
margin-left: 2em;
margin-bottom: 2em;
}
@media only screen and (max-width : 768px)
{
img.float-right
{
margin-left: 0;
}
}