Difference between revisions of "MediaWiki:Common.css"

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


.floatright img
div.floatright img
{
{
     margin-left: 2em;
     margin-left: 2em;
Line 35: Line 35:
@media only screen and (max-width : 1000px)
@media only screen and (max-width : 1000px)
{
{
     .floatright
     div.floatright
     {
     {
         float: unset;
         float: unset;
     }
     }


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

Revision as of 13:32, 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;
}

div.floatright img
{
    margin-left: 2em;
    margin-bottom: 2em;
}

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

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