MediaWiki:Common.css: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:
         inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/  
         inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/  
         inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
         inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
}
.icon-warning {
    fill: #eeeecc;
}
}
.alert-warning {
.alert-warning {
Line 28: Line 31:
     padding: 12px;
     padding: 12px;
     border-radius: 6px;
     border-radius: 6px;
     background-image: url(/images/icons/warning.svg);
     background: url(/images/icons/warning.svg) no-repeat 12 center;
}
.icon-warning {
    fill: #eeeecc;
}
}

Revision as of 19:05, 2 March 2015

/* CSS placed here will be applied to all skins */

/* Fix so <tt>, <code>, and <pre> display in a suitable size in firefox, chrome, etc */
tt, pre {
    font-family: monospace;
    font-size: 1.25em;
}
code {
    font-size: 1.15em;
    color: #558088;
    background-color: #f0f8f0;
}
kbd {
    background-color: #f8f8f8;
    /* border: 1px solid #ddd; */
    border-radius: 2px;
    padding: 2px;
    box-shadow: 
        0 1px 2px #fff, /*bottom external highlight*/
        0 -1px 1px #666, /*top external shadow*/ 
        inset 0 -1px 1px rgba(0,0,0,0.5), /*bottom internal shadow*/ 
        inset 0 1px 1px rgba(255,255,255,0.8); /*top internal highlight*/
}
.icon-warning {
    fill: #eeeecc;
}
.alert-warning {
    color: #cccc66;
    background-color: #ffffdd;
    border: 1px solid #eeeecc;
    padding: 12px;
    border-radius: 6px;
    background: url(/images/icons/warning.svg) no-repeat 12 center;
}