MediaWiki:Common.css/src/template/recipes.scss
This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.
Ancestors: / src / template / recipes.scss
Siblings: achievement.scss animation.scss archive_header.scss archive-box.scss chance.scss coin.scss color_box.scss crafts.scss diagram.scss doc.scss dotlist.scss dpl3.scss editcopy_notice.scss error.scss etext.scss exclusive_icon_link.scss exclusive_icons.scss expert,master,journey.scss flavor_text.scss float_file_box.scss gameText.scss getDropInfo.scss hardmode.scss hatnote.scss history.scss hp.scss info_request.scss infobox.scss infocard.scss item.scss itemlist.scss key.scss l10n_subtemplate.scss licensebox.scss living_preferences.scss loot.scss mctoc.scss msgbox.scss multi-column_list.scss na.scss navbox.scss project.scss protected.scss quotation.scss recipes.scss reflist.scss shortcut.scss sound.scss spoiler.scss summoned.scss templatedata.scss toc_limit.scss toggleBox.scss transclude.scss translation_projects.scss use_time,knockback.scss yes,no.scss
Children: (none)
/********* [[Template:Recipes]] *********/
/* match the appearance of table.terraria */
.recipes {
caption {
> b, > i{
vertical-align: middle;
}
}
.ib {
display: inline-block;
vertical-align: middle;
}
th, td {
padding: 4px 8px;
}
td.result,
td.ingredients {
white-space: nowrap;
}
td.result {
.version-note {
margin-bottom: 4px;
}
.result-note {
margin-top: 4px;
}
}
td.station {
text-align: center;
> b, > i {
vertical-align: middle;
}
}
&.nostation {
th.station, td.station {
display: none;
}
}
.i > span,
.am {
/* itemlink default as multiline */
line-height: 18px;
vertical-align: middle;
}
.am {
color: var(--theme-text-color-note);
&::before {
/* thin spaces around multiplication sign */
content: '\2009×\2009';
}
}
.ingredients ul {
margin: -3px 0;
list-style: none;
> li {
margin: 3px auto;
}
}
&.compact .result-note {
margin-left: 2px;
}
}