Difference between revisions of "MediaWiki:Common.css"
From Funtoo Linux
| Line 3: | Line 3: | ||
/* Note boxes from dokuwiki's note plugin */ | /* Note boxes from dokuwiki's note plugin */ | ||
.note, .important, .warning, .tip { | .note, .important, .warning, .tip { | ||
| − | margin-top: 0. | + | margin-top: 0.75em; |
| − | margin-bottom: 0. | + | margin-bottom: 0.75em; |
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
| − | width: | + | width: 100% !important; |
min-height: 40px; | min-height: 40px; | ||
clear: both; | clear: both; | ||
Revision as of 04:16, 21 December 2012
/* CSS placed here will be applied to all skins */ /* Note boxes from dokuwiki's note plugin */ .note, .important, .warning, .tip { margin-top: 0.75em; margin-bottom: 0.75em; margin-left: auto; margin-right: auto; width: 100% !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: 15px; -khtml-border-radius: 15px; border-radius: 15px; line-height: 1.2em; } .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); }