Difference between revisions of "MediaWiki:Common.css"

From The Portal Wiki
Jump to navigation Jump to search
m
m
Line 33: Line 33:
}
}


@media only screen and (max-width : 768px)
@media only screen and (max-width : 1000px)
{
{
    .floatright
    {
        float: unset;
    }
     .floatright img
     .floatright img
     {
     {

Revision as of 13:31, 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 : 1000px)
{
    .floatright
    {
        float: unset;
    }

    .floatright img
    {
        margin-left: 0;
    }    
}