Template:Item recipe/styles.css

From Space Station 14 Wiki
Revision as of 07:37, 2 September 2024 by Aliser (talk | contribs) (new iteration)
.item-recipe {
    --padding: 0.4rem;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border-color-light);
    margin: .25rem 0;
}

.item-recipe-header {
    display: flex;
    flex-direction: row;
}

.item-recipe-header > .item-recipe-product {

}

.item-recipe-header > .item-recipe-method {

}

.item-recipe-body {

}

.item-recipe-body > .item-recipe-materials {
    display: flex;
    flex-direction: column;
    gap: .15em;
}

.item-recipe-body > .item-recipe-complete-time {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: .5rem;
}

.item-recipe-notes {
    display: flex;
    flex-direction: column;
    gap: .4em;
    box-sizing: border-box;
	
	padding: var(--padding);
	
	background-color: var(--bg-color-light-x3);
    border-top: 1px solid var(--border-color);
}

.item-recipe-notes .item-recipe-note {
	font-size: smaller;
}


/* list of recipes */
.item-recipes-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
}