MediaWiki:Common.css

From E3D-Online
Revision as of 14:21, 27 October 2017 by Ryansmithe3d (talk | contribs) (Created page with "CSS placed here will be applied to all skins: body { padding: 0; } Alert: .warning .close{ position:absolute; top:0; right:0; } .warning:target { disp...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This Wiki is not looked after anymore :( Please navigate to
e3d-online.dozuki.com
for up to date and improved documentation

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will be applied to all skins */

body {
    padding: 0;
}

/* Alert */


.warning .close{

position:absolute;
top:0;
right:0;
}


.warning:target {
    display: none;
}
.warning {
    background-color: #c4453c;
    padding:30px;
    box-shadow: 0 5px 0 hsla(0,0%,0%,.1);
    color: #f6f6f6;
    display: block;
    font: bold 16px/40px sans-serif;
    height: 100px;
    position: relative;
    text-align: center;
    text-decoration: none;
    top: 0;
    bottom:0;
    width: 90%;
    -webkit-animation: alert 1s ease forwards;
       -moz-animation: alert 1s ease forwards;
        -ms-animation: alert 1s ease forwards;
         -o-animation: alert 1s ease forwards;
            animation: alert 1s ease forwards;
    margin-bottom:30px;
}

/* Animation */

@-webkit-keyframes warning {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { top: 0; }
}
@-moz-keyframes warning {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { top: 0; }
}
@-ms-keyframes warning {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { top: 0; }
}
@-o-keyframes warning {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { top: 0; }
}
@keyframes warning {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { top: 0; }
}