Difference between revisions of "Template:Name/styles.css"

From Stardew Valley Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
}
 
}
  
/* Moved from Mobile.css, did not appear in Vector.css; May be outdated with MediaWiki update? */
+
/* Inline styling moved from template; afaik there never was an inline class in Vector, Common, or Mobile.css, though the template referred to it for some reason... */
.nametemplate img, .nametemplateinline img {
 
  max-width: none;
 
}
 
 
 
 
.nametemplateinline {
 
.nametemplateinline {
 
   margin: 2px 0 1px 2px;
 
   margin: 2px 0 1px 2px;
 
   display: inline;  
 
   display: inline;  
 
   white-space: nowrap;
 
   white-space: nowrap;
 +
}
 +
 +
/* .nametemplate img was moved from Mobile.css, did not appear in Vector.css; May be outdated with MediaWiki update? */
 +
.nametemplate img, .nametemplateinline img {
 +
  max-width: none;
 
}
 
}
  
 
/* [[Category:Template stylesheets]] */
 
/* [[Category:Template stylesheets]] */

Latest revision as of 20:29, 21 May 2021

/* Moved from Vector.css and Mobile.css */
.nametemplate {
   margin: 2px 5px 1px 2px;
   display: block;
   white-space: nowrap;
}

/* Inline styling moved from template; afaik there never was an inline class in Vector, Common, or Mobile.css, though the template referred to it for some reason... */
.nametemplateinline {
   margin: 2px 0 1px 2px;
   display: inline; 
   white-space: nowrap;
}

/* .nametemplate img was moved from Mobile.css, did not appear in Vector.css; May be outdated with MediaWiki update? */
.nametemplate img, .nametemplateinline img {
   max-width: none;
}

/* [[Category:Template stylesheets]] */