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

From Stardew Valley Wiki
Jump to navigation Jump to search
(create page)
 
 
(2 intermediate revisions by the same user not shown)
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 {
   max-width: none;
+
   margin: 2px 0 1px 2px;
 +
  display: inline;
 +
  white-space: nowrap;
 
}
 
}
  
/* Moved from template; inline class appeared in template but not anywhere in stylesheets */
+
/* .nametemplate img was moved from Mobile.css, did not appear in Vector.css; May be outdated with MediaWiki update? */
.inline {
+
.nametemplate img, .nametemplateinline img {
   display: inline;
+
   max-width: none;
  margin-right: 0;
 
 
}
 
}
  
 
/* [[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]] */