MediaWiki:ShortDescription.js: Difference between revisions
Show the short description under the article title |
A little more space under the short description |
||
| Line 22: | Line 22: | ||
var css = document.createElement( 'style' ); | var css = document.createElement( 'style' ); | ||
css.textContent = '.cp-shortdesc{display:block;font-family:sans-serif;font-size:14px;line-height:1.4;' + | css.textContent = '.cp-shortdesc{display:block;font-family:sans-serif;font-size:14px;line-height:1.4;' + | ||
'font-weight:normal;color:#54595d;margin:4px 0 0;}' + | 'font-weight:normal;color:#54595d;margin:4px 0 0;padding-bottom:6px;}' + | ||
'.cp-shortdesc-mobile{margin:-4px 0 8px;}'; | '.cp-shortdesc-mobile{margin:-4px 0 8px;}'; | ||
document.head.appendChild( css ); | document.head.appendChild( css ); | ||