Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Filepage.css: Difference between revisions

MediaWiki interface page
m Making CSS-Selectors match what they should because {{Information}} was updated. Now all those templates (book, artwork) are using a wrapper div.
m also match {{Photo Information}} (.vevent)
Line 7: Line 7:
   
   
/* Make {{location}} look like part of the info template */
/* Make {{location}} look like part of the info template */
div.hproduct + .toccolours.vcard /*{{location}} directly after {{information}}*/,
 
div.hproduct + .toccolours.vcard + .toccolours.vcard /*{{location}} after {{location}} after {{information}} (ie. object loc and camera loc)*/,
/*{{location}} or {{Photo Information}} directly after {{information}}*/
.toccolours.vcard + div.hproduct > table.toccolours.vevent /*{{information}} directly after {{location}}*/ {
div.hproduct + .toccolours.vcard, div.hproduct + .toccolours.vevent,
/*{{location}} after {{location}} after {{information}} (ie. object loc and camera loc)*/
div.hproduct + .toccolours.vcard + .toccolours.vcard,  
div.hproduct + .toccolours.vevent + .toccolours.vcard,
div.hproduct + .toccolours.vcard + .toccolours.vevent,
/*{{information}} directly after {{location}}*/
.toccolours.vcard + div.hproduct > table.toccolours.vevent,
.toccolours.vevent + div.hproduct > table.toccolours.vevent {
  border-top: 0px;
  border-top: 0px;
  padding-top: 0px;
  padding-top: 0px;

Revision as of 17:46, 20 March 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 */

/*{{location}} or {{Photo Information}} directly after {{information}}*/
div.hproduct + .toccolours.vcard, div.hproduct + .toccolours.vevent,
/*{{location}} after {{location}} after {{information}} (ie. object loc and camera loc)*/
div.hproduct + .toccolours.vcard + .toccolours.vcard, 
div.hproduct + .toccolours.vevent + .toccolours.vcard,
div.hproduct + .toccolours.vcard + .toccolours.vevent,
/*{{information}} directly after {{location}}*/
.toccolours.vcard + div.hproduct > table.toccolours.vevent,
.toccolours.vevent + div.hproduct > table.toccolours.vevent {
 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;
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.