Template:Demo RecipeItemIcon/styles.css: Difference between revisions

From Eco - English Wiki
[unchecked revision][unchecked revision]
WugWugg (talk | contribs)
Created page with ".recipe-item-icon { position: relative; width: 64px; height: 64px; } .recipe-item-icon__image p { margin: 0; line-height: 0; } .recipe-item-icon__image img { display: block; } .recipe-item-icon__count { position: absolute; bottom: 0; right: 0; font-weight: bold; }"
 
WugWugg (talk | contribs)
mNo edit summary
Line 5: Line 5:
}
}


.recipe-item-icon__image p {
.recipe-item-icon__img-continer pre {
  margin: 0;
padding: 0;
  line-height: 0;
margin: 0;
}
 
.recipe-item-icon__image img {
  display: block;
}
}


Line 19: Line 15:
   right: 0;
   right: 0;
   font-weight: bold;
   font-weight: bold;
  /* TODO: fancy background shading or letters?*/
}
}

Revision as of 12:46, 19 February 2026

.recipe-item-icon {
  position: relative;
  width: 64px;
  height: 64px;
}

.recipe-item-icon__img-continer pre {
	padding: 0;
	margin: 0;
}

.recipe-item-icon__count {
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: bold;
  /* TODO: fancy background shading or letters?*/
}