MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (23 intermediate revisions by the same 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 */ | ||
/** | |||
* Stylesheet for GoogleTranslator extension. | |||
* | |||
* This should be added to [[MediaWiki:Common.css]] page when installing this | |||
* extension and should not be modified. You may modify the CSS code on the | |||
* MediaWiki:Common.css page to adjust padding, alignment, etc. | |||
* | |||
* @addtogroup Extensions | |||
*/ | |||
/* Pad Google Translate box in portlet in sidebar */ | |||
#p-googletranslator .pBody { | #p-googletranslator .pBody { | ||
padding-top: 5px; | |||
text-align: center; | |||
} | |||
/* Make fonts smaller for Google Translate language select */ | |||
#p-googletranslator .pBody .goog-te-gadget .goog-te-combo { | |||
font-size: 8px !important; | |||
} | |||
#google_translate_element span { | |||
display: none | |||
} | |||
#google_translate_element .goog-te-gadget { | |||
visibility: collapse; | |||
} | |||
#google_translate_element .goog-te-gadget div { | |||
visibility: visible; | |||
} | } | ||
Latest revision as of 15:40, 27 May 2014
/* CSS placed here will be applied to all skins */
/**
* Stylesheet for GoogleTranslator extension.
*
* This should be added to [[MediaWiki:Common.css]] page when installing this
* extension and should not be modified. You may modify the CSS code on the
* MediaWiki:Common.css page to adjust padding, alignment, etc.
*
* @addtogroup Extensions
*/
/* Pad Google Translate box in portlet in sidebar */
#p-googletranslator .pBody {
padding-top: 5px;
text-align: center;
}
/* Make fonts smaller for Google Translate language select */
#p-googletranslator .pBody .goog-te-gadget .goog-te-combo {
font-size: 8px !important;
}
#google_translate_element span {
display: none
}
#google_translate_element .goog-te-gadget {
visibility: collapse;
}
#google_translate_element .goog-te-gadget div {
visibility: visible;
}