MediaWiki:Filepage.css: Difference between revisions
MediaWiki interface page
More actions
m div should not be affected in such cases. Instead the child, table.toccolours.vevent |
Reverting per Template_talk:Information#Location_as_separate_table_now. The reason for these edits is no longer happening, undoing to be safe |
||
| Line 7: | Line 7: | ||
/* Make {{location}} look like part of the info template */ | /* Make {{location}} look like part of the info template */ | ||
.toccolours.vevent | .toccolours.vevent + .toccolours.vcard /*{{location}} directly after {{information}}*/, | ||
.toccolours.vevent | .toccolours.vevent + .toccolours.vcard + .toccolours.vcard /*{{location}} after {{location}} after {{information}} (ie. object loc and camera loc)*/, | ||
.toccolours.vcard + | .toccolours.vcard + .toccolours.vevent /*{{information}} directly after {{location}}*/ { | ||
border-top: 0px; | border-top: 0px; | ||
padding-top: 0px; | padding-top: 0px; | ||
Revision as of 11:40, 29 January 2012
/* CSS placed here is included on the file description page, also included on File-pages of Commons files on the local wikis */
/* Note that there are many non-Wikimedia / non-Wikipedia local wikis as well that use Commons as their repository! */
/* http://www.mediawiki.org/wiki/InstantCommons. Do not assume any language, direction, environment or Skin here. */
/* Hide TOC on file-pages */
.ns-6 #toc { display: none !important; }
/* Make {{location}} look like part of the info template */
.toccolours.vevent + .toccolours.vcard /*{{location}} directly after {{information}}*/,
.toccolours.vevent + .toccolours.vcard + .toccolours.vcard /*{{location}} after {{location}} after {{information}} (ie. object loc and camera loc)*/,
.toccolours.vcard + .toccolours.vevent /*{{information}} directly after {{location}}*/ {
border-top: 0px;
padding-top: 0px;
margin-top: -8px;
}
/* Used in several license and collection info templates in the File namespace */
/* such as [[Template:PermissionOTRS/layout]] */
.messagebox {
border: 1px solid #aaa;
background: #f9f9f9;
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
text-align: justify;
}