Difference between revisions of "MediaWiki:Common.css"
From Funtoo Linux
| (6 intermediate revisions 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 */ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
/* Note boxes from dokuwiki's note plugin */ | /* Note boxes from dokuwiki's note plugin */ | ||
| − | . | + | .fancynote, .fancyimportant, .fancywarning, .fancytip { |
| − | margin: 0. | + | margin-top: 0.75em; |
| + | margin-bottom: 0.75em; | ||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
| − | width: | + | width: 85% !important; |
min-height: 40px; | min-height: 40px; | ||
clear: both; | clear: both; | ||
text-align: justify; | text-align: justify; | ||
| − | vertical-align: | + | vertical-align: left; |
border-collapse: collapse; | border-collapse: collapse; | ||
padding: 15px 20px 15px 80px; | padding: 15px 20px 15px 80px; | ||
background-position: 20px 50%; | background-position: 20px 50%; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
| − | -moz-border-radius: | + | -moz-border-radius: 15px; |
| − | -khtml-border-radius: | + | -khtml-border-radius: 15px; |
| − | border-radius: | + | border-radius: 15px; |
| + | line-height: 1.2em; | ||
} | } | ||
| − | . | + | .fancynote { |
border: 1px solid #99D; | border: 1px solid #99D; | ||
background-color: #eef; | background-color: #eef; | ||
| Line 39: | Line 28: | ||
} | } | ||
| − | . | + | .fancyimportant { |
border: 1px solid #ffd300; | border: 1px solid #ffd300; | ||
background-color: #ffc; | background-color: #ffc; | ||
| Line 45: | Line 34: | ||
} | } | ||
| − | . | + | .fancywarning { |
border: 1px solid #d99; | border: 1px solid #d99; | ||
background-color: #fdd; | background-color: #fdd; | ||
| Line 51: | Line 40: | ||
} | } | ||
| − | . | + | .fancytip { |
border: 1px solid #9d9; | border: 1px solid #9d9; | ||
background-color: #dfd; | background-color: #dfd; | ||
background-image: url(/images/3rdparty/tip.png); | 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); }