MediaWiki:Common.css

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

/* navboxes */ table.navbox { width:100%; margin:auto; clear:both; font-size:87.5%; } /* cool trick to force space between adjacent navboxes */ table.navbox + table.navbox { margin-top:1px; } table.navbox > tr > th, table.navbox > * > tr > th { white-space:nowrap; }

/* infoboxes */ table.infobox { float:right; width:22em; font-size:87.5%; line-height:1.5em; margin:0.5em 0 0.5em 1em; }

/* shortcut template */ div.shortcut { text-align:center; margin:0.5em 0.5em 0.5em 1em; padding:0.5em; float:right; font-size:smaller; font-weight:bold; }

/* messageboxes */ .messagebox, .errorbox, .warningbox, .successbox { border-top-color:#ffffff; border-left-color:#ffffff; border-width:2px; box-shadow:0px 0px 5px 5px #ffffff inset; width:60%; margin:0 auto 1em auto; padding:0.5em; text-align:center; } /* the border is 25% darker than the background */ .messagebox { background:rgba(127,127,191,0.25); border-bottom-color:rgba(95.25,95.25,143.25,1.0); border-right-color:rgba(95.25,95.25,143.25,1.0); } .errorbox { background:rgba(255,0,0,0.25); border-bottom-color:rgba(191.25,0,0,1.0); border-right-color:rgba(191.25,0,0,1.0); } .warningbox { background:rgba(255,175,0,0.25); border-bottom-color:rgba(191.25,131.25,0,1.0); border-right-color:rgba(191.25,131.25,0,1.0); } .successbox { background:rgba(63,175,95,0.25); border-bottom-color:rgba(47.25,131.25,71.25,1.0); border-right-color:rgba(47.25,131.25,71.25,1.0); }

/* image classes */ .img-mirror-x { transform:scale(-1,1); } .anim-icon-gain { animation: gain 3s infinite linear; } .anim-icon-loss { animation: loss 3s infinite linear; }

@keyframes gain { 0% {       transform:translate(0%, 25%); opacity:0; }   25% {        transform:translate(0%, 0%); opacity:1; }   75% {        transform:translate(0%, 0%); opacity:1; }   100% {        transform:translate(0%, -25%); opacity:0; } } @keyframes loss { 0% {       transform:translate(0%, -25%); opacity:0; }   25% {        transform:translate(0%, 0%); opacity:1; }   75% {        transform:translate(0%, 0%); opacity:1; }   100% {        transform:translate(0%, 25%); opacity:0; } }

/* SMW: category refresh boxes */ /* apparently the raw theme file gets overriden by SMW, so trying it here instead */ .smw-callout-info { background:rgba(27,128,158,0.25); } .smw-callout-success { background:rgba(60,118,61,0.25); } .smw-callout-warning { background:rgba(170,103,8,0.25); } .smw-callout-error { background:rgba(206,72,68,0.25); }