Difference between revisions of "MediaWiki:Common.css"
From Funtoo Linux
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
/* Make the syntax highlighting blocks a bit distinct by adding a background and border */ | /* Make the syntax highlighting blocks a bit distinct by adding a background and border */ | ||
Revision as of 08:58, 24 December 2011
/* CSS placed here will be applied to all skins */ /* Make the syntax highlighting blocks a bit distinct by adding a background and border */ .mw-geshi {background-color: #FFF8DC; border: 1px dashed #2f6fab; margin: 1em 0; padding: 1em; } /* Note boxes from dokuwiki's note plugin */ .note, .important, .warning, .tip { margin: 0.5em; margin-left: auto; margin-right: auto; width: 70% !important; min-height: 40px; clear: both; text-align: justify; vertical-align: middle; border-collapse: collapse; padding: 15px 20px 15px 80px; background-position: 20px 50%; background-repeat: no-repeat; -moz-border-radius: 20px; -khtml-border-radius: 20px; border-radius: 20px; } .note { border: 1px solid #99D; background-color: #eef; background-image: url(/images/3rdparty/note.png); } .important { border: 1px solid #ffd300; background-color: #ffc; background-image: url(/images/3rdparty/important.png); } .warning { border: 1px solid #d99; background-color: #fdd; background-image: url(/images/3rdparty/warning.png); } .tip { border: 1px solid #9d9; background-color: #dfd; background-image: url(/images/3rdparty/tip.png); }