Difference between revisions of "MediaWiki:Common.css"
From Funtoo Linux
(Tweaking geshi blocks) |
|||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
| − | /* | + | /* Note boxes from dokuwiki's note plugin */ |
| − | + | .fancynote, .fancyimportant, .fancywarning, .fancytip { | |
| − | + | margin-top: 0.75em; | |
| + | margin-bottom: 0.75em; | ||
| + | margin-left: auto; | ||
| + | margin-right: auto; | ||
| + | width: 85% !important; | ||
| + | min-height: 40px; | ||
| + | clear: both; | ||
| + | text-align: justify; | ||
| + | vertical-align: left; | ||
| + | border-collapse: collapse; | ||
| + | padding: 15px 20px 15px 80px; | ||
| + | background-position: 20px 50%; | ||
| + | background-repeat: no-repeat; | ||
| + | -moz-border-radius: 15px; | ||
| + | -khtml-border-radius: 15px; | ||
| + | border-radius: 15px; | ||
| + | line-height: 1.2em; | ||
| + | } | ||
| − | + | .fancynote { | |
| − | + | border: 1px solid #99D; | |
| + | background-color: #eef; | ||
| + | background-image: url(/images/3rdparty/note.png); | ||
| + | } | ||
| − | + | .fancyimportant { | |
| − | + | border: 1px solid #ffd300; | |
| + | background-color: #ffc; | ||
| + | background-image: url(/images/3rdparty/important.png); | ||
| + | } | ||
| − | + | .fancywarning { | |
| − | . | + | border: 1px solid #d99; |
| + | background-color: #fdd; | ||
| + | background-image: url(/images/3rdparty/warning.png); | ||
| + | } | ||
| + | |||
| + | .fancytip { | ||
| + | border: 1px solid #9d9; | ||
| + | background-color: #dfd; | ||
| + | background-image: url(/images/3rdparty/tip.png); | ||
| + | } | ||
Latest revision as of 04:20, 21 December 2012
/* CSS placed here will be applied to all skins */ /* Note boxes from dokuwiki's note plugin */ .fancynote, .fancyimportant, .fancywarning, .fancytip { margin-top: 0.75em; margin-bottom: 0.75em; margin-left: auto; margin-right: auto; width: 85% !important; min-height: 40px; clear: both; text-align: justify; vertical-align: left; border-collapse: collapse; padding: 15px 20px 15px 80px; background-position: 20px 50%; background-repeat: no-repeat; -moz-border-radius: 15px; -khtml-border-radius: 15px; border-radius: 15px; line-height: 1.2em; } .fancynote { border: 1px solid #99D; background-color: #eef; background-image: url(/images/3rdparty/note.png); } .fancyimportant { border: 1px solid #ffd300; background-color: #ffc; background-image: url(/images/3rdparty/important.png); } .fancywarning { border: 1px solid #d99; background-color: #fdd; background-image: url(/images/3rdparty/warning.png); } .fancytip { border: 1px solid #9d9; background-color: #dfd; background-image: url(/images/3rdparty/tip.png); }